SHOW INDEX_STATISTICS
View usage statistics for table indexes. This statement displays how often specific indexes are used, helping optimize query performance.
Syntax
SHOW INDEX_STATISTICSDescription
Example
SHOW INDEX_STATISTICS;
+--------------+-------------------+------------+-----------+
| Table_schema | Table_name | Index_name | Rows_read |
+--------------+-------------------+------------+-----------+
| test | employees_example | PRIMARY | 1 |
+--------------+-------------------+------------+-----------+Last updated
Was this helpful?

