File tree Expand file tree Collapse file tree
addons/postgresql-cluster/15 Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -72,7 +72,6 @@ preInitScript: |
7272 hot_standby: "on"
7373 max_connections: 1005
7474 max_worker_processes: 8
75- wal_keep_segments: 1024
7675 max_wal_senders: 10
7776 max_replication_slots: 10
7877 max_prepared_transactions: 0
Original file line number Diff line number Diff line change @@ -28,15 +28,15 @@ postgresql:
2828 # Checkpointing:
2929 checkpoint_timeout = '15 min'
3030 checkpoint_completion_target = 0.9
31- max_wal_size = '1024 MB '
31+ max_wal_size = '1 GB '
3232 min_wal_size = '512 MB'
3333
3434 # WAL writing
3535 wal_compression = on
3636 wal_buffers = -1 # auto-tuned by Postgres till maximum of segment size (16MB by default)
3737 wal_writer_delay = 200ms
3838 wal_writer_flush_after = 1MB
39- wal_keep_size = '3650 MB '
39+ wal_keep_size = '1 GB '
4040
4141 # Background writer
4242 bgwriter_delay = 200ms
Original file line number Diff line number Diff line change @@ -26,17 +26,17 @@ postgresql:
2626 synchronous_commit = on
2727
2828 # Checkpointing:
29- checkpoint_timeout = '15 min'
29+ checkpoint_timeout = '25 min'
3030 checkpoint_completion_target = 0.9
31- max_wal_size = '1024 MB '
32- min_wal_size = '512 MB '
31+ max_wal_size = '4 GB '
32+ min_wal_size = '2 GB '
3333
3434 # WAL writing
3535 wal_compression = on
3636 wal_buffers = -1 # auto-tuned by Postgres till maximum of segment size (16MB by default)
3737 wal_writer_delay = 200ms
3838 wal_writer_flush_after = 1MB
39- wal_keep_size = '3650 MB '
39+ wal_keep_size = '4 GB '
4040
4141
4242 # Background writer
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ postgresql:
2828 # Checkpointing:
2929 checkpoint_timeout = '15 min'
3030 checkpoint_completion_target = 0.9
31- max_wal_size = '1024 MB '
31+ max_wal_size = '2 GB '
3232 min_wal_size = '512 MB'
3333
3434
@@ -37,7 +37,7 @@ postgresql:
3737 wal_buffers = -1 # auto-tuned by Postgres till maximum of segment size (16MB by default)
3838 wal_writer_delay = 200ms
3939 wal_writer_flush_after = 1MB
40- wal_keep_size = '3650 MB '
40+ wal_keep_size = '1 GB '
4141
4242
4343 # Background writer
Original file line number Diff line number Diff line change @@ -26,17 +26,17 @@ postgresql:
2626 synchronous_commit = on
2727
2828 # Checkpointing:
29- checkpoint_timeout = '15 min'
29+ checkpoint_timeout = '25 min'
3030 checkpoint_completion_target = 0.9
31- max_wal_size = '1024 MB '
32- min_wal_size = '512 MB '
31+ max_wal_size = '5 GB '
32+ min_wal_size = '3 GB '
3333
3434 # WAL writing
3535 wal_compression = on
3636 wal_buffers = -1 # auto-tuned by Postgres till maximum of segment size (16MB by default)
3737 wal_writer_delay = 200ms
3838 wal_writer_flush_after = 1MB
39- wal_keep_size = '3650 MB '
39+ wal_keep_size = '5 GB '
4040
4141 # Background writer
4242 bgwriter_delay = 200ms
Original file line number Diff line number Diff line change @@ -26,17 +26,17 @@ postgresql:
2626 synchronous_commit = on
2727
2828 # Checkpointing:
29- checkpoint_timeout = '15 min'
29+ checkpoint_timeout = '30 min'
3030 checkpoint_completion_target = 0.9
31- max_wal_size = '1024 MB '
32- min_wal_size = '512 MB '
31+ max_wal_size = '6 GB '
32+ min_wal_size = '2 GB '
3333
3434 # WAL writing
3535 wal_compression = on
3636 wal_buffers = -1 # auto-tuned by Postgres till maximum of segment size (16MB by default)
3737 wal_writer_delay = 200ms
3838 wal_writer_flush_after = 1MB
39- wal_keep_size = '3650 MB '
39+ wal_keep_size = '10 GB '
4040
4141 # Background writer
4242 bgwriter_delay = 200ms
Original file line number Diff line number Diff line change @@ -28,15 +28,15 @@ postgresql:
2828 # Checkpointing:
2929 checkpoint_timeout = '15 min'
3030 checkpoint_completion_target = 0.9
31- max_wal_size = '1024 MB '
31+ max_wal_size = '2 GB '
3232 min_wal_size = '512 MB'
3333
3434 # WAL writing
3535 wal_compression = on
3636 wal_buffers = -1 # auto-tuned by Postgres till maximum of segment size (16MB by default)
3737 wal_writer_delay = 200ms
3838 wal_writer_flush_after = 1MB
39- wal_keep_size = '3650 MB '
39+ wal_keep_size = '3 GB '
4040
4141
4242 # Background writer
Original file line number Diff line number Diff line change @@ -26,17 +26,17 @@ postgresql:
2626 synchronous_commit = on
2727
2828 # Checkpointing:
29- checkpoint_timeout = '15 min'
29+ checkpoint_timeout = '30 min'
3030 checkpoint_completion_target = 0.9
31- max_wal_size = '10240 MB '
32- min_wal_size = '5120 MB '
31+ max_wal_size = '8 GB '
32+ min_wal_size = '4 GB '
3333
3434 # WAL writing
3535 wal_compression = on
3636 wal_buffers = -1 # auto-tuned by Postgres till maximum of segment size (16MB by default)
3737 wal_writer_delay = 200ms
3838 wal_writer_flush_after = 1MB
39- wal_keep_size = '22080 MB '
39+ wal_keep_size = '10 GB '
4040
4141 # Background writer
4242 bgwriter_delay = 200ms
You can’t perform that action at this time.
0 commit comments