memo

memo dayo.

DBの論理使用量を調べる

SELECT
 ROUND(SUM(data_length)/1024/1024) AS mb
 FROM information_schema.tables
 WHERE table_schema = 'aaa'
;