Logical queries that are cached and those that are not

I am using PHP with MySQL 5.6 for my project, and I wanted to test and register which of my queries are cached and which are not.

I know that if the same query is repeatedly and repeatedly sent to the database, it retrieves the result from the cache, rather than retrieving from the database. Now, this is what I want to check, because I want to optimize my queries.

Now how do I do this? Is there any way?

Thanks in advance.

+4
source share
1 answer
+2

Source: https://habr.com/ru/post/1616927/


All Articles