Skip to content

Commit cc2125c

Browse files
committed
increase wal size and max locks per transacton
1 parent 71fa560 commit cc2125c

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

postgres/non-durable-settings.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ cat <<EOF >> /var/lib/postgresql/data/postgresql.conf
44
fsync = off
55
synchronous_commit = off
66
full_page_writes = off
7+
max_wal_size = '4GB'
8+
checkpoint_timeout = '1d'
9+
10+
max_locks_per_transaction = 128
711
wal_level = minimal
812
max_wal_senders = 0
913
EOF

0 commit comments

Comments
 (0)