, round((p.heap_blks_total * current_setting('block_size')::int)/1024.0/1024) AS tab_mb , round(pg_total_relation_size(relid)/1024.0/1024) AS ttl_mb , round((p.heap ...
pg_size_pretty(pg_total_relation_size(relid)) as total_size, pg_size_pretty(pg_total_relation_size(relid) - pg_indexes_size(relid)) as table_size, pg_size_pretty(pg ...