Qcache_hits Is Zero Even Though Query Cache Is Enabled

(Doc ID 1566944.1)

Last updated on JULY 26, 2017

Applies to:

MySQL Server - Version 5.5 to 5.7 [Release 5.5 to 5.7]
Information in this document applies to any platform.


Even though the Query Cache is enabled, after any InnoDB Transaction, the Qcache_hits counter does not increase.

To check the Qcache_hits, run:

mysql> SHOW STATUS LIKE "Qcache_hits";


Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms