Lock analysis
The Lock Analysis feature in Database Autonomy Service (DAS) lets you view and analyze the most recent deadlock in a database instance. This topic describes how to use this feature.
Prerequisites
-
If the target database instance is PolarDB-X 2.0, its major version must be 5.4.13 or later.
-
The target database instance must be connected to DAS and have a status of Normal Access. For more information, see Connect a database instance to DAS.
Procedure
Log on to the DAS console.
In the navigation pane on the left, click .
Find the target instance and click the instance ID to open the instance details page.
-
In the left-side navigation pane, click Lock Analysis.
-
On the Lock Analysis page, view or diagnose deadlocks.
-
Click Diagnose to run a deadlock diagnosis.
-
Select a time range to view the deadlock diagnosis results.
Click View Details to see the details of a diagnosis result.
-