how to check size of each talbe in database mysql code example
Example: check size table
SELECT pg_size_pretty( pg_total_relation_size('tablename') );
(postgres)
SELECT pg_size_pretty( pg_total_relation_size('tablename') );
(postgres)