From 9adc30c13b710d69e85e99ba4f53cc319787beba Mon Sep 17 00:00:00 2001 From: Jonathan Cobb Date: Tue, 9 Jun 2020 10:33:21 -0400 Subject: [PATCH] log pg autovacuum if longer than 250ms --- .../src/main/resources/packer/roles/bubble/files/postgresql.conf | 1 + 1 file changed, 1 insertion(+) diff --git a/bubble-server/src/main/resources/packer/roles/bubble/files/postgresql.conf b/bubble-server/src/main/resources/packer/roles/bubble/files/postgresql.conf index aa731515..ebf4bcce 100644 --- a/bubble-server/src/main/resources/packer/roles/bubble/files/postgresql.conf +++ b/bubble-server/src/main/resources/packer/roles/bubble/files/postgresql.conf @@ -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