Re: [HACKERS] Point in Time Recovery

From: Simon Riggs <simon(at)2ndquadrant(dot)com>
To: Christopher Kings-Lynne <chriskl(at)familyhealth(dot)com(dot)au>
Cc: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>, Klaus Naumann <kn(at)mgnet(dot)de>, markw(at)osdl(dot)org, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, pgsql-hackers(at)postgresql(dot)org, pgsql-admin(at)postgresql(dot)org
Subject: Re: [HACKERS] Point in Time Recovery
Date: 2004-07-14 07:21:22
Message-ID: 1089789682.17493.3890.camel@stromboli
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin pgsql-hackers pgsql-patches

On Wed, 2004-07-14 at 03:31, Christopher Kings-Lynne wrote:
> Can you give us some suggestions of what kind of stuff to test? Is
> there a way we can artificially kill the backend in all sorts of nasty
> spots to see if recovery works? Does kill -9 simulate a 'power off'?
>

I was hoping some fiendish plans would be presented to me...

But please start with "this feels like typical usage" and we'll go from
there...the important thing is to try the first one.

I've not done power off tests, yet. They need to be done just to
check...actually you don't need to do this to test PITR...

We need to exhaustive tests of...
- power off
- scp and cross network copies
- all the permuted recovery options
- archive_mode = off (i.e. current behaviour)
- deliberately incorrectly set options (idiot-proof testing)

I'd love some help assembling a test document with numbered tests...

Best regards, Simon Riggs

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Joost Kraaijeveld 2004-07-14 08:55:05 Turning of case sensitivity for identifiers?
Previous Message Tom Lane 2004-07-14 04:32:36 Re: Slony NG

Browse pgsql-hackers by date

  From Date Subject
Next Message Karel Zak 2004-07-14 07:32:04 Re: Assisting developers
Previous Message Bruce Momjian 2004-07-14 04:41:15 Re: Assisting developers

Browse pgsql-patches by date

  From Date Subject
Next Message Magnus Hagander 2004-07-14 08:17:44 Re: serverlog rotation/functions
Previous Message Simon Riggs 2004-07-14 07:15:10 Re: PITR Archive Recovery plus WIP PITR