CANNOT ENABLE InnoDB PAGE COMPRESSION ON LINUX (GENERIC MySQL BINARIES)
(Doc ID 2176999.1)
Last updated on MARCH 12, 2018
Applies to:MySQL Server - Version 5.7 and later
Information in this document applies to any platform.
Describe why when using MySQL generic binaries, it is not possible to enabled InnoDB Page compression, even setting the page and block size as described in the documentation ( innodb_page_size=16k and file system (ext4) block size set to 4k) and the system is part of the supported platforms.
As a symptom of this issue we can see in MySQL log the below warning
| Warning | 138 | InnoDB: Punch hole not supported by the file system or the tablespace page size is not large enough. Compression disabled |
How to Check the block size:
sudo tune2fs -l /dev/fioa | egrep -i 'block size|features'
Filesystem features: has_journal ext_attr resize_inode dir_index filetype needs_recovery extent flex_bg sparse_super large_file huge_file uninit_bg dir_nlink extra_isize
Block size: 4096
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!
In this Document