<\/P>
SELECT
schema_naam,
relnaam,
pg_size_pretty(tabel_grootte) ALS grootte,
tabel_grootte<\/P>
VAN (
SELECT
pg_catalog.pg_namespace.nspname ALS schema_naam,
relnaam,
pg_relation_size(pg_catalog.pg_class.oid) ALS tabel_grootte<\/P>
VAN pg_catalog.pg_class
JOIN pg_catalog.pg_namespace OP relnamespace = pg_catalog.pg_namespace.oid
) t
WAAR schema_naam NIET LIJKT OP 'pg_%'
SORTEER OP tabel_grootte DESC;<\/P>