Re: How to avoid transaction ID wrap - Mailing list pgsql-hackers

From Tom Lane
Subject Re: How to avoid transaction ID wrap
Date
Msg-id 28061.1149781428@sss.pgh.pa.us
Whole thread Raw
In response to Re: How to avoid transaction ID wrap  ("Joshua D. Drake" <jd@commandprompt.com>)
Responses Re: How to avoid transaction ID wrap  ("Joshua D. Drake" <jd@commandprompt.com>)
List pgsql-hackers
"Joshua D. Drake" <jd@commandprompt.com> writes:
> I was recently involved in a project where we had to decrease the 
> checkpoint_timeout . The problem was, that the database was performing 
> so many transactions that if we waiting for 5 minutes, checkpoint would 
> take entirely too long.

Seems like the correct fix for that is to make the bgwriter more
aggressive.  Narrowing the checkpoint spacing is a pretty horrid answer
because of the resulting increase in full-page-image WAL traffic.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Greg Stark
Date:
Subject: Re: ADD/DROP INHERITS
Next
From: David Fetter
Date:
Subject: Re: [PATCHES] drop if exists remainder