- 14.9.1 Overview of Table Compression
- 14.9.2 Enabling Compression for a Table
- 14.9.3 Tuning Compression for InnoDB Tables
- 14.9.4 Monitoring InnoDB Table Compression at Runtime
- 14.9.5 How Compression Works for InnoDB Tables
- 14.9.6 Compression for OLTP Workloads
- 14.9.7 SQL Compression Syntax Warnings and Errors
By using the SQL syntax and MySQL configuration options for compression, you can create tables where the data is stored in compressed form. Compression can help to improve both raw performance and scalability. The compression means less data is transferred between disk and memory, and takes up less space on disk and in memory. The benefits are amplified for tables with secondary indexes, because index data is compressed also. Compression can be especially important for SSD storage devices, because they tend to have lower capacity than HDD devices.