pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: David Kerr <dmk@mr-paradox.net>
To: Craig James <cjames@emolecules.com>
Cc: Ben Chobot <bench@silentmedia.com>
Cc: pgsql-performance Performance <pgsql-performance@postgresql.org>
Subject: Re: Postgresql in a Virtual Machine
Date: Tue, 26 Nov 2013 11:51:04 -0800
Message-ID: <20131126195104.GB37198@mr-paradox.net> (raw)
In-Reply-To: <CAFwQ8rfZ5bzCm0Sx2rN3oXb8qXp83CmuJN1__DhsDn6RfeAc-Q@mail.gmail.com>
References: <CAHghi5Cj_6KmwaUopF3y=vSjs3Q83VyXQy5DQhfLyP_Zt0yxbA@mail.gmail.com>
	<5293B0B9.1060200@vmware.com>
	<5294A77F.8050508@cybertec.at>
	<CAFwQ8rdPnbWhJCL5tK9+CctpjQ8ABvu61Pizesat3oMMcTByOA@mail.gmail.com>
	<5294CC51.5090609@boreham.org>
	<CAFwQ8rd2Sgu0E9n_3PddPpHctpvHhdr5YCX7_YENaxSXZjrMuA@mail.gmail.com>
	<9742A6F1-25D9-4833-B20A-06BD80BDA4AF@silentmedia.com>
	<CAFwQ8rfZ5bzCm0Sx2rN3oXb8qXp83CmuJN1__DhsDn6RfeAc-Q@mail.gmail.com>
List-Unsubscribe:  <mailto:majordomo@postgresql.org?body=unsub%20pgsql-performance>

On Tue, Nov 26, 2013 at 11:18:41AM -0800, Craig James wrote:
- On Tue, Nov 26, 2013 at 10:40 AM, Ben Chobot <bench@silentmedia.com> wrote:
- 
- > On Nov 26, 2013, at 9:24 AM, Craig James wrote:
- >
- > So far I'm impressed by what I've read about Amazon's Postgres instances.
- > Maybe the reality will be disappointing, but (for example) the idea of
- > setting up streaming replication with one click is pretty appealing.
- >
- >
- > Where did you hear this was an option? When we talked to AWS about their
- > Postgres RDS offering, they were pretty clear that (currently) replication
- > is hardware-based, the slave is not live, and you don't get access to the
- > WALs that they use internally for PITR. Changing that is something they
- > want to address, but isn't there today.
- >
- 
- I was guessing from the description of their "High Availability" option ...
- but maybe it uses something like pg-pool, or as you say, maybe they do it
- at the hardware level.
- 
- http://aws.amazon.com/rds/postgresql/#High-Availability
- 
- 
- "Multi-AZ Deployments – This deployment option for your production DB
- Instances enhances database availability while protecting your latest
- database updates against unplanned outages. When you create or modify your
- DB Instance to run as a Multi-AZ deployment, Amazon RDS will automatically
- provision and manage a “standby” replica in a different Availability Zone
- (independent infrastructure in a physically separate location). Database
- updates are made concurrently on the primary and standby resources to
- prevent replication lag. In the event of planned database maintenance, DB
- Instance failure, or an Availability Zone failure, Amazon RDS will
- automatically failover to the up-to-date standby so that database
- operations can resume quickly without administrative intervention. Prior to
- failover you cannot directly access the standby, and it cannot be used to
- serve read traffic."
- 
- Either way, if a cold standby is all you need, it's still a one-click
- option, lots simpler than setting it up yourself.
- 
- Craig

The Multi-AZ deployments don't expose the replica to you unless there is a 
failover. (in which case it picks one and promotes it)

There is an option for "Create Read Replica" but it's currently not available so
we can assume that will eventually be an option.


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



view thread (30+ messages)  latest in thread

Message-ID: <20131126195104.GB37198@mr-paradox.net>
Permalink:  ../20131126195104.GB37198@mr-paradox.net/
Also on:    postgresql.org/message-id/20131126195104.GB37198@mr-paradox.net

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-performance@postgresql.org
  Cc: dmk@mr-paradox.net, cjames@emolecules.com, bench@silentmedia.com
  Subject: Re: Postgresql in a Virtual Machine
  In-Reply-To: <20131126195104.GB37198@mr-paradox.net>
  References: <CAHghi5Cj_6KmwaUopF3y=vSjs3Q83VyXQy5DQhfLyP_Zt0yxbA@mail.gmail.com> <5293B0B9.1060200@vmware.com> <5294A77F.8050508@cybertec.at> <CAFwQ8rdPnbWhJCL5tK9+CctpjQ8ABvu61Pizesat3oMMcTByOA@mail.gmail.com> <5294CC51.5090609@boreham.org> <CAFwQ8rd2Sgu0E9n_3PddPpHctpvHhdr5YCX7_YENaxSXZjrMuA@mail.gmail.com> <9742A6F1-25D9-4833-B20A-06BD80BDA4AF@silentmedia.com> <CAFwQ8rfZ5bzCm0Sx2rN3oXb8qXp83CmuJN1__DhsDn6RfeAc-Q@mail.gmail.com> <20131126195104.GB37198@mr-paradox.net>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox