mysql - How to find out tables size in a database -


this question has answer here:

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 

read here


Comments

Popular posts from this blog

node.js - Bad Request - node js ajax post -

Why does Ruby on Rails generate add a blank line to the end of a file? -

keyboard - Smiles and long press feature in Android -