Anonymous Asked in Cars &Transportation ยท 2 weeks ago

How do I find the size of a table in MySQL?

Contents
This can be accomplished easily with the following query: SELECT TABLE_SCHEMA AS `Database`, TABLE_NAME AS `Table`, ROUND((DATA_LENGTH + INDEX_LENGTH) / 1024 / 1024) AS `Size (MB)` FROM information_schema.


Related Questions

Relevance
Write us your question, the answer will be received in 24 hours