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.