| Oracle FAQ | Your Portal to the Oracle Knowledge Grid | |
Home -> Community -> Usenet -> comp.databases.theory -> Re: computational model of transactions
paul c wrote:
> Bob Badour wrote: >
> > Like give all 100,000 employees a 10% raise. Still, that kind of commit > is not what I call a logical commit, suggesting that a commit doesn't > mark a luw boundary. I've heard it called an 'intermediate', aka > physical, commit.
There is nothing intermediate about it. I think you are talking about splitting logical unit of work into multiple units of work, which is something entirely different. Your comment suggests to me you have worked with Oracle and it's, ahem, wasteful and unforgiving use of rollback segments.
Instead of committing after every transaction the batches committed after every n transactions. Now, I realize that makes them all part of the same transaction in terms of begin transaction/commit transaction, but in terms of serializability, this introduces no risk.
The batches were more along the lines of: I have a file from a different source that describes all the changes to the employment records of all the employees for the last period, and now I have to apply those changes to my database. An individual logical unit of work might update two or three tables, and the update would have to be atomic. Instead of committing after each logical unit of work, the batch program would process a bunch of them before issuing a commit. Received on Tue Aug 01 2006 - 18:03:46 CDT
![]() |
![]() |