Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

mysql size of table

SELECT table_name, round(((data_length + index_length) / (1024*1024)),2) as "size in megs" FROM information_schema.tables WHERE table_schema = "named_db";
Source by jonathanstreet.com #
 
PREVIOUS NEXT
Tagged: #mysql #size #table
ADD COMMENT
Topic
Name
6+7 =