The HDB_DBCC_RLOCK event is used in SAP to provide an overview of the status of HANA Database Record locks.
Potential Use Cases
This event could be used in the following scenarios:
Determine an overview of the status of record locks i.e. lock type, record id, table name, etc.
Monitor to determine if critical tables records are locked and send alerts
Determine how frequently records from the critical tables are locked
The event will look like this in Splunk:
Log in to the SAP system (having a HANA database) and execute the transaction DB01. Navigate to Diagnostics->Locks->Record Locks and currently locked records will be displayed.
Unit of Measure
Not Applicable for this Event Type (always blank)
The date time stamp when the information was collected
Transaction object ID owning the lock
Write transaction ID owning the lock
Lock acquisition time
Lock mode: EXCLUSIVE, INTENTIONAL EXCLUSIVE
The UTC OFFSSET in HHMMSS that the data was collected in
The UTC positive or negative OFFSET indicator. Positive (+) means add UTCDIFF to find the time zone of the data, negative (-) means subtract the UTCDIFF to find the time zone adjusted date time the data was collected in.
+ | -