2回答
- 新しい順
- 投票が多い順
- コメントが多い順
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.
回答済み 2年前
thanks Colin, your advice is very helpful for me to solve the issue. and the problem is solved.