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: Changing isolation level? ++ scenarios

Re: Changing isolation level? ++ scenarios

From: Billy Verreynne <vslabs_at_onwe.co.za>
Date: 4 Dec 2003 23:57:32 -0800
Message-ID: <1a75df45.0312042357.5c158776@posting.google.com>


"mcstock" <mcstock @ enquery .com> wrote in message

> lots of good discussion, but no one has yet addressed the basic issue: no
> matter what isolation level is available, data can change immediately after
> the read

<snipped>

Interesting scenarios, but one that cannot just be solved by database locking. DB locking & isolation levels are the tools. The *application* must put them to proper use.

So what should the app do then?

Which brings us to the The Real Question - *how* the business wants to handle the scenario you describe.

The real problem is conflict between sales - and that needs a business decision on how it must be resolved. After which the app does it using business logic and isolation levels in the database.

For example. Bob serves Customer A. Jack Customer B. Customer A is a corporate client. B is the shop around the corner. Who gets product volume preference?

Another example. Sales may want to see what the current product figures are that are being negiotated for sale. I.e. while you talk to your client, you enter the product volumes you want to sell. A running total is updated on your screen every few seconds showing the current product volume available versus the sum of what sales are busy being negotiated.

The bottom line IMO is information. Provide the business with information in order for them to make their decisions. Isolation levels are not an issue - not if you use Oracle correctly and not if you design your app & database correctly.

--
Billy
Received on Fri Dec 05 2003 - 01:57:32 CST

Original text of this message

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