cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

lock table

3,166

Working with lock up correctly? I am using Delphi with ASA 9.0.2.3951. The times of some customers complain about "locking" system. Analyzing the db, I realized that each select effected the tables involved are being blocked (see call sa_locks ()). The tables listed in sa_locks procedure may influence the performance of the database?

Accepted Solutions (1)

Accepted Solutions (1)

justin_willey
Participant

A lot will depend on what isolation level you are using. Have a look at this in the docs, but be aware that this link is for v10.0.1 - you are on the even older v9.0.2 which did not support Snapshot Isolation

In general you should use the lowest isolation level that is consistent with your needs for preserving the consistency of the data presented to users. Using high isolation levels will certainly have an effect on the concurrency of your application ie you will get locking.

Answers (0)