Re: Anyone know why PostgreSQL doesn't support 2 phase

From: "Ron Peacetree" <rjpeace(at)earthlink(dot)net>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Anyone know why PostgreSQL doesn't support 2 phase
Date: 2003-04-09 16:35:20
Message-ID: cZXka.15787$ey1.1368129@newsread1.prod.itd.earthlink.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

"Jan Wieck" <JanWieck(at)Yahoo(dot)com> wrote in message
news:3E942A99(dot)A6102F2D(at)Yahoo(dot)com(dot)(dot)(dot)
> Ron Peacetree wrote:
> > [...]
> > The lack of two phase =commit= is a also a potential performance
hit
> > in comparison to DB products that have it, but the more important
> > issue there is that there are SMP/distributed apps that really
can't
> > work acceptably unless a DB product has two phase commit.
> >
> > The three "biggies" in DB land, SQL Server, Oracle, and DB2, have
both
> > features. I suspect that PostgreSQL will need to as well...
>
> Ron, do you actually have some ideas how to do 2 phase commits?
> Especially things like how to re-lock during startup after a crash
and
> the like? Or is your knowledge in reality only buzzwords collected
from
> high glossy tradeshow flyers?
>
If "some ideas" means "do I know how to code it into PostgreSQL right
now", the answer is no. If "some ideas" means "do I understand the
general problem at a technical level well enough to be thinking about
the algorithms and datastructures needed to support the functionality"
the answer is yes.

So I'd say a fair response to your questions is that my knowledge is
in between the two extremes you've described, but probably closer to
the first than the second ;-). We can have a private email discussion
on the topic if you wish.

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Nigel J. Andrews 2003-04-09 16:37:27 Re: How do you execute a postgresql function from perl?
Previous Message Tom Lane 2003-04-09 16:00:11 Re: Question about simple function folding optimization