MySQL. Table size

Mar 17, 2014 16:48


SELECT table_name AS table_name, engine, ROUND(data_length/1024/1024,2) AS total_size_mb, table_rows FROM information_schema.tables WHERE table_schema=DATABASE(); //or just table_schema='table_name';
Originally published at blog.trichev.com. You can comment here or there.

unix, работа, it, uncategorized, mysql, linux, work

Previous post Next post
Up