Information Schema TABLE_STATISTICS Table
The Information Schema TABLE_STATISTICS table provides usage statistics for tables, such as the number of rows read or changed.
Field
Type
Notes
Example
SELECT * FROM INFORMATION_SCHEMA.TABLE_STATISTICS WHERE TABLE_NAME='user';
+--------------+------------+-----------+--------------+------------------------+
| TABLE_SCHEMA | TABLE_NAME | ROWS_READ | ROWS_CHANGED | ROWS_CHANGED_X_INDEXES |
+--------------+------------+-----------+--------------+------------------------+
| mysql | user | 5 | 2 | 2 |
+--------------+------------+-----------+--------------+------------------------+Last updated
Was this helpful?

