pg_table_size ( regclass ) → bigintComputes the disk space used by the specified table, excluding indexes (but including its TOAST table if any, free space map, and visibility map).
FUNCTIONS / SYSTEM ADMINISTRATION FUNCTIONS
pg_table_size
Read PG 18 manual ↗Computes the disk space used by the specified table, excluding indexes (but including its TOAST table if any, free space map, and visibility map).
Signatures & examples
Version history 2
- PG 12 → 13changed
- PG 9.0 → 9.1changed
Definition snapshot: 2026-09-14T13:14:25.684213+00:00@99e6866c · English manual source