Re: Optimizing warm standby. Will this work? [PITR WAL]

From: Richard Huxton <dev(at)archonet(dot)com>
To: Dhaval Shah <dhaval(dot)shah(dot)m(at)gmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Optimizing warm standby. Will this work? [PITR WAL]
Date: 2007-03-20 07:35:36
Message-ID: 45FF8EC8.3070806@archonet.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Dhaval Shah wrote:
> The optimization step I am looking for is as follows, instead of doing
> a tar/gzip of the data directory, I am planning to do a pg_dumpall of
> the primary. That is, the new steps will be:
>
> 0. Ensure that no application connects to the db.
> 1. On the primary, do a pg_dumpall

> That way, I figure I do not have to move the entire data directory
> around. I just need the base schema and data contents. The question
> is, will the above setup work? Any gotchas?

Won't work - the WAL refers to disk blocks, not primary keys etc. You
need the actual disk files.

--
Richard Huxton
Archonet Ltd

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Albe Laurenz 2007-03-20 07:47:19 Re: Stored Procedure / function and their result
Previous Message Dhaval Shah 2007-03-20 07:30:06 Unable to start postgres in recovery mode.