Contents Index Improving concurrency at isolation levels 2 and 3 Isolation level tutorials

ASA SQL User's Guide
  Using Transactions and Isolation Levels
    Choosing isolation levels

Reducing the impact of locking


You should avoid running transactions at isolation level 3 whenever practical. They tend to place large number of locks and hence impact the efficient execution of other concurrent transactions.

When the nature of an operation demands that it run at isolation level 3, you can lower its impact on concurrency by designing the query to read as few rows and index entries as possible. These steps will help the level 3 transaction run more quickly and, of possibly greater importance, will reduce the number of locks it places.

In particular, you may find that adding an index may greatly help speed up transactions, particularly when at least one of them must execute at isolation level 3. An index can have two benefits:

For more information about the details of the locking methods employed by Adaptive Server Anywhere is located in How locking works.

For more information on performance and how Adaptive Server Anywhere plans its access of information to execute your commands, see Monitoring and Improving Performance.


Contents Index Improving concurrency at isolation levels 2 and 3 Isolation level tutorials