Created
May 10, 2014 16:25
-
-
Save ksemel/e7ba75e122f5eef641c5 to your computer and use it in GitHub Desktop.
Check if the Query Cache is enabled, and in use
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Check Query Cache Status | |
# is query cache available | |
SHOW VARIABLES LIKE 'have_query_cache'; | |
# What is the cache set for? | |
SHOW VARIABLES LIKE 'query%'; | |
# How much is actually used? | |
SHOW STATUS LIKE 'Qc%'; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment