Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> Re: How to avoid waiting for locks during delete
"André Hartmann" <andrehartmann_at_hotmail.com> wrote:
> "Billy Verreynne" <vslabs_at_onwe.co.za> schrieb im Newsbeitrag
> news:1a75df45.0308140108.3ddc3f52_at_posting.google.com...
> > "André Hartmann" <andrehartmann_at_hotmail.com> wrote
> >
> > > > If you know that the data is locked with the DELETE/INSERT/UPDATE,
> > > > how will this make it better? You cannot force the transaction
> > > > through. All you can do is tell the user "sorry, no go - try
> > > > again". How is that better than having to wait?
> >
> > > YES !!! That is a 1000 times better ! Imagine the whole thing from
> > > the user's point of view: It is better to have the application tell
> > > you that some operation cannot be carried out right now that keep
> > > quiet and just display the hour-glass for an uncertain amount of
> > > time.
> >
> > Why do we have transactions? Multiple people changing the same data
> > and we need to have data integrity. ACID.
>
>
>
Aircraft are physical objects, with mass and dimensions. How does one "delete" an aircraft? I hope to god I never ride on an aircraft that has been "deleted" from your system. Someone may have unscrewed the bolts that hold the wings on, and committed. Then someone else came and "deleted" the aircraft. Now, no one knows to tighten the bolts back up, because they officially no longer exist.
> I rather talk to the person who manipulates the engines what
> he is doing there and tell him the aircraft is about to go anyway and if
> he doesnt want to continue work on some other aicraft or he tells me i
> must not delete.
Do people at your company just wander around doing whatever they feel like, as long as it's allowed by Oracle's transaction system? Again, I hope to God I am never on one of your aircraft.
> I take this as a means of conflict resolution which
> emerges out of many people working on the same thing. The application
> would detect that conflict (using oracle) and let the user decide how to
> handle it.
Oracle's job is to identify microconflicts, not macroconflicts.
> The cause of the problem is that two people work on the same thing. It is
> a requirement by our customer that the application maintains integrity
> and informs the user about such conflicts.
Then make your *application* maintain integrity and inform the user about such conflicts. It isn't Oracle's job to do so. Since you don't want your application to know that the conflicting tables even exist, then good luck with notifying the user about them.
>
>
How do you defer an update until after the things to be updated are deleted? You seem to be assuming the delete will always come in a millisecond after the update, but there is no reason it couldn't be the other way around.
Xho
-- -------------------- http://NewsReader.Com/ -------------------- Usenet Newsgroup Service New Rate! $9.95/Month 50GBReceived on Thu Aug 14 2003 - 12:05:25 CDT
![]() |
![]() |