Re: atomic commit; begin for long running transactions , in combination with savepoint.

From: "Trevor Talbot" <quension(at)gmail(dot)com>
To: kittylitter(at)people(dot)net(dot)au
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: atomic commit; begin for long running transactions , in combination with savepoint.
Date: 2007-10-15 16:09:57
Message-ID: 90bce5730710150909q4f51ebd2y7c86118ab1d0d87c@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 10/15/07, Syan Tan <kittylitter(at)people(dot)net(dot)au> wrote:

> >Also keep in mind that MVCC is not the only way to implement
> >transactions; pure locking is more common in other databases. In the
> >locking model, most transactions prevent others from writing until
> >after they are finished. Rows simply can't have different versions
> >(and of course concurrent performance is awful).
>
> what about postgresql doing something like snapshot isolation level as per
> the enemy M$ ?

SQL Server is normally a pure locking database; from what I can tell,
its snapshot isolation level adds a limited form of MVCC above that,
making its concurrent behavior closer to PostgreSQL's:
http://msdn2.microsoft.com/en-us/library/ms345124(d=printer).aspx

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Sam Mason 2007-10-15 16:19:36 Re: Calculation of per Capita on-the-fly - problems with SQL syntax
Previous Message Trevor Talbot 2007-10-15 16:05:50 Re: atomic commit; begin for long running transactions , in combination with savepoint.