The pg_shmem_allocations view shows allocations
made from the server's main shared memory segment. This includes both
memory allocated by PostgreSQL itself and memory
allocated by extensions using the mechanisms detailed in
Memória compartilhada.
Note that this view does not include memory allocated using the dynamic shared memory infrastructure.
Tabela 53.27. Colunas de pg_shmem_allocations
Coluna Tipo de dados Descrição |
|---|
The name of the shared memory allocation. NULL for unused memory
and |
The offset at which the allocation starts. NULL for anonymous allocations, since details related to them are not known. |
Size of the allocation in bytes |
Size of the allocation in bytes including padding. For anonymous
allocations, no information about padding is available, so the
|
Anonymous allocations are allocations that have been made
with ShmemAlloc() directly, rather than via
ShmemInitStruct() or
ShmemInitHash().
By default, the pg_shmem_allocations view can be
read only by superusers or roles with privileges of the
pg_read_all_stats role.