Hi,

 

I just turned on the query cache by modifying its size and limit and
restarting the server.  However queries aren't being stored to it:

 

Variable_name

Value

Qcache_free_blocks

1

Qcache_free_memory

10477008

Qcache_hits

0

Qcache_inserts

0

Qcache_lowmem_prunes

0

Qcache_not_cached

3759

Qcache_queries_in_cache

0

Qcache_total_blocks

1

 

 

I've found
http://dev.mysql.com/tech-resources/articles/mysql-query-cache.html
which says the qcache_not_cached variable is the number of queries which
were either not SELECT's or have SQL_NO_CACHE specified so I ran several
selects (selected records in a few tables using Query Browser and
refreshed a few web pages hitting the db).  None of the queries have the
no cache option specified.

 

What else would prevent queries from getting into the cache?

 

Kathy Mazur Worden

Prairie Area Library System

 

Reply via email to