Description
Displays the locks held or requested by the current user on various tables.
Note
This view is introduced in V4.2.0.
Columns
| Column | Type | NULL? | Description |
|---|---|---|---|
| SVR_IP | varchar(46) | NO | The IP address of the OBServer node that holds or requests the lock. |
| SVR_PORT | bigint(20) | NO | The port number of the OBServer node that holds or requests the lock. |
| TENANT_ID | bigint(20) | NO | The ID of the tenant that holds or requests the lock. |
| TRANS_ID | bigint(20) | NO | The transaction ID that holds or requests the lock. |
| SESSION_ID | bigint(20) | NO | The session ID that holds or requests the lock.
Note
|
| TYPE | varchar(9) | NO | The lock type.
|
| ID1 | bigint(20) | NO | Lock identifier 1.
|
| ID2 | bigint(20) | NO | Lock identifier 2.
|
| ID3 | varchar(512) | NO | Lock identifier 3.
Note
|
| LMODE | varchar(4) | NO | The mode in which the lock is held.
|
| REQUEST | varchar(8) | NO | The mode in which the lock is requested.
|
| CTIME | bigint(20) | NO | The time when the lock was held or requested, in microseconds. |
| BLOCK | bigint(1) | NO | Indicates whether the lock requested by the current transaction is held by another transaction.
|