Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mGR47-0004Mf-H4 for pgsql-general@arkaria.postgresql.org; Wed, 18 Aug 2021 19:17:31 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1mGR46-00077l-6k for pgsql-general@arkaria.postgresql.org; Wed, 18 Aug 2021 19:17:30 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mGR45-00077d-Tw for pgsql-general@lists.postgresql.org; Wed, 18 Aug 2021 19:17:29 +0000 Received: from momjian.us ([72.94.173.45]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mGR43-0001AP-DE for pgsql-general@postgresql.org; Wed, 18 Aug 2021 19:17:29 +0000 Received: from bruce by momjian.us with local (Exim 4.92) (envelope-from ) id 1mGR41-0001UP-Em; Wed, 18 Aug 2021 15:17:25 -0400 Date: Wed, 18 Aug 2021 15:17:25 -0400 From: Bruce Momjian To: Vijaykumar Jain Cc: Heljeeve C Unni , pgsql-general Subject: Re: PostgreSQL Automatic Failover Windows Server Message-ID: <20210818191725.GD13032@momjian.us> References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Wed, Aug 18, 2021 at 11:57:24PM +0530, Vijaykumar Jain wrote: > > I want to know in detail about PostgreSQL Automatic Failover solutions > without third party tools. >   > There is no automatic failover solution provided with core postgresql. (maybe > EDB provides in windows but ...) > there are third party OSS solutions,  > dhamaniasad/awesome-postgres: A curated list of awesome PostgreSQL software, > libraries, tools and resources, inspired by awesome-mysql (github.com) > These are a few solutions for HA. > There are detailed docs for each and/or blogs, you will have to read them to > figure out which one suits you best.  Yes, I think the reason there are only third-party failover tools is that failover is very tied to the operating system/network details, and the database usually doesn't focus on those. -- Bruce Momjian https://momjian.us EDB https://enterprisedb.com If only the physical world exists, free will is an illusion.