pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Peter J. Holzer <hjp-pgsql@hjp.at>
To: pgsql-general@lists.postgresql.org
Subject: Re: Real application clustering in postgres.
Date: Sun, 8 Mar 2020 21:13:16 +0100
Message-ID: <20200308201316.GD22585@hjp.at> (raw)
In-Reply-To: <29d192b7b0b198b5e1253fac35e7654331614053.camel@cybertec.at>
References: <BY5PR01MB58436F3E3FCE8FD0CF73A29F9BE20@BY5PR01MB5843.prod.exchangelabs.com>
	<1aa5a345543ea85b3e0e7d3021ed6b1cdc04e66c.camel@cybertec.at>
	<a3ba6d89-99cd-6344-28f3-427d60a738ef@gmail.com>
	<29d192b7b0b198b5e1253fac35e7654331614053.camel@cybertec.at>

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.
> > 
> > This is utter nonsense.  Dual redundant storage controllers
> > connected to disks in RAID-10 configurations have been around for at
> > least 25 years.
> > 
> > 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.
> 
> I am not saying that it is buggy, it is limited by design.
> 
> 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

-- 
   _  | Peter J. Holzer    | Story must make more sense than reality.
|_|_) |                    |
| |   | hjp@hjp.at         |    -- Charles Stross, "Creative writing
__/   | http://www.hjp.at/ |       challenge!"

Attachments:

  signature.asc (application/pgp-signature, 832B) download

view thread (17+ messages)  latest in thread

Message-ID: <20200308201316.GD22585@hjp.at>
Permalink:  ../20200308201316.GD22585@hjp.at/
Also on:    postgresql.org/message-id/20200308201316.GD22585@hjp.at

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: hjp-pgsql@hjp.at
  Subject: Re: Real application clustering in postgres.
  In-Reply-To: <20200308201316.GD22585@hjp.at>
  References: <BY5PR01MB58436F3E3FCE8FD0CF73A29F9BE20@BY5PR01MB5843.prod.exchangelabs.com> <1aa5a345543ea85b3e0e7d3021ed6b1cdc04e66c.camel@cybertec.at> <a3ba6d89-99cd-6344-28f3-427d60a738ef@gmail.com> <29d192b7b0b198b5e1253fac35e7654331614053.camel@cybertec.at> <20200308201316.GD22585@hjp.at>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox