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

Home -> Community -> Usenet -> comp.databases.theory -> Re: ACID et al

Re: ACID et al

From: Daniel Dittmar <daniel.dittmar_at_sap.corp>
Date: Mon, 05 Dec 2005 16:55:44 +0100
Message-ID: <dn1nu1$dao$1@news.sap-ag.de>


paul c wrote:
> 3) Assume the engine is single-threaded. Two users' messages can't
> interleave their actions between each other, ie., messages are
> 'single-file'.

This looks like a lock to me. A rather coarse-grained one.

> 4) Assume that a message to the engine includes all the db actions for
> some 'business' transaction. These actions might include re-iterated
> reads of rows that were issued in an earlier 'query' message, as well as
> possibly the values that were returned earlier, as well as update actions.
[...]
> with customer and or balance rows). The second updating message (which
> might occur many minutes or hours after the first) might reiterate the
> original queries in some form, perhaps including certain data such as
> 'balance = $500' which would be asserted to still be true before the
> debit is made persistent.

This looks like an optimistic lock, with the responsibility of enforcing it pushed to the application.

Daniel Received on Mon Dec 05 2005 - 09:55:44 CST

Original text of this message

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