pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andreas Kretschmer <andreas@a-kretschmer.de>
To: pgsql-general@lists.postgresql.org
Subject: Re: write on standby
Date: Wed, 6 Mar 2019 06:16:27 +0100
Message-ID: <ea2e18e5-987d-54eb-81ab-66a65c7ee16c@a-kretschmer.de> (raw)
In-Reply-To: <BYAPR08MB50145DC562499B91C106771FAC720@BYAPR08MB5014.namprd08.prod.outlook.com>
References: <BYAPR08MB50145DC562499B91C106771FAC720@BYAPR08MB5014.namprd08.prod.outlook.com>



Am 06.03.19 um 00:34 schrieb Julie Nishimura:
> Hello there,
> Is it possible for a test app to connect to the standby dB of an 
> active-Standby dB pair?

that's possible, but ...


> While both continue to be connected and replicating? What if it’s 
> needed to write tmp tables that are later dropped?

... that's not. Not with streaming replication, but ...


> Can it be done in hot standby scenario on standby? Version is 9.6.2
>

... it would be possible with logical replication (trigger based 
solutions like slony or lindiste or logical replication using pglogical 
from us, 2ndQ).

https://www.2ndquadrant.com/en/resources/pglogical/


You can also use BDR2 with PG9.6, but this is only available for our 
customers.


Regards, Andreas

-- 
2ndQuadrant - The PostgreSQL Support Company.
www.2ndQuadrant.com





view thread (6+ messages)  latest in thread

Message-ID: <ea2e18e5-987d-54eb-81ab-66a65c7ee16c@a-kretschmer.de>
Permalink:  ../ea2e18e5-987d-54eb-81ab-66a65c7ee16c@a-kretschmer.de/
Also on:    postgresql.org/message-id/ea2e18e5-987d-54eb-81ab-66a65c7ee16c@a-kretschmer.de

 · 

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-general@postgresql.org
  Cc: andreas@a-kretschmer.de
  Subject: Re: write on standby
  In-Reply-To: <ea2e18e5-987d-54eb-81ab-66a65c7ee16c@a-kretschmer.de>
  References: <BYAPR08MB50145DC562499B91C106771FAC720@BYAPR08MB5014.namprd08.prod.outlook.com> <ea2e18e5-987d-54eb-81ab-66a65c7ee16c@a-kretschmer.de>

* 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