1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-07 00:04:31 +03:00

MDEV-12353: Deprecate and ignore innodb_log_compressed_pages

page_zip_compress_write_log_no_data(): Remove.
We no longer write the MLOG_ZIP_PAGE_COMPRESS_NO_DATA record.
Instead, we will write MLOG_ZIP_PAGE_COMPRESS records.
This commit is contained in:
Marko Mäkelä
2019-12-09 15:55:48 +02:00
parent 600eae9179
commit 5bea43f5e0
11 changed files with 73 additions and 171 deletions

View File

@@ -52,24 +52,22 @@ SELECT
database_name,
table_name,
index_name,
CASE WHEN compress_ops=47 and @@innodb_compression_level IN (4,8,9) THEN 65
ELSE compress_ops END as compress_ops,
CASE WHEN compress_ops_ok=47 and @@innodb_compression_level IN (4,8,9) THEN 65
ELSE compress_ops_ok END as compress_ops_ok,
compress_ops,
compress_ops_ok,
uncompress_ops
FROM information_schema.innodb_cmp_per_index
ORDER BY 1, 2, 3;
database_name test
table_name t
index_name b
compress_ops 43
compress_ops_ok 43
compress_ops 52
compress_ops_ok 52
uncompress_ops 0
database_name test
table_name t
index_name PRIMARY
compress_ops 65
compress_ops_ok 65
compress_ops 64
compress_ops_ok 64
uncompress_ops 0
DROP TABLE t;
SET GLOBAL innodb_cmp_per_index_enabled=@save_enabled;