52.67. pg_backend_memory_contexts

pg_backend_memory_contextsビューは、現在のセッションにアタッチされているサーバプロセスのすべてのメモリコンテキストを表示します。

pg_backend_memory_contextsの各1行が各々のメモリコンテキストを格納します。

表52.68 pg_backend_memory_contexts Columns

列 型

説明

name text

メモリコンテキストの名前

ident text

メモリコンテキストの識別情報。このフィールドは1024バイトで切り捨てられる

parent text

このメモリコンテキストの親の名前

level int4

コンテキストツリーにおけるTopMemoryContextからの距離

total_bytes int8

このメモリコンテキストで確保した合計バイト数

total_nblocks int8

このメモリコンテキストで確保した合計ブロック数

free_bytes int8

バイト単位の空き領域

free_chunks int8

空きチャンクの数

used_bytes int8

バイト単位の使用領域


デフォルトではpg_backend_memory_contextsビューはスーパユーザのみが読み取り専用でアクセスできます