Browse Source

log pg autovacuum if longer than 250ms

cobbzilla/introduce_packer
Jonathan Cobb 4 years ago
parent
commit
9adc30c13b
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      bubble-server/src/main/resources/packer/roles/bubble/files/postgresql.conf

+ 1
- 0
bubble-server/src/main/resources/packer/roles/bubble/files/postgresql.conf View File

@@ -467,6 +467,7 @@ stats_temp_directory = '/var/run/postgresql/9.4-main.pg_stat_tmp'

#autovacuum = on # Enable autovacuum subprocess? 'on'
# requires track_counts to also be on.
log_autovacuum_min_duration = 250
#log_autovacuum_min_duration = -1 # -1 disables, 0 logs all actions and
# their durations, > 0 logs only
# actions running at least this number


Loading…
Cancel
Save