Answer the question
In order to leave comments, you need to log in
MySQL caching, how to see what is cached?
Hello!
I have a table of products: id, title, price, balance.
The list of goods is displayed on the site with all the data.
The value of the remainder changes very often. Every time the table is updated, the cache is reset.
I want to take out the data on the balances in another table. So that there would be two queries, one to the table with goods, the second to the table with balances. So that the first request would receive data from the cache as often as possible, because. this table will not be updated frequently. And the second request from the cache will be less frequent.
But here the following situation arises, but how to check that I am doing everything right?
How to see that, yes, indeed, the cache contains data on requests to the first table, but data on requests to the second.
But I updated the table of residuals and only the cache for queries to the first table remained?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question