Maximum reasonable bgwriter_delay - Mailing list pgsql-hackers

From Heikki Linnakangas
Subject Maximum reasonable bgwriter_delay
Date
Msg-id 4677EDDF.7070000@enterprisedb.com
Whole thread Raw
Responses Re: Maximum reasonable bgwriter_delay
List pgsql-hackers
The maximum for bgwriter_delay is currently 10 seconds. That's a long 
time, and in fact if you set it to a value greater than 1 s, the sleep 
is split into 1 s intervals with a call to AbsorbFsyncRequests in 
between them.

Is there a use case for a setting > 1 s? We could simplify that logic a 
little bit if we just set the maximum at 1 s.

--   Heikki Linnakangas  EnterpriseDB   http://www.enterprisedb.com


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: What does Page Layout version mean? (Was: Re: Reducing NUMERIC size for 8.3)
Next
From: Josh Berkus
Date:
Subject: Re: to partition or not to partition that is the question