Re: postgresql scalability, active-active cluster

From: Jeff Davis <pgsql(at)j-davis(dot)com>
To: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
Cc: brian stone <skye0507(at)yahoo(dot)com>, pgsql-general(at)postgresql(dot)org
Subject: Re: postgresql scalability, active-active cluster
Date: 2007-01-22 21:11:27
Message-ID: 1169500287.20694.26.camel@dogma.v10.wvs
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Mon, 2007-01-22 at 17:37 -0300, Alvaro Herrera wrote:
> brian stone wrote:
> > I never considered MySQL because I really DO need transactions. MySQL
> > also lacks many enterprise features we need; well they say they have
> > them but from my testing they are a bit under-cooked.
> >
> > I need atomic actions across an N number of application servers. The
> > goal here is scalability, which is why I brought up clustering.
> > Unfortunately, we really do need those transactions :(
>
> Maybe two-phase commit can help you here? (see the COMMIT PREPARED
> docs)
>

How much of a concern are deadlocks?

Is the correct way to do this to serially execute all the statements on
Node1, then Node2, ... NodeN (in order) to avoid deadlocks?

If you used async execution on all nodes at once, and then re-issued any
deadlocked transactions, how rare would deadlocks need to be for that to
be faster?

Regards,
Jeff Davis

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Joris Dobbelsteen 2007-01-22 21:15:55 Re: [HACKERS] Autovacuum Improvements
Previous Message Joshua D. Drake 2007-01-22 21:07:42 Re: [ANNOUNCE] == PostgreSQL Weekly News - January