-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: Optimistic locking: MVCC vs Hibernate versioning
PostPosted: Thu Jun 19, 2008 11:19 pm 
Regular
Regular

Joined: Fri Nov 07, 2003 6:31 am
Posts: 104
Location: Beijing, China
Pessimistic locking approach in our 4 years old web application has worked its time.

We definitely need to migrate to an optimitic approach.

While reading the few threads about MVCC, I realized most of them are 2 to 4 years old.
And none would give a clear explanation about what to consider when trying to choose between Hibernate versioning or DBMS native MVCC (or both together, why not?)

I'm wondering if arguments have change today:
- has PostgreSQL MVCC gone better in the past years?
- is Oracle MVCC still the most performant one?
- if MS SQL Server 2005 MVCC peforms poorly, what for 2008 version?
- how does that compare or work together with hibernate versioning?

Last but not least, when you suffer too many locks on your DB, would you consider migration to optimitic locking the first step to solve the matter?

lots of questions, I know, any opinion is welcome.
I'm sure the optimitic locking implementation problem is interesting for many of us.

_________________
/nodje


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.