Re: "could not open relation with OID" errors after promoting the standby to master - Mailing list pgsql-hackers

From Andres Freund
Subject Re: "could not open relation with OID" errors after promoting the standby to master
Date
Msg-id 201205242054.18735.andres@2ndquadrant.com
Whole thread Raw
In response to Re: "could not open relation with OID" errors after promoting the standby to master  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
On Thursday, May 24, 2012 08:46:21 PM Tom Lane wrote:
> Andres Freund <andres@anarazel.de> writes:
> > On Thursday, May 24, 2012 08:32:47 PM Tom Lane wrote:
> >> I'm not sure I believe that we can make a recovery resume from an
> >> arbitrary point in WAL anyway, or that it would be worth the trouble.
> >> Can't we just resume from the last restartpoint?
> > 
> > Well, with a decent sized checkpoint_segments getting up2date can take
> > quite a noticeable amount of time...
> 
> So?  Slow restart is precisely the price you pay for a large checkpoint
> interval.
Well. no. If you stop the master in a orderly fashion it will checkpoint and 
thus have a sensible startup time. There is no such possibility for a standby  
without interaction with the master.

Andres

-- Andres Freund                       http://www.2ndQuadrant.com/PostgreSQL Development, 24x7 Support, Training &
Services


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Re: [COMMITTERS] pgsql: Send new protocol keepalive messages to standby servers.
Next
From: Merlin Moncure
Date:
Subject: Re: 9.2beta1, parallel queries, ReleasePredicateLocks, CheckForSerializableConflictIn in the oprofile