you are here: codestackercodes [RSS]get database's size

get database's size

select table_schema "Database Name", round(sum(data_length + index_length) / 1024 / 1024, 1) "Database Size (MB)" 
from information_schema.TABLES group by table_schema;

Comments