O'Reilly logo

Mastering MariaDB by Federico Razzoli

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Monitoring the InnoDB compression performance

The information_schema database contains some tables that can be used to monitor the performance of the InnoDB compressed tables. All these tables have their names starting with INNODB_CMP, so they can be listed with the following query:

MariaDB [information_schema]> SHOW TABLES LIKE 'INNODB_CMP%';
+--------------------------------------------+
| Tables_in_information_schema (INNODB_CMP%) |
+--------------------------------------------+
| INNODB_CMP                                 |
| INNODB_CMP_RESET                           |
| INNODB_CMP_PER_INDEX                       |
| INNODB_CMPMEM_RESET                        |
| INNODB_CMP_PER_INDEX_RESET                 |
| INNODB_CMPMEM                              |
+--------------------------------------------+
6 rows in set (0.00 sec)

The main InnoDB tables are:

  • INNODB_CMPMEM: This table stores ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required