Re: Two Questions Re: Warm Backup

From: "Daniel Verite" <daniel(at)manitou-mail(dot)org>
To: "Terry Lee Tucker" <terry(at)chosen-ones(dot)org>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Two Questions Re: Warm Backup
Date: 2009-05-02 17:08:00
Message-ID: 07b60682-dfb3-4e3f-adfd-78d7c2c13864@mm
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Terry Lee Tucker writes

> Q1: Can we set up a scenario where there is more that one
> warm standby?

Yes. But you'll have to consider what you want to happen when one
standby is correctly receiving the WAL files and another is not,
because the archive_command has to either fail or succeed, it can't
return "half-done".
You may need to provide your own layer that retry pushing local copies
of WAL files to the remote nodes and deleting them only when they've
been received by every standby server.

> Q2: Am I correct in assuming that ALL changes to any of the
> production schema will be written to the warm standby?
> For example, if I drop a constraint in production I assume
> the same will occur on the warm standby. If I create and
> drop a table in production, I assume it will occur on the warm
> standby.

It will, all DDL is replicated.

Best regards,
--
Daniel
PostgreSQL-powered mail user agent and storage:
http://www.manitou-mail.org

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Mike Christensen 2009-05-02 18:03:14 Re: Difference between array column type and separate table
Previous Message Tom Lane 2009-05-02 15:48:21 Re: Tracking down a deadlock