Commit c3c0d7bd authored by Simon Riggs's avatar Simon Riggs

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
parent 52803098
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment