Movatterモバイル変換


[0]ホーム

URL:



Facebook
Postgres Pro
Facebook
Downloads
51.90. pg_shmem_allocations
Prev UpChapter 51. System CatalogsHome Next

51.90. 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 37.10.10.

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

Table 51.91. 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
51.89. pg_shadow Home 51.91. pg_stats
pdfepub
Go to Postgres Pro Standard 14
By continuing to browse this website, you agree to the use of cookies. Go toPrivacy Policy.

[8]ページ先頭

©2009-2025 Movatter.jp