Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eZObM-0008Vx-Tq for pgsql-admin@arkaria.postgresql.org; Wed, 10 Jan 2018 22:12:05 +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 1eZObM-00050v-E7 for pgsql-admin@arkaria.postgresql.org; Wed, 10 Jan 2018 22:12:04 +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 1eZObM-00050Z-6t for pgsql-admin@lists.postgresql.org; Wed, 10 Jan 2018 22:12:04 +0000 Received: from cat-porwal-prod-mail1.catalyst.net.nz ([202.78.240.226]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1eZOb9-0003sA-DN for pgsql-admin@postgresql.org; Wed, 10 Jan 2018 22:11:59 +0000 Received: from [IPv6:2406:e001:f09:1:70c3:90ad:f089:d084] (unknown [IPv6:2406:e001:f09:1:70c3:90ad:f089:d084]) (Authenticated sender: mark.kirkwood@catalyst.net.nz) by cat-porwal-prod-mail1.catalyst.net.nz (Postfix) with ESMTPSA id 8454280A76; Thu, 11 Jan 2018 11:11:38 +1300 (NZDT) Subject: Re: Replication mode To: Peter Eisentraut , Azimuddin Mohammed , pgsql-admin@postgresql.org References: From: Mark Kirkwood Message-ID: Date: Thu, 11 Jan 2018 11:11:38 +1300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.5.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US Authentication-Results: auth=pass smtp.auth=mark.kirkwood@catalyst.net.nz smtp.mailfrom=mark.kirkwood@catalyst.net.nz List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 11/01/18 11:00, Peter Eisentraut wrote: > On 1/10/18 15:24, Azimuddin Mohammed wrote: >> May I know what is the core difference between HOT standby. Warm Stand by ? > In PostgreSQL, "hot standby" is a mode for an instance in recovery that > allows read-only commands to be executed on it. The term "warm standby" > is not used by PostgreSQL, but you could think of a server in recovery > that does not allow queries to be a warm standby, if you wish. > We do talk about 'warm standby' in the docs: https://www.postgresql.org/docs/10/static/warm-standby.html ...altho we do not precisely say how to setup this up as opposed to the 'hot' variant. In fact it is pretty easy to (accidentally) get a warm standby by forgetting to set : standby_mode = 'on' in recovery.conf Cheers Mark