Re: Overhead cost of Serializable Snapshot Isolation - Mailing list pgsql-hackers

From Heikki Linnakangas
Subject Re: Overhead cost of Serializable Snapshot Isolation
Date
Msg-id 4E9347DB.7090804@enterprisedb.com
Whole thread Raw
In response to Overhead cost of Serializable Snapshot Isolation  (Greg Sabino Mullane <greg@endpoint.com>)
Responses Re: Overhead cost of Serializable Snapshot Isolation  ("Kevin Grittner" <Kevin.Grittner@wicourts.gov>)
Re: Overhead cost of Serializable Snapshot Isolation  (Simon Riggs <simon@2ndQuadrant.com>)
List pgsql-hackers
On 10.10.2011 21:25, Greg Sabino Mullane wrote:
> I agree it is better versus SELECT FOR, but what about repeatable read versus
> the new serializable? How much overhead is there in the 'monitoring of
> read/write dependencies'? This is my only concern at the moment. Are we
> talking insignificant overhead? Minor? Is it measurable? Hard to say without
> knowing the number of txns, number of locks, etc.?

I'm sure it does depend heavily on all of those things, but IIRC Kevin 
ran some tests earlier in the spring and saw a 5% slowdown. That feels 
like reasonable initial guess to me. If you can run some tests and 
measure the overhead in your application, it would be nice to hear about it.

--   Heikki Linnakangas  EnterpriseDB   http://www.enterprisedb.com


pgsql-hackers by date:

Previous
From: Alex Shulgin
Date:
Subject: Re: Should we get rid of custom_variable_classes altogether?
Next
From: Dan Ports
Date:
Subject: Re: Overhead cost of Serializable Snapshot Isolation