mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
Bug#16067973 DROP TABLE SLOW WHEN IT DECOMPRESS COMPRESSED-ONLY PAGES
buf_page_get_gen(): Do not attempt to decompress a compressed-only page when mode == BUF_PEEK_IF_IN_POOL. This mode is only being used by btr_search_drop_page_hash_when_freed(). There cannot be any adaptive hash index pointing to a page that does not exist in uncompressed format in the buffer pool. innodb_buffer_pool_evict_update(): New function for debug builds, to handle SET GLOBAL innodb_buffer_pool_evicted='uncompressed' by evicting all uncompressed page frames of compressed tablespaces from the buffer pool. rb#1873 approved by Jimmy Yang
This commit is contained in:
@ -0,0 +1,7 @@
|
||||
SELECT @@global.innodb_buffer_pool_evict;
|
||||
@@global.innodb_buffer_pool_evict
|
||||
|
||||
SET GLOBAL innodb_buffer_pool_evict = 'uncompressed';
|
||||
SELECT @@global.innodb_buffer_pool_evict;
|
||||
@@global.innodb_buffer_pool_evict
|
||||
|
@ -0,0 +1,10 @@
|
||||
-- source include/have_innodb_plugin.inc
|
||||
# This is a debug variable for now
|
||||
-- source include/have_debug.inc
|
||||
|
||||
SELECT @@global.innodb_buffer_pool_evict;
|
||||
|
||||
SET GLOBAL innodb_buffer_pool_evict = 'uncompressed';
|
||||
|
||||
# Should always be empty.
|
||||
SELECT @@global.innodb_buffer_pool_evict;
|
Reference in New Issue
Block a user