Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1h1Ouz-0006by-88 for pgsql-general@arkaria.postgresql.org; Wed, 06 Mar 2019 05:16:37 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1h1Oux-0007TJ-Sh for pgsql-general@arkaria.postgresql.org; Wed, 06 Mar 2019 05:16:35 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1h1Oux-0007TB-Gl for pgsql-general@lists.postgresql.org; Wed, 06 Mar 2019 05:16:35 +0000 Received: from mail.i-mark.de ([188.138.104.222]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1h1Out-0008Uz-MW for pgsql-general@lists.postgresql.org; Wed, 06 Mar 2019 05:16:34 +0000 Received: from [192.168.178.20] (unknown [185.38.49.17]) by mail.i-mark.de (Postfix) with ESMTPSA id AC3E71583973 for ; Wed, 6 Mar 2019 06:16:26 +0100 (CET) Authentication-Results: loft7616.startdedicated.de; spf=pass (sender IP is 185.38.49.17) smtp.mailfrom=andreas@a-kretschmer.de smtp.helo=[192.168.178.20] Received-SPF: pass (loft7616.startdedicated.de: connection is authenticated) Subject: Re: write on standby To: pgsql-general@lists.postgresql.org References: From: Andreas Kretschmer Message-ID: Date: Wed, 6 Mar 2019 06:16:27 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.5.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk 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