Lock analysis

Updated at:

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

  1. Log on to the DAS console.

  2. In the navigation pane on the left, click Intelligent O&M Center > Instance Monitoring .

  3. Find the target instance and click the instance ID to open the instance details page.

  4. In the left-side navigation pane, click Lock Analysis.

  5. 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.