Re: incoherent view of serializable transactions - Mailing list pgsql-hackers

From Ron Mayer
Subject Re: incoherent view of serializable transactions
Date
Msg-id 4952C9C9.5050602@cheapcomplexdevices.com
Whole thread Raw
In response to Re: incoherent view of serializable transactions  ("Robert Haas" <robertmhaas@gmail.com>)
Responses Re: incoherent view of serializable transactions  (Robert Haas <robertmhaas@gmail.com>)
List pgsql-hackers
Robert Haas wrote:
>> ... serializable transaction ...
> If we were to construct a database that had one giant lock for the
> entire database so that only a single query could execute at one time,
> transactions would be serializable (because they'd in fact be
> serialized).  However, performance would suck.  

I wonder if this giant-lock-for-isolation-level-serializable
is a mode postgres should support.  ISTM it would meet the
letter of the spec, and at least some of the people using
"transaction isolation level serializable" are doing so precisely
because they *want* the database to deal with all possible
serialization issues, and accepting performance penalties.



pgsql-hackers by date:

Previous
From: Andrew Dunstan
Date:
Subject: Re: parallel restore vs. windows
Next
From: Robert Haas
Date:
Subject: Re: incoherent view of serializable transactions