pg_dsm_registry_allocations — PostgreSQL system view

The PostgreSQL pg_dsm_registry_allocations system view: full column reference (names, types, descriptions), catalog relationships and version support.

Summary

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 xfunc_shared_addin_after_startup.

(Description quoted from the official PostgreSQL documentation.)

Columns

The pg_dsm_registry_allocations system view exposes the following columns (names, types and descriptions are taken verbatim from the PostgreSQL documentation):

  • 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.

Version applicability

Present in PostgreSQL 19 (verified against each release’s documentation). This object was introduced in PostgreSQL 19.

Related & references

Reference: PostgreSQL documentation — pg_dsm_registry_allocations.