Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

show size of all tables postgres

select table_name, pg_relation_size(quote_ident(table_name))
from information_schema.tables
where table_schema = 'public'
order by 2
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #show #size #tables #postgres
ADD COMMENT
Topic
Name
9+9 =