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 1jv1k4-0000wI-Uy for pgsql-general@arkaria.postgresql.org; Mon, 13 Jul 2020 16:55:48 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1jv1k3-0007IP-UL for pgsql-general@arkaria.postgresql.org; Mon, 13 Jul 2020 16:55:47 +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 1jv1k3-0007II-NL for pgsql-general@lists.postgresql.org; Mon, 13 Jul 2020 16:55:47 +0000 Received: from mail.dalibo.com ([212.85.157.172]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jv1k0-00055N-U2 for pgsql-general@lists.postgresql.org; Mon, 13 Jul 2020 16:55:47 +0000 Received: from firost (larco.ioguix.net [82.66.0.6]) by mail.dalibo.com (Postfix) with ESMTPSA id B56AB22600; Mon, 13 Jul 2020 18:55:43 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=dalibo.com; s=a; t=1594659343; bh=3uVyJXdAKnC8eZVUi0BARPK8XuzTQX+66JKsvKHA7GM=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=QqOAYsCSrohjsK45vqa+WtFMxM1eI9byw6UAoWganuWO3ItVNECoVlTz7KCTea/Ok tn0Xkh0C8NZ7qcKKpAlKESa/vJBvdhNz5cOiSs8AKLOUS9BlWAGsbU+ZfaZ0HIJ02/ s4Vcw9gnd5daYv+ZqRRptSuIx9CQ0tC2ZxCPpav4= Date: Mon, 13 Jul 2020 18:55:42 +0200 From: Jehan-Guillaume de Rorthais To: Laurent FAILLIE Cc: "pgsql-generallists.postgresql.org" Subject: Re: Clustering solution ? Message-ID: <20200713185542.26f10fcc@firost> In-Reply-To: <586641981.4851022.1594302826116@mail.yahoo.com> References: <586641981.4851022.1594302826116.ref@mail.yahoo.com> <586641981.4851022.1594302826116@mail.yahoo.com> Organization: Dalibo MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On Thu, 9 Jul 2020 13:53:46 +0000 (UTC) Laurent FAILLIE wrote: > Hello, > I've been asked by one of my customer to know which are the possible > clustering solution for PostgreSQL ? Active/passive ?Active/active ? > if possible free or not too expensive. Start first by setting up safe and indestructible backups. Look at PITR backups. Look at pg_backrest to help. As soon as you have correct backups, you have DR. Dig some more, optimize, and your PITR backup will be quite fast to restore. If your RTO is not met with that, dig some more and then, we can talk about HA, patroni and friends. Regards,