check size of table sql
snippet in sql

check size of table sql

user2329

SELECT pg_size_pretty( pg_total_relation_size('tablename') );
(postgres)