From: Iain <iain@mst.co.jp>
To: Jim C. Nasby <decibel@decibel.org>
To: Bruno Almeida do Lago <teolupus@gmail.com>
Cc: 'Mitch Pirtle' <mitch.pirtle@gmail.com>
Cc: pgsql-performance@postgresql.org
Subject: Re: PostgreSQL clustering VS MySQL clustering
Date: Fri, 21 Jan 2005 11:14:59 +0900
Message-ID: <01a001c4ff5f$05688b50$7201a8c0@mst1x5r347kymb> (raw)
References: <330532b6050120104246597d2a@mail.gmail.com>
<000001c4ff51$c0e985e0$e883f40a@br.gedasgrp>
<20050121013040.GK67721@decibel.org>
Oracle's RAC is good, but I think it's best to view it as a step in the high
availability direction rather than a performance enhancer. While it can help
your application scale up, that depends on the usage pattern. Also it's not
100% transparent to the application for example you can't depend on a
sequence numbers being allocated uniquely as there can be delays propagating
them to all nodes. So in clusters where insert rates are high this means you
should explicitly check for unique key violations and try again. Dealing
with propagation delays comes with the clustering technology I guess.
Nonetheless, I would love to see this kind of functionality in postgres.
Regards
Iain
----- Original Message -----
From: "Jim C. Nasby" <decibel@decibel.org>
To: "Bruno Almeida do Lago" <teolupus@gmail.com>
Cc: "'Mitch Pirtle'" <mitch.pirtle@gmail.com>;
<pgsql-performance@postgresql.org>
Sent: Friday, January 21, 2005 10:30 AM
Subject: Re: [PERFORM] PostgreSQL clustering VS MySQL clustering
> On Thu, Jan 20, 2005 at 10:40:02PM -0200, Bruno Almeida do Lago wrote:
>>
>> I was thinking the same! I'd like to know how other databases such as
>> Oracle
>> do it.
>>
> In a nutshell, in a clustered environment (which iirc in oracle means
> shared disks), they use a set of files for locking and consistency
> across machines. So you better have fast access to the drive array, and
> the array better have caching of some kind.
> --
> Jim C. Nasby, Database Consultant decibel@decibel.org
> Give your computer some brain candy! www.distributed.net Team #1828
>
> Windows: "Where do you want to go today?"
> Linux: "Where do you want to go tomorrow?"
> FreeBSD: "Are you guys coming, or what?"
>
> ---------------------------(end of broadcast)---------------------------
> TIP 3: if posting/reading through Usenet, please send an appropriate
> subscribe-nomail command to majordomo@postgresql.org so that your
> message can get through to the mailing list cleanly
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-performance@postgresql.org
Cc: iain@mst.co.jp, decibel@decibel.org, teolupus@gmail.com, mitch.pirtle@gmail.com
Subject: Re: PostgreSQL clustering VS MySQL clustering
In-Reply-To: <01a001c4ff5f$05688b50$7201a8c0@mst1x5r347kymb>
References: <330532b6050120104246597d2a@mail.gmail.com> <000001c4ff51$c0e985e0$e883f40a@br.gedasgrp> <20050121013040.GK67721@decibel.org> <01a001c4ff5f$05688b50$7201a8c0@mst1x5r347kymb>
* 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