| United States-English |
|
|
|
![]() |
ALLBASE/SQL Performance and Monitoring Guidelines: HP 9000 Computer Systems > Chapter 4 Guidelines on Transaction DesignUsing CS, RC, and RU Isolation Levels |
|
You can improve concurrency by using the Cursor Stability (CS) or Read Committed (RC) isolation levels with the BEGIN WORK statement. The effect of these options is to release shared locks before the transaction ends, whereas Repeatable Read (RR) holds them until the end of the current transaction. Read Uncommmitted (RU) promotes still greater concurrency by not obtaining any locks on user tables for read operations. The greatest benefit is obtained with RU if all your applications are using it. This allows a minimum of locking in the system, and a minimum of waiting for other locks to be released. Use appropriate isolation levels for the kind of read/write operations you are performing:
Users of CS, RC, and RU should be aware of the following:
All isolation levels work with sorted query results and with Type 2 INSERT statements. For more information, see the chapter "Concurrency Control Through Locks and Isolation Levels" in the ALLBASE/SQL Reference Manual. Also see the description of the BEGIN WORK statement in the "SQL Statements" chapter of the ALLBASE/SQL Reference Manual. |
|||||||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||