Description
Displays the locks held or requested by the current user on 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 of the transaction that holds or requests the lock. |
| SESSION_ID | bigint(20) | NO | The session ID of the transaction that holds or requests the lock.
Note
|
| TYPE | varchar(9) | NO | The lock type.
|
| ID1 | bigint(20) | NO | Lock identifier 1.
|
| ID2 | varchar(533) | NO | Lock identifier 2.
|
| ID3 | varchar(512) | NO | Lock identifier 3.
Note
|
| LMODE | varchar(8) | NO | The mode of the lock held by the current transaction.
|
| REQUEST | varchar(8) | NO | The mode of the lock requested by the current transaction.
|
| CTIME | bigint(20) | NO | The time when the lock was held or requested, in microseconds. |
| BLOCK | bigint(1) | NO | Indicates whether a lock requested by the transaction is held by another transaction.
|