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 -> Re: Avoiding any locks in SQL Servers - read and understand....its magic.

Re: Avoiding any locks in SQL Servers - read and understand....its magic.

From: Billy Verreynne <vslabs_at_onwe.co.za>
Date: 18 Aug 2003 22:38:55 -0700
Message-ID: <1a75df45.0308182138.24d167ad@posting.google.com>


Guido Stepken <stepken_at_little-idiot.de> wrote i  

> There is a transaction manager, which keeps its eye on all timstamps of
> all inserts/updates and even on timestamps of transactions itself, to
> get all data reconstructed in the right way.
<snipped>

This still sounds like fantasy to me. Worse, data needs to be "reconstructed". This smacks of unneeded complexity and probable data corruption when the reconstruction gets it knickers in a knot.

The fact is that business processes do *not* work in parallel, but in serial. You cannot issue the invoice before the sale has happened. You cannot pay the claim before it is processed & evaluated. You cannnot evaluate it before it has been submitted.

This means that locking the claim row, PREVENTING *any* access to it, is mandatory for each discreet processing step. It also means that each step needs the row's data as updated by the previous step.

No amount timestamping and reconstruction can circumvent that.

The biggest flaw in your argument is thinking that locking is bad. It is not. Please provide tangible evidance that locking in a OLTP system is bad.

--
Billy
Received on Tue Aug 19 2003 - 00:38:55 CDT

Original text of this message

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