SELECT schemaname,
relname,
pg_size_pretty(pg_table_size(relid))
from pg_stat_user_tables
order by pg_table_size(relid) desc ,schemaname;