SELECT table_schema AS "Database", ROUND(SUM(data_length+index_length)/1024/1024,2) AS "Size (MB)" FROM information_schema.TABLES GROUP BY table_schema;
You are currently browsing the archive for the MySQL category.
Martin Lormes on Wordpress, PHP, Nagios, XML, FileMaker, BlackBerry, Arduino
You are currently browsing the archive for the MySQL category.
SELECT table_schema AS "Database", ROUND(SUM(data_length+index_length)/1024/1024,2) AS "Size (MB)" FROM information_schema.TABLES GROUP BY table_schema;
Recent Comments