Re: [HACKERS] [PATCHES] Restartable Recovery

2006-08-09 Thread Simon Riggs
On Mon, 2006-08-07 at 13:05 -0400, Tom Lane wrote: > Simon Riggs <[EMAIL PROTECTED]> writes: > > I've implemented this for BTree, GIN, GIST using an additional rmgr > > functionbool rm_safe_restartpoint(void) > > ... > > "Recovery checkpoints" are now renamed "restartpoints" to avoid > > confus

Re: [HACKERS] [PATCHES] Restartable Recovery

2006-08-07 Thread Tom Lane
Simon Riggs <[EMAIL PROTECTED]> writes: > I've implemented this for BTree, GIN, GIST using an additional rmgr > function bool rm_safe_restartpoint(void) > ... > "Recovery checkpoints" are now renamed "restartpoints" to avoid > confusion with checkpoints. So checkpoints occur during normal > pr

Re: [HACKERS] [PATCHES] Restartable Recovery

2006-07-31 Thread Bruce Momjian
Nice. I was going to ask if this could make it into 8.2. --- Simon Riggs wrote: > On Sun, 2006-07-16 at 20:56 +0100, Simon Riggs wrote: > > On Sun, 2006-07-16 at 15:33 -0400, Tom Lane wrote: > > > Simon Riggs <[EMAIL PROTEC

Re: [HACKERS] [PATCHES] Restartable Recovery

2006-07-31 Thread Simon Riggs
On Sun, 2006-07-16 at 20:56 +0100, Simon Riggs wrote: > On Sun, 2006-07-16 at 15:33 -0400, Tom Lane wrote: > > Simon Riggs <[EMAIL PROTECTED]> writes: > > > On Sun, 2006-07-16 at 12:40 -0400, Tom Lane wrote: > > >> A compromise that might be good enough is to add an rmgr routine defined > > >> as "

Re: [PATCHES] Restartable Recovery

2006-07-16 Thread Simon Riggs
On Sun, 2006-07-16 at 10:51 -0400, Tom Lane wrote: > Andreas Seltenreich <[EMAIL PROTECTED]> writes: > > Simon Riggs <[EMAIL PROTECTED]> writes: > >> [2. text/x-patch; restartableRecovery.patch] > > > Hmm, wouldn't you have to reboot the resource managers at each > > checkpoint? I'm afraid otherwi

Re: [PATCHES] Restartable Recovery

2006-07-16 Thread Tom Lane
Andreas Seltenreich <[EMAIL PROTECTED]> writes: > Simon Riggs <[EMAIL PROTECTED]> writes: >> [2. text/x-patch; restartableRecovery.patch] > Hmm, wouldn't you have to reboot the resource managers at each > checkpoint? I'm afraid otherwise things like postponed page splits > could get lost on restar

Re: [PATCHES] Restartable Recovery

2006-07-16 Thread Andreas Seltenreich
Simon Riggs <[EMAIL PROTECTED]> writes: > [2. text/x-patch; restartableRecovery.patch] Hmm, wouldn't you have to reboot the resource managers at each checkpoint? I'm afraid otherwise things like postponed page splits could get lost on restart from a later checkpoint. regards, andreas --

[PATCHES] Restartable Recovery

2006-07-11 Thread Simon Riggs
On Marko Kreen's detailed suggestion, I've implemented a restartable recovery mode for archive recovery (aka PITR). Restart points are known as recovery checkpoints and are normally taken every 100 checkpoints in the log to ensure good recovery performance. An additional mode standby_mode