pg_total_relation_size ( regclass ) → bigintComputes the total disk space used by the specified table, including all indexes and TOAST data. The result is equivalent to
pg_table_size + pg_indexes_size.Computes the total disk space used by the specified table, including all indexes and TOAST data.
pg_total_relation_size ( regclass ) → bigintComputes the total disk space used by the specified table, including all indexes and TOAST data. The result is equivalent to
pg_table_size + pg_indexes_size.Definition snapshot: 2026-09-14T13:14:25.684213+00:00@99e6866c · English manual source