Re: Two Phase Commit WAS: Re: Two weeks to feature freeze

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Rod Taylor <rbt(at)rbt(dot)ca>
Cc: Josh Berkus <josh(at)agliodbs(dot)com>, PostgreSQL Development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Two Phase Commit WAS: Re: Two weeks to feature freeze
Date: 2003-06-23 22:23:03
Message-ID: 200306232223.h5NMN3s17936@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Rod Taylor wrote:
-- Start of PGP signed section.
> > Perhaps the people on this list who are pushing 2PC could do the ground work?
>
>
> - 2PC is better than a standard transaction when dealing with multiple
> servers as it can recover in some circumstances (but not all).
>
> - 2PC (XA support as described by the X/Open group) is the only
> implementation of distributed transactions supported by many third party
> components -- that I'm aware of -- to the point where it is a part of
> the Java Spec on dealing with distributed transactions.
>
> - 2PC isn't very good in a number of circumstances, as such PostgreSQL
> should avoid its use when PostgreSQL has a choice in the matter -- like
> communication with other PostgreSQL servers.
>
> This is a case of learning to speak Japanese because all of the people
> you want to talk with only speak Japanese. It simply doesn't matter how
> good Esperanto is.

Agreed --- other db's have it, and people ask for it, so we should just
do our best and document the limitations.

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message The Hermit Hacker 2003-06-23 22:30:20 Re: Two Phase Commit WAS: Re: Two weeks to feature freeze
Previous Message Mike Mascari 2003-06-23 22:22:09 Re: Two Phase Commit WAS: Re: Two weeks to feature freeze