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.92) (envelope-from ) id 1jB2Ii-0008Vg-HV for pgsql-general@arkaria.postgresql.org; Sun, 08 Mar 2020 20:13:28 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1jB2If-00014Q-0c for pgsql-general@arkaria.postgresql.org; Sun, 08 Mar 2020 20:13:25 +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 1jB2Ie-00014H-Jf for pgsql-general@lists.postgresql.org; Sun, 08 Mar 2020 20:13:24 +0000 Received: from mail.hjp.at ([212.17.106.138] helo=rorschach.hjp.at) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jB2IX-0001wS-UI for pgsql-general@lists.postgresql.org; Sun, 08 Mar 2020 20:13:23 +0000 Received: by rorschach.hjp.at (Postfix, from userid 1000) id 3D417274F; Sun, 8 Mar 2020 21:13:16 +0100 (CET) Date: Sun, 8 Mar 2020 21:13:16 +0100 From: "Peter J. Holzer" To: pgsql-general@lists.postgresql.org Subject: Re: Real application clustering in postgres. Message-ID: <20200308201316.GD22585@hjp.at> References: <1aa5a345543ea85b3e0e7d3021ed6b1cdc04e66c.camel@cybertec.at> <29d192b7b0b198b5e1253fac35e7654331614053.camel@cybertec.at> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="n2Pv11Ogg/Ox8ay5" Content-Disposition: inline In-Reply-To: <29d192b7b0b198b5e1253fac35e7654331614053.camel@cybertec.at> User-Agent: Mutt/1.10.1 (2018-07-13) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk --n2Pv11Ogg/Ox8ay5 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 2020-03-06 15:55:27 +0100, Laurenz Albe wrote: > On Fri, 2020-03-06 at 03:25 -0600, Ron wrote: > > > RAC is not really a high availability solution: because of the shared > > > storage, it has a sibgle point of failure. > >=20 > > This is utter nonsense. Dual redundant storage controllers > > connected to disks in RAID-10 configurations have been around for at > > least 25 years. > >=20 > > Oracle got it's clustering technology from DEC, and I know > > that works. Cluster members, storage controllers and disks have all > > gone down, while the database and application keep on humming along. >=20 > I am not saying that it is buggy, it is limited by design. >=20 > If you have mirrored disks, and you write junk (e.g, because of > a flaw in a fibre channel cable, something I have witnessed), > then you have two perfectly fine copies of the junk. I have certainly seen enterprise SAN boxes go down (or deliver corrupted data) because of controller or firmware problems or just because a second disk in a RAID-5 failed before the spare could be brought online. But to be fair, a master/slave setup a la patroni isn't immune against "writing junk" either: Not on the hardware level (either of the nodes may have faulty hardware, and you may not notice it until too late), and more importantly, not on the software level. An erroneus DML statement (because of a bug in the application, or because the user/admin made a mistake) will cause the same wrong data to be distributed to all nodes (of course this also applies to RAC). hp --=20 _ | Peter J. Holzer | Story must make more sense than reality. |_|_) | | | | | hjp@hjp.at | -- Charles Stross, "Creative writing __/ | http://www.hjp.at/ | challenge!" --n2Pv11Ogg/Ox8ay5 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEETtJbRjyPwVTYGJ5k8g5IURL+KF0FAl5lUdcACgkQ8g5IURL+ KF25yw//SGK+QFYRBboDFWTN67TlMes6PnA7B6SO0OpQ3AbRQLdYMtXJV+gv2g+A eiTPzWvwuPalVdgATyTzkHxW9yE3wW3wfSV7pUwp1n9mZGSZCb65+Opxk36yvhtf xWihaTEqk2nVY4UNReQoz1vk5iWi+b3H98iPRrlX+4jQ/Q/NlB5A8Oe8GB1QWEhP b+tivbn/+L7MU2EgeX2cBaIHc5grffWtIEAcKIXcEj6ZobDCASKzT/+fFagFZMJr uwZMLLcmJafqcafabcUC21F9O097tmLdDFAdvpNCU3QBBoByMdUNqqBtR4lUwBm3 4/Yl4+1yJCWxrInfzaAf4eKA/HfBSTYARybmXoOXnnMET9wO3sGd+zdLGa1KQHe8 1eEzy8NanvHLOWddoDPfvu1HfuR7IvZNLwrv+zCAQOIJucay9r4u47VTJrV8KtEY dBVIjFCA5Kqka/lckxqWD9BAoKJYnacKjzqocqqqgM3khGTHHmBpxsXI6E1qJnOM r1uCWmpit1sdoiLZ8jJrK36rICvRYVWu73qiw7SsQrE6zXLhcYb0FICDN6rjS3Tw WpPtv5GBWBGumrn80gI6FOdRGqE2PReCBR7yLLdD/873RkzqMvpeME6p+8zJvSIQ j6HfR0TZwoi1etsiuI38LQDMHhmELKhmWwXd1R5EeJvSWz3vhQ8= =vKct -----END PGP SIGNATURE----- --n2Pv11Ogg/Ox8ay5--