track_activity_query_size
Specifies the number of bytes reserved to track the currently executing command for each active session, for the pg_stat_activity.query field. The default value is 1024. This parameter can only be set at server start.
Recommendations
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.
Comments
Type: | integer |
Default: | 1024 |
Min: | 100 |
Max: | 102400 |
Unit: | B |
Context: | postmaster |
Restart: | true |