Skip to content

Commit c3c0d7b

Browse files
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
1 parent 5280309 commit c3c0d7b

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

doc/src/sgml/config.sgml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2614,7 +2614,7 @@ include_dir 'conf.d'
26142614
<listitem>
26152615
<para>
26162616
Maximum time between automatic WAL checkpoints, in seconds.
2617-
The valid range is between 30 seconds and one hour.
2617+
The valid range is between 30 seconds and one day.
26182618
The default is five minutes (<literal>5min</>).
26192619
Increasing this parameter can increase the amount of time needed
26202620
for crash recovery.

src/backend/utils/misc/guc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2250,7 +2250,7 @@ static struct config_int ConfigureNamesInt[] =
22502250
GUC_UNIT_S
22512251
},
22522252
&CheckPointTimeout,
2253-
300, 30, 3600,
2253+
300, 30, 86400,
22542254
NULL, NULL, NULL
22552255
},
22562256

src/backend/utils/misc/postgresql.conf.sample

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@
203203

204204
# - Checkpoints -
205205

206-
#checkpoint_timeout = 5min # range 30s-1h
206+
#checkpoint_timeout = 5min # range 30s-1d
207207
#max_wal_size = 1GB
208208
#min_wal_size = 80MB
209209
#checkpoint_completion_target = 0.5 # checkpoint target duration, 0.0 - 1.0

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy