Kaynağa Gözat

log pg autovacuum if longer than 250ms

cobbzilla/introduce_packer
Jonathan Cobb 4 yıl önce
ebeveyn
işleme
9adc30c13b
1 değiştirilmiş dosya ile 1 ekleme ve 0 silme
  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 Dosyayı Görüntüle

@@ -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


Yükleniyor…
İptal
Kaydet