Movatterモバイル変換


[0]ホーム

URL:



Facebook
Postgres Pro
Facebook
Downloads
50.87. pg_shmem_allocations
Prev UpChapter 50. System CatalogsHome Next

50.87. pg_shmem_allocations

Thepg_shmem_allocations view shows allocations made from the server's main shared memory segment. This includes both memory allocated bypostgres itself and memory allocated by extensions using the mechanisms detailed inSection 36.10.10.

Note that this view does not include memory allocated using the dynamic shared memory infrastructure.

Table 50.88. pg_shmem_allocations Columns

Column Type

Description

nametext

The name of the shared memory allocation. NULL for unused memory and<anonymous> for anonymous allocations.

offint8

The offset at which the allocation starts. NULL for anonymous allocations, since details related to them are not known.

sizeint8

Size of the allocation

allocated_sizeint8

Size of the allocation including padding. For anonymous allocations, no information about padding is available, so thesize andallocated_size columns will always be equal. Padding is not meaningful for free memory, so the columns will be equal in that case also.


Anonymous allocations are allocations that have been made withShmemAlloc() directly, rather than viaShmemInitStruct() orShmemInitHash().

By default, thepg_shmem_allocations view can be read only by superusers.


Prev Up Next
50.86. pg_shadow Home 50.88. pg_stats
pdfepub
Go to Postgres Pro Standard 13
By continuing to browse this website, you agree to the use of cookies. Go toPrivacy Policy.

[8]ページ先頭

©2009-2025 Movatter.jp