Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> performance of transaction isolation serializable / optimistic locking

performance of transaction isolation serializable / optimistic locking

From: Tinou Bao <tinou_at_tinou.com>
Date: Sat, 21 Jul 2001 21:22:53 GMT
Message-ID: <95d59091.0107021025.42d7614a@posting.google.com>

Hi,

I realize that there is a performance hit when you use serializable transaction, but I'm looking for a better feel of how much the hit is. I also realize this is a vague question since it'll depend on the ratio of writes to reads, the likelyhood of conflict, etc., but what are people's experiences with serializable transaction. Switching from default read committed to serializable what are "typical" performance hits you have experience. It seems that since Oracle doesn't put read locks for either serializable or read committed the hit in oracle for serializable may be significantly less than compared to other databases that uses read locks. Is this true. My issue is how to get optmistic locking. Seems that either to serialize the transaction or do verified updates. If the hit isn't that big I'd rather not have to make my sql verified the updates (i.e., update table set attribute = 'value' where version = x).

Much thanks.

--
Tinou Bao
www.tinou.com
Received on Sat Jul 21 2001 - 16:22:53 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US