Performance Insights and MySQL 5.7.22

0

Hello,

I have a MySQL RDS DB on MySQL 5.7.22. I'd like to enable Performance Insights on it. Looking here: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_PerfInsights.Enabling.html I see that I need to enable several parameters in my parameter group. So, I created a new Parameter Group. I used 'mysql5.7' as the Parameter Group Family.

I found 'performance_schema' in the newly-created Paramater Group no problem and set it to 1, but I don't see any of the 'performance-schema' parameters mentioned in the docs:

performance-schema-consumer-events-waits-current=ON
performance-schema-instrument='wait/%=ON'
performance-schema-consumer-global-instrumentation=ON
performance-schema-consumer-thread-instrumentation=ON

As far as I can tell, I can't add a parameter to a Parameter Group that isn't there; only modify the ones that are.

After assigning the Parameter Group and a restart of the DB, I was able to enable Performance Insights but only in the reduced mode mentioned here: https://aws.amazon.com/blogs/database/tuning-amazon-rds-for-mysql-with-performance-insights/ , where the Waits table isn't fully fleshed out.

Does anyone know how I can enable these parameters on my DB so that Performance Insights runs in full mode?

NFK001
asked 5 years ago919 views
2 Answers
1
Accepted Answer

Hi.

In order to enable performance insights you will need to modify the instance and enable the option for it. When you enable performance insights, the performance-schema parameters are automatically set for you. The parameters which you are trying to modify are managed by RDS and cannot be modified by the user.

Kindly note that performance insights is not supported on the following DB instances classes: db.t2.micro, db.t2.small, db.t3.micro and db.t3.small.

Kind regards
/Bennie

Bennie
answered 5 years ago
0

Performance insights are also not supported on databases instance type db.t3.medium.

answered 8 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions