Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Not a Bug
-
10.2.27, 10.1.41, 10.3.18, 10.4.8
-
None
Description
InnoDB page compression is a bit awkward, because it supports a bunch of different page compression algorithms, but every build doesn't support every compression algorithm.
There is not really a great way to check which page compression algorithms a specific build supports.
Maybe we should add a status variable that contains a list of supported page compression algorithms?
Attachments
Issue Links
- relates to
-
MDEV-20672 Usage message for innodb_compression_algorithm system variable is missing "snappy"
-
- Closed
-
-
MDEV-18586 Clarify benefits of compression methods (ROW_FORMAT=COMPRESSED vs PAGE_COMPRESSED=1)
-
- Closed
-
There are actually already individual status variables for each compression algorithm:
SHOW GLOBAL STATUS WHERE Variable_name IN ('Innodb_have_lz4', 'Innodb_have_lzo', 'Innodb_have_lzma', 'Innodb_have_bzip2', 'Innodb_have_snappy');
+--------------------+-------+
| Variable_name | Value |
+--------------------+-------+
| Innodb_have_lz4 | OFF |
| Innodb_have_lzo | OFF |
| Innodb_have_lzma | ON |
| Innodb_have_bzip2 | OFF |
| Innodb_have_snappy | OFF |
+--------------------+-------+
5 rows in set (0.001 sec)