diff --git a/postgresql/values.yaml b/postgresql/values.yaml index fff14d8d9..796ac3d1e 100644 --- a/postgresql/values.yaml +++ b/postgresql/values.yaml @@ -238,11 +238,7 @@ conf: pgpass: '{{ .Values.storage.mount.path }}/pgpass' use_pg_rewind: true parameters: - archive_mode: 'on' - archive_timeout: 1800s - autovacuum_analyze_scale_factor: 0.02 - autovacuum_max_workers: 5 - autovacuum_vacuum_scale_factor: 0.05 + archive_mode: 'off' checkpoint_completion_target: 0.9 datestyle: 'iso, mdy' default_text_search_config: 'pg_catalog.english' @@ -271,8 +267,8 @@ conf: timezone: 'UTC' track_commit_timestamp: 'on' track_functions: all - wal_keep_segments: 100 - wal_level: 'logical' + wal_keep_segments: 8 + wal_level: hot_standby wal_log_hints: 'on' initdb: - auth-host: md5 @@ -300,11 +296,7 @@ conf: on_start: /tmp/set_password.sh use_pg_rewind: true parameters: - archive_mode: 'on' - archive_timeout: 1800s - autovacuum_analyze_scale_factor: 0.02 - autovacuum_max_workers: 5 - autovacuum_vacuum_scale_factor: 0.05 + archive_mode: 'off' checkpoint_completion_target: 0.9 datestyle: 'iso, mdy' default_text_search_config: 'pg_catalog.english' @@ -333,9 +325,8 @@ conf: timezone: 'UTC' track_commit_timestamp: 'on' track_functions: all - shared_buffers: {{ .Values.conf.postgresql.shared_buffers }} - wal_keep_segments: 100 - wal_level: 'logical' + wal_keep_segments: 8 + wal_level: hot_standby wal_log_hints: 'on' pg_hba: - host all all 127.0.0.1/32 trust