From: | Decibel! <decibel(at)decibel(dot)org> |
---|---|
To: | Greg Smith <gsmith(at)gregsmith(dot)com> |
Cc: | Mason Hale <masonhale(at)gmail(dot)com>, pgsql-general <pgsql-general(at)postgresql(dot)org> |
Subject: | Re: PITR and warm standby setup questions |
Date: | 2007-11-13 08:38:40 |
Message-ID: | 4AE7E08A-258A-4C77-9AF0-AEFC49D82945@decibel.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
On Nov 12, 2007, at 11:07 PM, Greg Smith wrote:
> On Mon, 12 Nov 2007, Mason Hale wrote:
>
>> After the wal segment file is copied by the restore_command
>> script, is it safe to delete it from my archive?
>
> While I believe you can toss them immediately, you should
> considering keeping those around for a bit regardless as an
> additional layer of disaster recovery resources. I try to avoid
> deleting them until a new base backup is made, because if you have
> the last backup and all the archived segments it gives you another
> potential way to rebuild the database in case of a large disaster
> damages both the primary and the secondary. You can never have too
> many ways to try and recover from such a situation.
Plus, the new resumable recovery probably won't be happy if you're
too aggressive about nuking WAL logs from the archive.
--
Decibel!, aka Jim C. Nasby, Database Architect decibel(at)decibel(dot)org
Give your computer some brain candy! www.distributed.net Team #1828
From | Date | Subject | |
---|---|---|---|
Next Message | yang zhenyu | 2007-11-13 10:30:42 | Re: PQexec(), what should I do for the "NULL in command" problem? |
Previous Message | Decibel! | 2007-11-13 08:36:22 | Re: Using generate_series to create a unique ID in a query? |