How to get database size in SQLyog

131 views Asked by At

Other than using MySQL Workbench, or PHPMyAdmin, or mysql syntax. Is there a way I can look at the database size in SQLyog?

I'm appreciate the help, thanks.

1

There are 1 answers

1
Asgar On BEST ANSWER

You can try the following:

SELECT 
table_schema AS 'Database Name',
ROUND(SUM(data_length + index_length) / 1024 / 1024, 1) AS  "Size In MB" 
FROM information_schema.tables 
GROUP BY table_schema;