MySQL: Check size of DB

Posted . Visible to the public.
SELECT table_schema 'DB Name', 
        round(Sum(data_length + index_length) / 1024 / 1024, 1) 'DB size in MB'
FROM   information_schema.tables 
GROUP  BY table_schema; 
Luis Romero
Posted by Luis Romero to Custom Exposure (2014-08-27 18:28)