The INFORMATION_SCHEMA INNODB_TABLESTATS View +-------+---------+---------------+-------+------------+ The  INNODB_TABLESTATS  table provides a view of low-level status information about  InnoDB  tables. This data is used by the MySQL optimizer to calculate which index to use when querying an  InnoDB  table. This information is derived from in-memory data structures rather than data stored on disk. There is no corresponding internal  InnoDB  system table. InnoDB  tables are represented in this view if they have been opened since the last server restart and have not aged out of the table cache. Tables for which persistent stats are available are always represented in this view. Table statistics are updated only for  DELETE  or  UPDATE  operations that modify indexed columns. Statistics are not updated by operations that modify only nonindexed columns. ANALYZE TABLE  clears table statistics and sets the  STATS_INITIALIZED  column to  Uninitialized . Statistics are collected again the next time the table is accessed. For related usage information and examples, see Section 15.15.3, “InnoDB INFORMATION_SCHEMA Schema Object Tables” . The  INNODB_TABLESTATS  table has these columns: An identifier representing the table for which statistics are available; the same value as INNODB_TABLES.TABLE_ID . The name of the table; the same value as  INNODB_TABLES.NAME . The value is  Initialized  if the statistics are already collected,  Uninitialized  if not. The current estimated number of rows in the table. Updated after each DML operation. The value could be imprecise if uncommitted transactions are inserting into or deleting from the table. The number of pages on disk that store the clustered index, which holds the  InnoDB  table data in primary key order. This value might be null if no statistics are collected yet for the table. The number of pages on disk that store all secondary indexes for the table. This value might be null if no statistics are collected yet for the table. 4879 Notes 26.4.28 The INFORMATION_SCHEMA INNODB_TABLESTATS View •You must have the  PROCESS  privilege to query this table. •Use the  INFORMATION_SCHEMA COLUMNS  table or the  SHOW COLUMNS  statement to view additional information about the columns of this table, including data types and default values. • TABLE_ID • NAME • STATS_INITIALIZED • NUM_ROWS • CLUST_INDEX_SIZE • OTHER_INDEX_SIZE