Skip to content

Commit

Permalink
Increase track_activity_query_size to 4096
Browse files Browse the repository at this point in the history
Specifies the amount of memory reserved to store the text of the currently executing command for each active session, for the pg_stat_activity.query field. The default value is 1024 bytes.
  • Loading branch information
vitabaks committed Jun 29, 2023
1 parent f94da57 commit 3111db6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions vars/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -228,6 +228,7 @@ postgresql_parameters:
- { option: "log_lock_waits", value: "on" }
- { option: "log_temp_files", value: "0" }
- { option: "track_activities", value: "on" }
- { option: "track_activity_query_size", value: "4096" }
- { option: "track_counts", value: "on" }
- { option: "track_functions", value: "all" }
- { option: "log_checkpoints", value: "on" }
Expand Down

0 comments on commit 3111db6

Please sign in to comment.