Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.misc -> Re: changing the isolation level
> The data changed by a session in Oracle can never been seen by another
> session until it is committed. Why doesn't the session making the
> change perform the verification test to begin with?
Because it are two different applications. Currently, they are both written in Perl, but one of them is about to change to Java. So session-sharing is not possible.
Our current process is easy: The first process that changes data is left open, the transaction is neither commited nor rolled back. Then I can perform tests on the data (and I know by design, that noone else is using the "dirty" data at the same time). If I'm happy with it, I commit the changes. If not, I will rollback them.
Think of a script, that generates invoices montly. Lets say you have a average volume of $1000 dollar. So if a run of the script in the next month just returns a volume of $200 you can be pretty sure, that something has gone wrong. But if you cannot see this until you confirmed all the stuff, then it is too late to revoke it.
Sybase supports all levels of isolation, so when I read that Oracle doesn't allow a certain isolation level it just sounds like a lame excuse for a missing feature. It should be up to the user which isolation level to use and if I want to read "dirty" data, then why not?
Regards
Marten
Received on Mon Jan 15 2007 - 09:06:37 CST