--- title: "pg_dsm_registry_allocations" id: view-pg-dsm-registry-allocations pg_version: "20devel" --- ## 53.8. pg_dsm_registry_allocations The pg_dsm_registry_allocations view shows shared memory allocations tracked in the dynamic shared memory (DSM) registry. This includes memory allocated by extensions using the mechanisms detailed in [Section 36.10.11.2](xfunc-c.md#xfunc-shared-addin-after-startup). **pg_dsm_registry_allocations Columns** | Column Type | Description | | --- | --- | | `name` `text` | The name of the allocation in the DSM registry. | | `type` `text` | The type of allocation. Possible values are `segment`, `area`, and `hash`, which correspond to dynamic shared memory segments, areas, and hash tables, respectively. | | `size` `int8` | Size of the allocation in bytes. NULL for entries that failed initialization. | By default, the pg_dsm_registry_allocations view can be read only by superusers or roles with privileges of the `pg_read_all_stats` role.