Re: Serializable snapshot isolation patch - Mailing list pgsql-hackers

From Robert Haas
Subject Re: Serializable snapshot isolation patch
Date
Msg-id AANLkTikmG3w-mWkxQbPWq9syk-MVf=SDk-PDRL=CNc5h@mail.gmail.com
Whole thread Raw
In response to Re: Serializable snapshot isolation patch  ("Kevin Grittner" <Kevin.Grittner@wicourts.gov>)
Responses Re: Serializable snapshot isolation patch
List pgsql-hackers
On Tue, Oct 19, 2010 at 6:28 PM, Kevin Grittner
<Kevin.Grittner@wicourts.gov> wrote:
> One thing that would work, but I really don't think I like it, is
> that a request for a snapshot for such a transaction would not only
> block until it could get a "clean" snapshot (no overlapping
> serializable non-read-only transactions which overlap serializable
> transactions which wrote data and then committed in time to be
> visible to the snapshot being acquired), but it would *also* block
> *other* serializable transactions, if they were non-read-only, on an
> attempt to acquire a snapshot.

This seems pretty close to guaranteeing serializability by running
transactions one at a time (i.e. I don't think it's likely to be
acceptable from a performance standpoint).

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company


pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: WIP: extensible enums
Next
From: Andrew Dunstan
Date:
Subject: Re: WIP: extensible enums