postgres: increase wal size
Eelco Dolstra committed
Jan 4, 2020 at 03:15 UTC
f14aba8d25166c911997852dacb8cdc9eae10ca5
1 file changed
+3
-2
delft/chef.nix
+3
-2
@@ -25,9 +25,10 @@
25
# 25% of memory
26
shared_buffers = 8GB
27
28
- # Checkpoint every 256 MB.
28
+ # Checkpoint every 1GB. (default)
29
+ # increased after seeing many warninsg about frequent checkpoints
30
min_wal_size = 128MB
30
- max_wal_size = 256MB
31
+ max_wal_size = 1GB
32
33
# We can risk losing some transactions.
34
synchronous_commit = off