mysql - How to find out tables size in a database -
this question has answer here:
- how size of mysql database? 3 answers
i have large mysql database. size more expected.
how can find size of tables ? need find table makes database size huge.
thank you.
you can below.
select table_schema "data base name", sum( data_length + index_length ) / 1024 / 1024 "data base size in mb" information_schema.tables group table_schema
Comments
Post a Comment