Database Autonomy Service (DAS) provides the deadlock analysis feature for ApsaraDB RDS for MySQL. This feature allows you to view and analyze the latest deadlock of an ApsaraDB RDS for MySQL instance.
Prerequisites
Your RDS instance runs one of the following MySQL versions and RDS editions:
- MySQL 8.0 on RDS High-availability Edition or RDS Enterprise Edition
- MySQL 5.7 on RDS High-availability Edition or RDS Enterprise Edition
- MySQL 5.6 on RDS High-availability Edition
- MySQL 5.5 on RDS High-availability Edition
Procedure
- Access RDS Instances, select a region at the top, and then click the ID of the target RDS instance.
- In the left-side navigation pane, choose .
- Click the Deadlock Analysis tab.
- In the upper-left corner of the Deadlock Analysis tab, click Diagnose.
- Find the generated deadlock entry and click View Details in the Details column.
- 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.