Can somebody please help me with a query that lists the most used tables in a MySQL database? Or how can i find out the most used tables in the database?



2 Answers 2


show open tables might help you or you can view queries from general log if enabled. You can also check binary logs from mysqlbinlog utility for further analysis.

Hope it help.


MYSQL WorkBench is available from MYSQL Downloads. Very useful, once you install it go to Performance > Performance Reports > Database Schema Statistics > Schema Tables Statistics. You can see all tables that been used, sort out the list by number of I/O Reads, for example and then you can see your most frequently read tables. You can sort a list of tables by number of updated rows/inserted rows/update time and etc. MYSQL Workbench is a very useful tool.

  • Thanks. Is there a way to see these statistics over time? we have some old tables that we don't use anymore. I want to find them. Commented Aug 19, 2021 at 14:41

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.