From 5e45211a64149b3c659b90ff2de6fa982a5a93ed Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sat, 4 May 2024 14:17:33 +0200 Subject: Adding upstream version 15.5. Signed-off-by: Daniel Baumann --- doc/src/sgml/html/view-pg-shmem-allocations.html | 52 ++++++++++++++++++++++++ 1 file changed, 52 insertions(+) create mode 100644 doc/src/sgml/html/view-pg-shmem-allocations.html (limited to 'doc/src/sgml/html/view-pg-shmem-allocations.html') diff --git a/doc/src/sgml/html/view-pg-shmem-allocations.html b/doc/src/sgml/html/view-pg-shmem-allocations.html new file mode 100644 index 0000000..90d270c --- /dev/null +++ b/doc/src/sgml/html/view-pg-shmem-allocations.html @@ -0,0 +1,52 @@ + +54.26. pg_shmem_allocations

54.26. pg_shmem_allocations

+ 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 + Section 38.10.10. +

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

Table 54.26. pg_shmem_allocations Columns

+ Column Type +

+

+ Description +

+ name text +

+

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

+ off int8 +

+

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

+ size int8 +

+

+ Size of the allocation +

+ allocated_size int8 +

+

+ Size of the allocation including padding. For anonymous + allocations, no information about padding is available, so the + size and allocated_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 + 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. +

\ No newline at end of file -- cgit v1.2.3