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
gefragt vor 5 Jahren931 Aufrufe
2 Antworten
1
Akzeptierte Antwort

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
beantwortet vor 5 Jahren
0

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

beantwortet vor 8 Monaten

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen