Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- SELECT
- table_schema 'Database Name',
- SUM(data_length + index_length) 'Size in Bytes',
- ROUND(SUM(data_length + index_length) / 1024 / 1024, 2) 'Size in MiB'
- FROM information_schema.tables
- GROUP BY table_schema;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement