BlockedTransaction CloudWatch alarm always in INSUFFICIENT DATA state.

0

Hi, I want to setup an alarm for AWS RDS mysql database. Whenever there is blocking in database sent a mail notification. I set-up it like below. But the alarm is always in INSUFFICIENT DATA state. i simulated blocking in database but no effect. Alarm description

Does anyone know what this BlockedTransaction metrics is evaluating?

已提問 1 年前檢視次數 466 次
1 個回答
0

Blockedtransactions is a cloudwatch metrics applicable for Aurora MySQL only. It gives average number of transactions in the database that are blocked per second this metric is based on innodb metric It is # of transactions currently waiting on row locks it is evaluated using

SELECT name, subsystem, status, count FROM INFORMATION_SCHEMA.INNODB_METRICS where NAME like 'LOCK_ROW_LOCK_CURRENT_WAITS';

+-----------------------------+-----------+---------+-------+
| name | subsystem | status | count |
+-----------------------------+-----------+---------+-------+
| lock_row_lock_current_waits | lock | enabled | 0 |
+-----------------------------+-----------+---------+-------+
1 row in set (0.08 sec)
AWS
已回答 1 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南