SAP Knowledge Base Article - Preview

3444408 - LOCK TABLE gets locks on tables in random order - SAP IQ

Symptom

We can specify multiple tables in LOCK TABLE statement:

LOCK TABLE Table_A, Table_B in write mode wait '00:05:00';

LOCK TABLE gets the locks can be different from the order of the tables in the LOCK TABLE statement.
A deadlock may happen when the above LOCK TABLE is performed concurrently.
The deadlock will be reduced if LOCK TABLE gets the locks with the same order of the tables in the LOCK TABLE statement.


Read more...

Environment

SAP IQ 16.1

Product

SAP IQ 16.1

Keywords

LOCK TABLE, table order, getting locks, releasing locks, deadlock , KBA , BC-SYB-IQ , Sybase IQ , Product Enhancement

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.