Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I've read from multiple sources now that you can't have query caches with Galera, but my current application could really benefit from a query cache. I'm load-balancing this cluster with HAProxy and am curious if HAProxy has any kind of caching ability or if there is an easy solution to this problem I'm just missing?

share|improve this question

You could run into inconsistent data if you introduce separate caches elsewhere than inside MySQL. And I think that is the reason in the first place why Galera has no query cache.

The application should have its own cache with memcached, where required data would be stored.

share|improve this answer

Since MariaDB Galera cluster versions 5.5.40 and 10.0.14 you can use the query cache. Earlier versions do NOT support the query cache.


share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.