Re: Help me recovering data - Mailing list pgsql-hackers

From Bruno Wolff III
Subject Re: Help me recovering data
Date
Msg-id 20050216180826.GA14358@wolff.to
Whole thread Raw
In response to Re: Help me recovering data  (Stephan Szabo <sszabo@megazone.bigpanda.com>)
Responses Re: Help me recovering data  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
On Wed, Feb 16, 2005 at 09:38:31 -0800, Stephan Szabo <sszabo@megazone.bigpanda.com> wrote:
> On Wed, 16 Feb 2005, Tom Lane wrote:
> 
> > (a) within 200,000 transactions of wrap, every transaction start
> > delivers a WARNING message;
> >
> > (b) within 100,000 transactions, forced shutdown as above.
> 
> This seems reasonable, although perhaps the former could be something
> configurable.  I'm not sure there's a good reason to allow the latter to
> change unless there'd ever be a case where 100,000 transactions wasn't
> enough to vacuum or something like that.

I don't think there is much point in making it configurable. If they knew
to do that they would most likely know to vacuum as well.

However, 100K out of 1G seems too small. Just to get wrap around there
must be a pretty high transaction rate, so 100K may not give much warning.
1M or 10M seem to be better.


pgsql-hackers by date:

Previous
From: "E.Rodichev"
Date:
Subject: win32 performance - fsync question
Next
From: Richard Huxton
Date:
Subject: Re: Help me recovering data