mirror of
https://github.com/postgres/postgres.git
synced 2025-09-02 04:21:28 +03:00
Increase the default for wal_sender_delay from 200ms to 1s. Now that WAL
sender is immediately woken up by transaction commit, there's no need to wake up so aggressively.
This commit is contained in:
@@ -1843,7 +1843,7 @@ static struct config_int ConfigureNamesInt[] =
|
||||
GUC_UNIT_MS
|
||||
},
|
||||
&WalSndDelay,
|
||||
200, 1, 10000, NULL, NULL
|
||||
1000, 1, 10000, NULL, NULL
|
||||
},
|
||||
|
||||
{
|
||||
|
@@ -188,7 +188,7 @@
|
||||
|
||||
#max_wal_senders = 0 # max number of walsender processes
|
||||
# (change requires restart)
|
||||
#wal_sender_delay = 200ms # walsender cycle time, 1-10000 milliseconds
|
||||
#wal_sender_delay = 1s # walsender cycle time, 1-10000 milliseconds
|
||||
#wal_keep_segments = 0 # in logfile segments, 16MB each; 0 disables
|
||||
#vacuum_defer_cleanup_age = 0 # number of xacts by which cleanup is delayed
|
||||
|
||||
|
Reference in New Issue
Block a user