How do I find the size of my database?
Posted: Wed Sep 05, 2012 3:07 pm
Hi,
does anyone knows the command to show the size of the SQL-database?
thanks,
does anyone knows the command to show the size of the SQL-database?
thanks,
Forum of Webmaster2020.com
https://www.webmaster2020.com/forum/
Code: Select all
SELECT table_schema "database_name",sum( data_length + index_length ) / 1024 /1024 "Data Base Size in MB" FROM information_schema.TABLES GROUP BY table_schema;