Re: High Availability: Hot Standby vs. Warm Standby

From: Kasia Tuszynska <ktuszynska(at)esri(dot)com>
To: "pgsql-admin(at)postgresql(dot)org" <pgsql-admin(at)postgresql(dot)org>
Subject: Re: High Availability: Hot Standby vs. Warm Standby
Date: 2010-07-09 17:25:40
Message-ID: 232B5217AD58584C87019E8933556D11020F195450@redmx2.esri.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Since the topic is very relevant to me right now I would like to ask if anyone is running a HA solution in the cloud?
Thanks,
Kasia

-----Original Message-----
From: pgsql-admin-owner(at)postgresql(dot)org [mailto:pgsql-admin-owner(at)postgresql(dot)org] On Behalf Of Brad Nicholson
Sent: Friday, July 09, 2010 10:19 AM
To: Thomas Kellerer
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: [ADMIN] High Availability: Hot Standby vs. Warm Standby

On Fri, 2010-07-09 at 18:31 +0200, Thomas Kellerer wrote:
> Hi,
>
> Rob Wultsch wrote on 09.07.2010 18:14:
> >> I am aware that I can use the 9.0 standby server for read only queries, but
> >> that is (currently) not something we need
> >>
> >
> > Taking SQL backups without impacting the master might be something to consider.
>
> Interesting point. Thanks for mentioning that.

There is an issue with running your backup from a standby that you need
to be aware of.

There is potential that a long running query on the standby can conflict
with the application of wal records. In this case, you have a choice to
either terminate the query and let wal records continue to be applied,
or delay the application of the wal until the query completes.

Considering that you are looking at HA and asking about the difference
in lost transactions between streaming replication and 8.4 PITR, I doubt
that letting the standby lag for the duration of the pg_dump is going to
be something that interests you.

Full details are here:
http://www.postgresql.org/docs/9.0/static/hot-standby.html#HOT-STANDBY-CONFLICT

--
Brad Nicholson 416-673-4106
Database Administrator, Afilias Canada Corp.

--
Sent via pgsql-admin mailing list (pgsql-admin(at)postgresql(dot)org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-admin

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message David Bear 2010-07-09 17:35:36 Re: PgsqlODBC 8.1 and 8.4 side-by-side installation
Previous Message Brad Nicholson 2010-07-09 17:18:40 Re: High Availability: Hot Standby vs. Warm Standby