posted by Sakila The Librarian
on
Tue 29 Sep 2009 07:41 UTC
Tags:
(
edit)
Databases,
Linux,
mysql,
Professional,
Uncategorized,
application performance,
Caching,
mysql query cache,
query cache,
cache,
performance
Maximize your strengths, minimize your weaknesses.
You can apply this approach to many things in life, I apply it to describing and using MySQL the product, and it’s components. The Query Cache like many features in MySQL, and indeed features in many different RDBMS products (don’t get me started on Oracle *features*) have relative benefits. In one context it can be seen as ineffective, or even detrimental to your performance, however it’s course grain nature makes it both trivial to disable dynamically (SET GLOBAL query_cache_size=0;), and also easy to get basic statistics on current performance (SHOW GLOBAL STATUS LIKE ‘QCache%’;) to determine effectiveness and action appropriately.