Re: Lock-free databases

From: Joe Seigh <jseigh_01_at_xemaps.com>
Date: Fri, 04 Nov 2005 12:02:38 -0500
Message-ID: <lcCdnR_W06OUCfbeRVn-rA_at_comcast.com>


Mark D Powell wrote:
> If there is any mechanism in the db that single thread access to data
> such as not allowing two processes to change a data item at the same
> time then the db is not "lock" free. The vendor can call the mechanism
> latches or enqueues or anything else but the reality is that the
> mechanism is a lock.
>
> In fact Oracle uses all three terms. A lock, latch, and an enqueue all
> serve the same purpose: single thread access to something. With Oracle
> the difference is what that something is, and how the mechanism is
> implemented. Unless the db is read only I do not see how a db can be
> "lock free". I do not think the claim is honest.
>

I'm referring to the locking used internally in the implementation. If you have locking as part of the external api then you have to provide the correct semantics for it.

-- 
Joe Seigh

When you get lemons, you make lemonade.
When you get hardware, you make software. 
Received on Fri Nov 04 2005 - 18:02:38 CET

Original text of this message