RDS Performance Insights doesn't display all top SQL stats

0

We have an issue with Performance Insights for one of our RDS instances. We have two mysql 5.7.38, db.m5.xlarge instances. Both DB uses the same parameter group, security groups and the monitoring role. One instance is a primary, and the second is a read-only replica. We enabled Performance Insights and Enhanced monitoring on both of them.

Unfortunately, only the read-only replica shows full stats for top SQL queries.

Primary DB Enter image description here

Read-only replica Enter image description here

I have trierd disable and enable Performance Insights and reboot instance, no luck so far.

1개 답변
1

This is because the query distribution differs for Primary and read only replica. Primary serves as the Writer endpoint and can also server read requests. Read replica only handles the read queries, your application is sending all Select requests to read replica thats the reason you see all the Select queries in the stats.

AWS
답변함 10달 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인