EmergencyEMERGENCY? Get 24/7 Help Now!

Galera Cache (gcache) is finally recoverable on restart

 | November 30, 2016 |  Posted In: MySQL, Percona XtraDB Cluster, XtraDB Cluster


This post describes how to recover Galera Cache (or gcache) on restart. Recently Codership introduced (with Galera 3.19) a very important and long awaited feature. Now users can recover Galera cache on restart. Need If you gracefully shutdown cluster nodes one after another, with some lag time between nodes, then the last node to shutdown holds […]

Read More

All You Need to Know About GCache (Galera-Cache)

 | November 16, 2016 |  Posted In: High-availability, MySQL, Percona XtraDB Cluster, XtraDB Cluster


This blog discusses some important aspects of GCache. Why do we need GCache? Percona XtraDB Cluster is a multi-master topology, where a transaction executed on one node is replicated on another node(s) of the cluster. This transaction is then copied over from the group channel to Galera-Cache followed by apply action. The cache can be discarded immediately […]

Read More

Understanding GCache and Record-Set Cache in Percona XtraDB Cluster

 | April 11, 2016 |  Posted In: MySQL, Percona XtraDB Cluster

MongoDB and MySQL

In this blog, we will examine the differences between GCache and Record-Set Cache in Percona XtraDB Cluster. In Percona XtraDB Cluster (PXC), there is the concept of GCache and Record-Set cache (which can also be called transaction write-set cache). The use of these two caches is often confusing if you are running long transactions, as both of […]

Read More

How to calculate the correct size of Percona XtraDB Cluster’s gcache

 | September 8, 2014 |  Posted In: Insight for DBAs, MySQL, Percona MySQL Support, Percona Software, Percona XtraDB Cluster

When a write query is sent to Percona XtraDB Cluster all the nodes store the writeset on a file called gcache. By default the name of that file is galera.cache and it is stored in the MySQL datadir. This is a very important file, and as usual with the most important variables in MySQL, the […]

Read More