From 9bc874a594edbc0e124131d0ff30b44f5fade52d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marko=20M=C3=A4kel=C3=A4?= Date: Tue, 10 Nov 2020 17:21:16 +0200 Subject: MDEV-23497 Make ROW_FORMAT=COMPRESSED read-only by default Let us introduce the parameter innodb_read_only_compressed that is ON by default, making any ROW_FORMAT=COMPRESSED tables read-only. I developed the ROW_FORMAT=COMPRESSED format based on Heikki Tuuri's rough design between 2005 and 2008. It might have been a good idea back then, but no proper benchmarks were ever run to validate the design or the implementation. The format has been more or less obsolete for years. It limits innodb_page_size to 16384 bytes (the default), and instant ALTER TABLE is not supported. This is the first step towards deprecating and removing write support for ROW_FORMAT=COMPRESSED tables. --- mysql-test/include/innodb_page_size_small.combinations | 3 +++ 1 file changed, 3 insertions(+) (limited to 'mysql-test/include/innodb_page_size_small.combinations') diff --git a/mysql-test/include/innodb_page_size_small.combinations b/mysql-test/include/innodb_page_size_small.combinations index a9b7c7ce14d..f181863603a 100644 --- a/mysql-test/include/innodb_page_size_small.combinations +++ b/mysql-test/include/innodb_page_size_small.combinations @@ -1,8 +1,11 @@ [16k] innodb-page-size=16K +skip-innodb-read-only-compressed [8k] innodb-page-size=8K +skip-innodb-read-only-compressed [4k] innodb-page-size=4K +skip-innodb-read-only-compressed -- cgit v1.2.1