2 Answers
- Newest
- Most votes
- Most comments
2
To identify deadlocks on a database, please enable the innodb_print_all_deadlock and innodb_deadlock_detect parameter in the parameter group to log all deadlocks to errorlog. The INFORMATION_SCHEMA INNODB_TRX table can be queried. This gives you precise details about every running transaction in INNODB, including waits. Next, you can get error logs through Cloudwatch log, and filter keywords for alarm notification.
answered 2 years ago
1
thanks very much. it's helpful and the issue is solved by your advice.
answered 2 years ago
Relevant content
- asked 6 years ago
- asked 10 months ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 4 years ago
- AWS OFFICIALUpdated 3 years ago
thanks Colin, your advice is very helpful for me to solve the issue. and the problem is solved.