New locking schemes

Adaptive Server version 11.9.2 provides two new locking schemes to improve the concurrency and performance of Adaptive Server:

Together, these new locking schemes are referred to as data-only locking.

The pre-11.9.2 locking scheme continues to be supported; it is called allpages locking, and it is the default locking scheme when you first install or upgrade to version 11.9.2. A System Administrator can specify any locking scheme as the server-wide default.

Users can specify a locking scheme for a newly created table, using the create table command, and can change the locking scheme for an existing table to any other locking scheme using the alter table command.

Some of the changes made to support these new locking schemes include:

NoteThe number of locks available to all processes on the server is limited by the configuration parameter number of locks. Changing to data-only locking affects the number of locks required during query processing.