Help Center> Relational Database Service> FAQs> Database Performance> How Do I Improve the Query Speed of My RDS Database?

How Do I Improve the Query Speed of My RDS Database?

The following are some suggestions provided for you to improve the database query speed:

  • View the slow query logs to check whether any slowly executed SQL queries exist and view their performance characteristics (if any) to locate the cause.
  • View the CPU usage of your RDS DB instance to facilitate problem locating.
  • Create read replicas to offload read pressure on the primary DB instance.
  • Add indexes for associated fields in multi-table association queries.
  • Specify a field or add a where clause, avoiding full table scanning through the SELECT statement.