Skip to main content

Lock tree

Home > Select Project > Analysis > Lock Tree

This tool analyzes the trend of locks that occurred during the day. This function allows you to visually check the tree structure of the session that generated the lock (lock holder) and the session waiting for the lock (lock waiter). You can analyze the relationship between the holder and waiter of the lock that occurred at a specific time point.

Key features are as follows:

  • Lock trend analysis: The trends of locks that occurred during the set search period are traced over time and displayed in a graph. This allows you to visually check how the locks are created and resolved.

  • Check lock holder and waiter: You can see the holder and waiter for each lock in a tree structure. Through this, when a specific lock occurs, you can check the relationship between the session that generated the lock and the waiting session.

  • Inter-session relationship analysis: By analyzing the relationship between the session that generated the lock and the waiting session, you can identify the cause of the lock that occurred during the query execution and transaction handling.

This allows the database administrator to quickly identify and resolve lock-related issues and optimize the database performance.

Basic screen guide

Lock tree

Set the desired number1 date and time, and then select an instance from the number2 list. If a lock occurs at the set time, lock wait sessions and the retrieved data appear in the table at the bottom of the screen.

Column information guide

ItemDescription
tranindexTransaction index
userDatabase user name
hostHost name of CAS that performs transactions
pidBroker process ID
programClient program name
query_timeTotal execution time of active queries (unit: second)
tran_timeTotal execution time of transactions (unit: second)
transtatusTransaction status
lock_holderList of transactions that own a lock if transactions are waiting for the lock
sql_idID for SQL text
sql_textQuery statement being executed (up to 30 characters)
sql_paramLiteral value separated from query
sql_hashHash value of query (internal WhaTap control value)