Hi when I read the documentation about how the query it's doesn't clear
my mind about how it can optimize db quering.
When I include a SQL_CACHE clause in a query, does the datas are stored
in memory or not ?
If for exemple I've a series of queries :
SELECT [fields] FROM [db] WHERE [statement= value1]
SELECT [fields] FROM [db] WHERE [statement= value2]
SELECT [fields] FROM [db] WHERE [statement= value3]
SELECT [fields] FROM [db] WHERE [statement= value4]
the only things who change are the statement, any optimisation is
possible by adding "SELECT SQL_CACHE" ?
In the documentation I read :
" Queries are compared before parsing, so the following two queries are
regarded as different by the query cache:"
In my example does caching by adding SQL_CACHE are done for each queries ?
thx for your response