Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eZP5x-0002NH-A1 for pgsql-admin@arkaria.postgresql.org; Wed, 10 Jan 2018 22:43:41 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eZP5w-0008Br-7K for pgsql-admin@arkaria.postgresql.org; Wed, 10 Jan 2018 22:43:40 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1eZP5w-0008Bg-04 for pgsql-admin@lists.postgresql.org; Wed, 10 Jan 2018 22:43:40 +0000 Received: from mailout.easymail.ca ([64.68.200.34]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1eZP5s-0004br-Ti for pgsql-admin@postgresql.org; Wed, 10 Jan 2018 22:43:39 +0000 Received: from localhost (localhost [127.0.0.1]) by mailout.easymail.ca (Postfix) with ESMTP id 61B9CC0D0E; Wed, 10 Jan 2018 22:43:34 +0000 (UTC) Received: from mailout.easymail.ca ([127.0.0.1]) by localhost (emo01-pco.easydns.vpn [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 2LlwqazHSl_m; Wed, 10 Jan 2018 22:43:34 +0000 (UTC) Received: from [192.168.2.16] (unknown [8.39.228.117]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mailout.easymail.ca (Postfix) with ESMTPSA id DED05C0CDA; Wed, 10 Jan 2018 22:43:28 +0000 (UTC) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\)) Subject: Re: Replication mode From: scott ribe In-Reply-To: Date: Wed, 10 Jan 2018 15:43:26 -0700 Cc: Mark Kirkwood , Peter Eisentraut , pgsql-admin@postgresql.org Content-Transfer-Encoding: quoted-printable Message-Id: <3739944C-1F15-4284-AC32-2B7A9D5E45CF@elevated-dev.com> References: To: Azimuddin Mohammed X-Mailer: Apple Mail (2.3273) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On Jan 10, 2018, at 3:17 PM, Azimuddin Mohammed = wrote: >=20 > Thanks!=20 > But with hot standby my slave will be in read-only mode ...how can I = just use my slave as a backup and not do any read operation and let my = primary server do all read and write operation. If my primary fails I = will do manual failover. The whole idea is to remove any 3rd party open = source tools as we are not sure how well they behave and avoid any = single point of failure.=20 Just don't send queries to the slave. (There is nothing in PG that would = automatically distribute queries to it.) -- Scott Ribe https://www.linkedin.com/in/scottribe/ (303) 722-0567