| Oracle FAQ | Your Portal to the Oracle Knowledge Grid | |
Home -> Community -> Usenet -> comp.databases.theory -> Re: "Transactions are bad, real bad" - discuss
"Mikito Harakiri" <mikharakiri_at_ywho.com> wrote in message
news:xIUta.16$Im6.169_at_news.oracle.com...
> I'm not sure what is the best point to rollback:-)
>
> Did you agree that multiversion concurrency model and derived "flashback"
> query functionality allows quering the state of the auction AS OF 12:00 when
> physically queried at later time, say 12:15? It might seem to be no big
> deal, because alternatively the auction organizers must schedule their query
> exactly at 12:00.
> However, as you mentioned, if auction bidder is allowed
> direct access to the database,
Which is required for strong application independence.
> he might start transaction that
> [intentionally] would not meet the deadline.
Agreed.
> At 12:00, with one transaction
> still in progress organizers query would wait for an exclusive lock.
Yes
> You
> wont be able either to enforce the rule "Any transaction must be committed
> before 12:00", nor get the auction snapshot at 12:00.
Indeed. The business rule "the auction must close at 12:00" is not enforceable as a relational constraint is transactions are allowed.
Therefore if you want strong application independence, you cannot also have transactions.
Have I not proved my point?
Regards
Paul Vernon
Business Intelligence, IBM Global Services
Received on Fri May 09 2003 - 05:02:52 CDT
![]() |
![]() |