メモ用
mysqlでコピペして動作
SELECT
table_schema, sum(data_length) /1024/1024 AS mb
FROM
information_schema.tables
GROUP BY
table_schema
ORDER BY
sum(data_length+index_length) DESC;
Go to list of users who liked
メモ用
mysqlでコピペして動作
SELECT
table_schema, sum(data_length) /1024/1024 AS mb
FROM
information_schema.tables
GROUP BY
table_schema
ORDER BY
sum(data_length+index_length) DESC;
Register as a new user and use Qiita more conveniently
Go to list of users who liked