How to improve select 1 in MySQL?

Viewed 29

I am using a MySQL server hosted on AmazonRDS v8.0.27. The instance is a t2.micro with 1vCpu and 1GiB RAM.

If I execute select 1 the average time of this query is 35ms.

From my point of view, in this query neither tables nor index are involved. So I supposed that is the fastest query I can get. How could improve this response time? The only way to improve it is improve the subyacent hardware?

My final goal is not to improve the select 1 query but when I execute other simple queries, the average time is also around 35ms. So I supposed that queries are fully optimized. I am trying to optimize the global performance of the DB queries.

Thanks in advance.

0 Answers
Related