next up previous contents index
Next: Conclusion Up: Consistency Previous: Operation Level Consistency   Contents   Index


System Level Consistency

System level consistency is a promise given by the transactional system that the execution of transactions that uphold certain requirements (as a minimum they should be correct, i.e., operation level consistent) leave an initially correct system state into another correct system state.

If the system guarantees that transactions are atomic, isolated, and durable then system level consistency is no more than operation level consistency--if transactions that produce correct result when executed alone, are executed as if they were alone, then they will produce correct results.

If, for instance, the system does not guarantee isolation, additional requirements4.3may be put on the transactions for the system to make any promises. In ORACLE transactions are not isolated and additional locking is required [37]:

"SELECT FOR UPDATE [that acquires explicit row locks] is recommended when you need to lock a row without actually changing it. For example, if you intend to base an update on the existing values in a row, you need to make sure the row is not changed by someone else before your update."



Footnotes

... requirements4.3
In addition to being operation level consistent.

next up previous contents index
Next: Conclusion Up: Consistency Previous: Operation Level Consistency   Contents   Index

michael@garfield.dk
2000-10-13