Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

mysql size of database

SELECT table_schema "Data Base Name", sum( data_length + index_length ) / (1024 * 1024) "Data Base Size in MB" FROM information_schema.TABLES GROUP BY table_schema ;
Source by jonathanstreet.com #
 
PREVIOUS NEXT
Tagged: #mysql #size #database
ADD COMMENT
Topic
Name
9+1 =