Information Schema INDEX_STATISTICS Table
The Information Schema INDEX_STATISTICS table provides statistics on index usage, helping to identify unused indexes and optimize performance.
Field
Type
Notes
Example
SELECT * FROM information_schema.INDEX_STATISTICS
WHERE TABLE_NAME = "author";
+--------------+------------+------------+-----------+
| TABLE_SCHEMA | TABLE_NAME | INDEX_NAME | ROWS_READ |
+--------------+------------+------------+-----------+
| books | author | by_name | 15 |
+--------------+------------+------------+-----------+PreviousInformation Schema GLOBAL_VARIABLES and SESSION_VARIABLES TablesNextInformation Schema KEY_CACHES Table
Last updated
Was this helpful?

