mirror of
https://github.com/postgres/postgres.git
synced 2025-05-05 09:19:17 +03:00
Raise max setting of checkpoint_timeout to 1d
Previously checkpoint_timeout was capped at 3600s New max setting is 86400s = 24h = 1d Discussion: 32558.1454471895@sss.pgh.pa.us
This commit is contained in:
parent
fa7b3a88dd
commit
f2dba881a5
@ -2614,7 +2614,7 @@ include_dir 'conf.d'
|
||||
<listitem>
|
||||
<para>
|
||||
Maximum time between automatic WAL checkpoints, in seconds.
|
||||
The valid range is between 30 seconds and one hour.
|
||||
The valid range is between 30 seconds and one day.
|
||||
The default is five minutes (<literal>5min</>).
|
||||
Increasing this parameter can increase the amount of time needed
|
||||
for crash recovery.
|
||||
|
@ -2250,7 +2250,7 @@ static struct config_int ConfigureNamesInt[] =
|
||||
GUC_UNIT_S
|
||||
},
|
||||
&CheckPointTimeout,
|
||||
300, 30, 3600,
|
||||
300, 30, 86400,
|
||||
NULL, NULL, NULL
|
||||
},
|
||||
|
||||
|
@ -203,7 +203,7 @@
|
||||
|
||||
# - Checkpoints -
|
||||
|
||||
#checkpoint_timeout = 5min # range 30s-1h
|
||||
#checkpoint_timeout = 5min # range 30s-1d
|
||||
#max_wal_size = 1GB
|
||||
#min_wal_size = 80MB
|
||||
#checkpoint_completion_target = 0.5 # checkpoint target duration, 0.0 - 1.0
|
||||
|
Loading…
x
Reference in New Issue
Block a user