track_activity_query_size

タイプ: integer
デフォルト: 1024 (1kB)
分: 100 (100B)
最大: 102400 (100kB)
単位: B
コンテキスト: postmaster
再起動: true

pg_stat_activity.queryフィールドに対し、それぞれの活動中のセッションで現在実行されているコマンドを追跡記録するため予約されるメモリ量を指定します。この値が単位なしで指定された場合は、バイト単位であるとみなします。デフォルトの値は1024バイトです。このパラメータはサーバ起動時のみ設定可能です。

推奨事項 [EN]

Sets the truncation threshold of queries in pg_stat_activity (and pg_stat_statements). Increase it if you have really long queries which are being cut off, but there is significant extra memory usage for keeping longer queries.

件のコメント