MySQL Quick Tip: Clear query cache

Avatar for vbabiy@howsthe.com

MySQL Quick Tip: Clear query cache

Published July 26, 2010 by Vitaly Babiy

I was working with mysql today and I needed to clear the query cache (without restarting the server :)). The following statement does just that:

RESET QUERY CACHE;

Thats all, enjoy.

Tags
  • mysql
  • quicktip
  • sql

Written By Vitaly Babiy

Avatar for vbabiy@howsthe.com

Vitaly Babiy is the creator of Howsthe.com (Yes, you can contact him about the service). He is a software engineer at heart, loves working with great technologies like Django and Jquery. Vitaly spends most of his days in python and loves it. Another passion of Vitaly's is learning the business side of things, one of the reason why he started Howsthe.com monitoring service. You can follow him on Twitter

blog comments powered by Disqus

A blog about development, marketing, and design.

The next version of Ubuntu is coming soon