Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit beea55c

Browse files
committed
Perfomance-related opts in example config.
1 parent dd54fce commit beea55c

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

postgresql.conf.common.template

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,3 +21,12 @@ max_replication_slots = 100
2121
# max_replication_slots. On workers, this must be at least max number of shards
2222
# on the table which have 'next' replica.
2323
max_wal_senders = 50
24+
25+
26+
# performance-related settings
27+
synchronous_commit = off
28+
shared_buffers = 512MB
29+
effective_cache_size = 512MB
30+
work_mem = 4MB
31+
max_connections = 1000
32+
max_wal_size = 5GB

0 commit comments

Comments
 (0)