Re: User-facing aspects of serializable transactions

From: Josh Berkus <josh(at)agliodbs(dot)com>
To: Kevin Grittner <Kevin(dot)Grittner(at)wicourts(dot)gov>
Cc: Heikki Linnakangas <heikki(dot)linnakangas(at)enterprisedb(dot)com>, Robert Haas <robertmhaas(at)gmail(dot)com>, Greg Stark <greg(dot)stark(at)enterprisedb(dot)com>, Jeff Davis <pgsql(at)j-davis(dot)com>, "<pgsql-hackers(at)postgresql(dot)org>" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: User-facing aspects of serializable transactions
Date: 2009-06-01 18:24:14
Message-ID: 4A241CCE.3050000@agliodbs.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Kevin,

> I'm not sure it's without value to the project; I just don't know that
> it would be worth using for us. It seems to be accepted in some other
> DBMS products. Since some (like MS SQL Server) allow users to choose
> snapshot isolation or blocking-based serializable transactions in
> their MVCC implementation, it would be interesting to know how many
> users have chosen the latter. Has anyone seen numbers (or even have
> anecdotal evidence) on this point?

This approach allowed MSSQL to "clean up" on TPCE; to date their
performance on that benchmark is so much better than anyone else nobody
else wants to publish.

So, at least theoretically, anyone who had a traffic mix similar to TPCE
would benefit. Particularly, some long-running serializable
transactions thrown into a mix of Read Committed and Repeatable Read
transactions, for a stored procedure driven application.

In the field, we're not going so see a lot of requests for this because
most applications that complex run in Java middleware with pessimistic
locking. To the exent, though, that we want to promote PostgreSQL as
'better development platform' for transactional applications, it might
be beneficial to support more sophisticated serializablity.

Besides, I'd love to beat Microsoft on TPCE. ;-)

--
Josh Berkus
PostgreSQL Experts Inc.
www.pgexperts.com

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Alvaro Herrera 2009-06-01 18:35:58 Re: PostgreSQL Developer meeting minutes up
Previous Message Tom Lane 2009-06-01 18:17:44 Re: It's June 1; do you know where your release is?