SELECT table_schema as `Database`, table_name AS `Table`, round(((data_length + index_length) / 1024 / 1024), 2) `Size in MB` FROM information_schema.TABLES ORDER BY (data_length + index_length) DESC;
I can run this query to get the sizes of all tables in a MySQLdatabase: show table status from myDatabaseName; I would like some help in understanding the results. I am looking for tables with the...
SELECT table_schema as `Database`, table_name AS `Table`, round(((data_length + index_length) / 1024 / 1024), 2) `Size in MB` FROM information_schema.TABLES ORDER BY (data_length + index_length) DESC;
cknbstr のブックマーク 2017/04/04 10:25
このブックマークにはスターがありません。
最初のスターをつけてみよう!
How to get the sizes of the tables of a MySQL database?
stackoverflow.com2014/04/22
I can run this query to get the sizes of all tables in a MySQL database: show table status from myDatabaseName; I would like some help in understanding the results. I am looking for tables with the...
3 人がブックマーク・1 件のコメント
\ コメントが サクサク読める アプリです /