InnoDB Lock Waiting
InnoDB lock status management allows you to diagnose conflicts during execution of transactions or sessions with a few clicks. By querying the lock status, you can obtain the lock-holding and lock-wait information of transactions, such as the transaction status, session ID, locked table, and locked data range.
Currently, the InnoDB lock status query is in the open beta test period.
You have logged in to the DAS console.
- On the menu bar, choose Instance Management > InnoDB Lock Wait. If there is no transaction waiting for a lock, click the refresh button to view the latest lock query information.
- On the displayed page, the lock-holding and lock-wait information is displayed if a transaction is waiting for a lock.
- Move the cursor above the image to view detailed information.
- Click the image of lock-holding or lock-wait. A dialog box for killing the session is displayed.
- The default lock wait timeout is 50s. You can modify the innodb_lock_wait_timeout parameter to change the timeout value.
- The SQL window execution timeout is 300s.