Movatterモバイル変換


[0]ホーム

URL:



Facebook
Postgres Pro
Facebook
Downloads
52.26. pg_shmem_allocations
Prev UpChapter 52. System ViewsHome Next

52.26. pg_shmem_allocations#

Thepg_shmem_allocations view shows allocations made from the server's main shared memory segment. This includes both memory allocated byPostgres Pro 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 52.26. 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 in bytes

allocated_sizeint8

Size of the allocation in bytes 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 or roles with privileges of thepg_read_all_stats role.


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

[8]ページ先頭

©2009-2025 Movatter.jp