From 311bcfc6b3acdd6fd152798c7f287ddf74fa2a98 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Tue, 16 Apr 2024 21:46:48 +0200 Subject: Adding upstream version 15.4. Signed-off-by: Daniel Baumann --- .../sgml/html/view-pg-backend-memory-contexts.html | 62 ++++++++++++++++++++++ 1 file changed, 62 insertions(+) create mode 100644 doc/src/sgml/html/view-pg-backend-memory-contexts.html (limited to 'doc/src/sgml/html/view-pg-backend-memory-contexts.html') diff --git a/doc/src/sgml/html/view-pg-backend-memory-contexts.html b/doc/src/sgml/html/view-pg-backend-memory-contexts.html new file mode 100644 index 0000000..3efa6ec --- /dev/null +++ b/doc/src/sgml/html/view-pg-backend-memory-contexts.html @@ -0,0 +1,62 @@ + +54.4. pg_backend_memory_contexts

54.4. pg_backend_memory_contexts

+ The view pg_backend_memory_contexts displays all + the memory contexts of the server process attached to the current session. +

+ pg_backend_memory_contexts contains one row + for each memory context. +

Table 54.4. pg_backend_memory_contexts Columns

+ Column Type +

+

+ Description +

+ name text +

+

+ Name of the memory context +

+ ident text +

+

+ Identification information of the memory context. This field is truncated at 1024 bytes +

+ parent text +

+

+ Name of the parent of this memory context +

+ level int4 +

+

+ Distance from TopMemoryContext in context tree +

+ total_bytes int8 +

+

+ Total bytes allocated for this memory context +

+ total_nblocks int8 +

+

+ Total number of blocks allocated for this memory context +

+ free_bytes int8 +

+

+ Free space in bytes +

+ free_chunks int8 +

+

+ Total number of free chunks +

+ used_bytes int8 +

+

+ Used space in bytes +


+ By default, the pg_backend_memory_contexts view can be + read only by superusers or roles with the privileges of the + pg_read_all_stats role. +

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