postgresql_16:9.6.29 pg_freespacemap — examine the free space map
PostgreSQL 16 > Appendixes > Additional Supplied Modules and Extensions > pg_freespacemap — examine the free space map
The pg_freespacemap module provides a means for examining the free space map (see postgresql_16:8.22.3) (FSM). It provides a function called pg_freespace, or two overloaded functions, to be precise. The functions show the value recorded in the free space map for a given page, or for all pages in the relation.
By default use is restricted to superusers and roles with privileges of the pg_stat_scan_tables role. Access may be granted to others using GRANT.
Subsections
- postgresql_16:9.6.29.1 Functions
- postgresql_16:9.6.29.2 Sample Output
- postgresql_16:9.6.29.3 Author