SYSTEM CATALOGS / SYSTEM VIEWS
pg_shmem_allocations
Read PG 18 manual ↗The pg_shmem_allocations view shows allocations made from the server's main shared memory segment.
- Kind
- System views
- Columns in this snapshot
- 4
- Definition source
- English manual
Columns 4
| Column | Type | Description / reference |
|---|---|---|
name | text | The name of the shared memory allocation. NULL for unused memory and <anonymous> for anonymous allocations. |
off | int8 | The offset at which the allocation starts. NULL for anonymous allocations, since details related to them are not known. |
size | int8 | Size of the allocation in bytes |
allocated_size | int8 | Size of the allocation in bytes including padding. For anonymous allocations, no information about padding is available, so the size and allocated_size columns will always be equal. Padding is not meaningful for free memory, so the columns will be equal in that case also. |
Column history across versions
Version history 6
- PG 17 → 18changed
- PG 16 → 17changed
- PG 15 → 16changed
- PG 14 → 15changed
- PG 13 → 14changed
- PG 12 → 13added
Definition snapshot: english-manuals:3cb093d4bb5e0e98d8c9a361c2e… · English manual source