INNODB_CMP_PER_INDEX_RESET tables contain
status information on operations related to
InnoDB tables and indexes, with separate
statistics for each combination of database, table, and index, to
help you evaluate the performance and usefulness of compression
for specific tables.
For a compressed
InnoDB table, both the table
data and all the secondary
indexes are compressed. In this context, the table data is
treated as just another index, one that happens to contain all the
columns: the clustered
Table 20.2 Columns of
|Database containing the applicable table.|
|Table to monitor for compression statistics.|
|Index to monitor for compression statistics.|
|Number of compression operations attempted. Pages are compressed whenever an empty page is created or the space for the uncompressed modification log runs out.|
|Number of successful compression operations. Subtract from the
|Total amount of CPU time, in seconds, used for compressing data in this index.|
|Number of uncompression operations performed. Compressed
|Total amount of CPU time, in seconds, used for uncompressing data in this index.|
Use these tables to measure the effectiveness of
specific tables, indexes, or both.
You must have the
PROCESS privilege to
query these tables.
Because collecting separate measurements for every index
imposes substantial performance overhead, enable the
configuration option before performing the operations on
compressed tables that you want to monitor.
For usage information, see
Section 126.96.36.199, “Monitoring Compression at Runtime” and
Section 188.8.131.52.1.3, “Using the Compression Information Schema Tables”.
For general information about
compression, see Section 14.2.7, “
InnoDB Compressed Tables”.
Copyright © 1997, 2014, Oracle and/or its affiliates. All rights reserved. Legal Notices