Storage-engine independent column compression

You are viewing an old version of this article. View the current version here.
MariaDB starting with 10.3.2

Storage-engine independent support for column compression was introduced in MariaDB 10.3.2

Storage-engine independent column compression enables TINYBLOB, BLOB, MEDIUMBLOB, LONGBLOB, TINYTEXT, TEXT, MEDIUMTEXT, LONGTEXT, VARCHAR and VARBINARY columns to be compressed.

This is performed by means of a new COMPRESSED column attribute: COMPRESSED[=<compression_method>]

New System Variables

  • column_compression_threshold
  • column_compression_zlib_level
  • column_compression_zlib_strategy
  • column_compression_zlib_wrap

New Status Variables

  • Column_compressions
  • Column_decompressions

Limitations

  • The only supported method currently is zlib,
  • The CSV storage engine stores data uncompressed on-disk even if the COMPRESSED attribute is present
  • It is not possible to create indexes over compressed columns.

Comments

Comments loading...
Content reproduced on this site is the property of its respective owners, and this content is not reviewed in advance by MariaDB. The views, information and opinions expressed by this content do not necessarily represent those of MariaDB or any other party.