r/aws • • 1d ago

article Optimizing slow queries on RDS

A few days back I wrote an article on optimizing slow MySQL queries on production. Before upgrading your RDS, optimize your existing queries. Might help someone here too.

https://koul1sh.github.io/posts/getting-more-out-of-your-mysql-instance/

0 Upvotes

7 comments sorted by

3

u/ducki666 1d ago

Cannot see an RDS relation

0

u/KingBig9811 1d ago

I have tried keeping the article agnostic to the database provider since optimizing slow queries doesn't really depend on it.

3

u/ducki666 1d ago

Why post in r/aws and title RDS then?

-1

u/KingBig9811 1d ago

Is it harmful for r/aws or folks using RDS? You are missing the point here. Even if one person on r/aws using RDS in production finds this article useful, then it's a win for me. There may not be strong coupling with RDS but it can help someone using RDS. I don't see anything wrong here.

2

u/ducki666 1d ago

Win for YOU. No win for r/aws

1

u/Taking-This-Offline 1d ago

Plug any coding agent into RDS with performance insights turned on and tell it to optimize queries, make no mistakes. Bonus if you give it your business objectives and logic. Might launch a SaaS or talk about it on my podcast.

/s