Database Autonomy Service (DAS) enables the deadlock analysis feature to analyze the latest deadlock and check the analysis details.

Prerequisites

This feature is available only for ApsaraDB RDS for MySQL and PolarDB for MySQL instances.

Procedure

  1. Log on to the DAS console.
  2. In the left-side navigation pane, click Instance Monitoring.
  3. On the Instance Monitoring page, find the instance that you want to view, and click the instance ID.
  4. In the left-side navigation pane of the instance details page, click Deadlock Analysis.
  5. On the Deadlock Analysis page, click Diagnose in the upper-left corner.
  6. Find a new deadlock entry, and click View Details in the Details column.
  7. In the Deadlock Analysis dialog box, check the deadlock analysis results. You can click View Deadlock Log to view the details of the latest deadlock log.