# XtraDB Cluster (PXC)

Percona XtraDB Cluster (PXC) is an open-source, highly available database clustering solution for MySQL multi-master setups based on Galera.

This is one page of public article previews, not the complete archive. Follow Next page to continue. Summaries are not the original full articles.

## Just Because You Can, Doesn't Mean You Should: Re-evaluating Galera Node Weights

DevFeed: [Just Because You Can, Doesn't Mean You Should: Re-evaluating Galera Node Weights](<https://devfeed.tech/articles/just-because-you-can-doesn-t-mean-you-should-re-evaluating-galera-node-weights-133659.md>)

Original publisher: [Read original article](<https://www.percona.com/blog/just-because-you-can-doesnt-mean-you-should-re-evaluating-galera-node-weights/>)

Author: Marco Tusa

Published: 2026-11-13T14:01:47Z

Content type: opinion

Language: en

Sources: [Percona](<https://devfeed.tech/sources/blog-percona.md>)

Topics: [XtraDB Cluster (PXC)](<https://devfeed.tech/topics/xtradb-cluster-pxc.md>)

Tags: [balance](<https://devfeed.tech/tags/balance.md>), [best-practices](<https://devfeed.tech/tags/best-practices.md>), [bootstrap](<https://devfeed.tech/tags/bootstrap.md>), [cluster-management](<https://devfeed.tech/tags/cluster-management.md>), [complex](<https://devfeed.tech/tags/complex.md>), [complexity](<https://devfeed.tech/tags/complexity.md>), [component](<https://devfeed.tech/tags/component.md>), [database-administration-dba](<https://devfeed.tech/tags/database-administration-dba.md>), [deploy](<https://devfeed.tech/tags/deploy.md>), [fault-tolerance](<https://devfeed.tech/tags/fault-tolerance.md>), [galera](<https://devfeed.tech/tags/galera.md>), [galera-arbitrator-garbd](<https://devfeed.tech/tags/galera-arbitrator-garbd.md>), [galera-cluster](<https://devfeed.tech/tags/galera-cluster.md>), [high-availability-ha](<https://devfeed.tech/tags/high-availability-ha.md>), [mysql](<https://devfeed.tech/tags/mysql.md>), [node-weighting-pc-weight](<https://devfeed.tech/tags/node-weighting-pc-weight.md>), [open-source](<https://devfeed.tech/tags/open-source.md>), [percona-xtradb-cluster](<https://devfeed.tech/tags/percona-xtradb-cluster.md>), [percona-xtradb-cluster-pxc](<https://devfeed.tech/tags/percona-xtradb-cluster-pxc.md>), [primary-component](<https://devfeed.tech/tags/primary-component.md>), [quorum](<https://devfeed.tech/tags/quorum.md>), [risk](<https://devfeed.tech/tags/risk.md>), [split-brain](<https://devfeed.tech/tags/split-brain.md>), [uncategorized](<https://devfeed.tech/tags/uncategorized.md>), [xtradb-cluster-pxc](<https://devfeed.tech/tags/xtradb-cluster-pxc.md>)

### AI overview

Galera quorum depends on weighted membership, not simply on node count. The text gives the check as Σ p-w < 2-(Σ m-w + Σ l-w): unreachable nodes remain counted in the previous PRIMARY view, graceful departures are credited to the new component, and nodes that joined after that view do not count. An even split in counted weight can still make the cluster lose PRIMARY; odd node counts avoid that tie only in simple cases. Changing weights can shift which failures a cluster survives rather than increase general resilience: a weight-2 node behaves like two nodes that always fail together, and misassigned weights can let one failure bring the cluster down. The author favors keeping clusters simple and using weights only as deliberate tiebreakers; for multi-DC setups, the text suggests a third site or arbitrator, while noting that a cluster that shrinks can still reach a tie. It does not provide the detailed weight examples mentioned in the excerpt.

### Source excerpt

We all know that when using a cluster based on Galera (Codership) such as Percona XtraDB Cluster (PXC), it is recommended to deploy an odd number of nodes. The generic answer to this recommendation is that otherwise the risk of having an inconsistent cluster (like split-brain) is higher. (see Get started with Percona XtraDB Cluster ... Continued The post Just Because You Can, Doesn't Mean You Should: Re-evaluating Galera Node Weights appeared first on Percona.

## Deploying OpenEverest on a 3-Node K3s Cluster

DevFeed: [Deploying OpenEverest on a 3-Node K3s Cluster](<https://devfeed.tech/articles/deploying-openeverest-on-a-3-node-k3s-cluster-131065.md>)

Original publisher: [Read original article](<https://www.percona.com/blog/deploying-openeverest-on-a-3-node-k3s-cluster/>)

Author: Arunjith Aravindan

Published: 2026-11-12T03:52:56Z

Content type: tutorial

Language: en

Sources: [Percona](<https://devfeed.tech/sources/blog-percona.md>)

Topics: [k3s](<https://devfeed.tech/topics/k3s.md>), [Kubernetes](<https://devfeed.tech/topics/kubernetes.md>), [XtraDB Cluster (PXC)](<https://devfeed.tech/topics/xtradb-cluster-pxc.md>), [Percona](<https://devfeed.tech/topics/percona.md>)

Tags: [3](<https://devfeed.tech/tags/3.md>), [api](<https://devfeed.tech/tags/api.md>), [backups](<https://devfeed.tech/tags/backups.md>), [cluster](<https://devfeed.tech/tags/cluster.md>), [console](<https://devfeed.tech/tags/console.md>), [databases](<https://devfeed.tech/tags/databases.md>), [failover](<https://devfeed.tech/tags/failover.md>), [k3s](<https://devfeed.tech/tags/k3s.md>), [kubernetes](<https://devfeed.tech/tags/kubernetes.md>), [kubernetes-operators](<https://devfeed.tech/tags/kubernetes-operators.md>), [mongodb](<https://devfeed.tech/tags/mongodb.md>), [mysql](<https://devfeed.tech/tags/mysql.md>), [node](<https://devfeed.tech/tags/node.md>), [open-source](<https://devfeed.tech/tags/open-source.md>), [percona](<https://devfeed.tech/tags/percona.md>), [platform](<https://devfeed.tech/tags/platform.md>), [postgresql](<https://devfeed.tech/tags/postgresql.md>), [provisioning](<https://devfeed.tech/tags/provisioning.md>), [scaling](<https://devfeed.tech/tags/scaling.md>), [servers](<https://devfeed.tech/tags/servers.md>), [uncategorized](<https://devfeed.tech/tags/uncategorized.md>)

### AI overview

The guide builds a three-node K3s lab on Ubuntu 26.04, installs OpenEverest with Helm, and creates a three-node Percona XtraDB Cluster (PXC) with HAProxy. It covers preparing nodes, joining workers, configuring the console through SSH and kubectl port-forwards, and connecting to MySQL from a laptop. K3s local-path storage is node-local: volumes are created after pod scheduling, cannot be expanded, and are deleted with their claims; if a node is lost, Galera can rebuild data from surviving replicas. The guide explains that PXC nodes accept writes, while routing writes through one HAProxy target helps avoid Galera certification conflicts. It notes that running database pods on the control-plane node is acceptable for a test lab but recommends worker-only placement in production. Part 2 is described as covering Galera health indicators and a live failover test.

### Source excerpt

Part 1 of 2: From bare Ubuntu servers to a running MySQL cluster OpenEverest is an open source platform for running databases such as MySQL, PostgreSQL and MongoDB on Kubernetes. You get a web console and an API, and Kubernetes operators handle provisioning, scaling, backups and failover behind the scenes. This post builds a small ... Continued The post Deploying OpenEverest on a 3-Node K3s Cluster appeared first on Percona.

## Inside an OpenEverest MySQL Cluster: Galera Health and a Live Failover Test

DevFeed: [Inside an OpenEverest MySQL Cluster: Galera Health and a Live Failover Test](<https://devfeed.tech/articles/inside-an-openeverest-mysql-cluster-galera-health-and-a-live-failover-test-131066.md>)

Original publisher: [Read original article](<https://www.percona.com/blog/inside-an-openeverest-mysql-cluster-galera-health-and-a-live-failover-test/>)

Author: Arunjith Aravindan

Published: 2026-11-12T03:51:17Z

Content type: tutorial

Language: en

Sources: [Percona](<https://devfeed.tech/sources/blog-percona.md>)

Topics: [XtraDB Cluster (PXC)](<https://devfeed.tech/topics/xtradb-cluster-pxc.md>), [MySQL](<https://devfeed.tech/topics/mysql.md>), [health check](<https://devfeed.tech/topics/health-check.md>), [infrastructure monitoring](<https://devfeed.tech/topics/infrastructure-monitoring.md>), [Production Engineering](<https://devfeed.tech/topics/production-engineering.md>), [Logging and metrics](<https://devfeed.tech/topics/logging-and-metrics.md>), [container-networking](<https://devfeed.tech/topics/container-networking.md>), [Percona Server for MySQL](<https://devfeed.tech/topics/percona-server-for-mysql.md>)

Tags: [2](<https://devfeed.tech/tags/2.md>), [3](<https://devfeed.tech/tags/3.md>), [cluster](<https://devfeed.tech/tags/cluster.md>), [created](<https://devfeed.tech/tags/created.md>), [data](<https://devfeed.tech/tags/data.md>), [data-loss](<https://devfeed.tech/tags/data-loss.md>), [failover](<https://devfeed.tech/tags/failover.md>), [first](<https://devfeed.tech/tags/first.md>), [galera](<https://devfeed.tech/tags/galera.md>), [health](<https://devfeed.tech/tags/health.md>), [how-to](<https://devfeed.tech/tags/how-to.md>), [inside](<https://devfeed.tech/tags/inside.md>), [k3s](<https://devfeed.tech/tags/k3s.md>), [live](<https://devfeed.tech/tags/live.md>), [look](<https://devfeed.tech/tags/look.md>), [mysql](<https://devfeed.tech/tags/mysql.md>), [node](<https://devfeed.tech/tags/node.md>), [percona](<https://devfeed.tech/tags/percona.md>), [percona-xtradb-cluster](<https://devfeed.tech/tags/percona-xtradb-cluster.md>), [test](<https://devfeed.tech/tags/test.md>), [uncategorized](<https://devfeed.tech/tags/uncategorized.md>)

### AI overview

The excerpt reports a three-node Percona XtraDB Cluster managed by OpenEverest. Galera health is checked through wsrep status: healthy nodes were Synced and Primary, with cluster size three and matching last-committed values. In a live test, deleting the writer pod shifted new one-second inserts through HAProxy to another node with no failed writes; after rejoining, the original writer became preferred again. It caught up via IST from a donor's gcache in about 0.2 seconds. All three nodes ended with 1,007 rows and matching checksums. The test depended on short, newly opened connections: existing connections close and uncommitted transactions are lost, so applications need reconnect-and-retry logic. With local-path storage, the pod must return to the node holding its volume; loss of that volume would require SST. The excerpt also cautions against taking two of three nodes offline because the remaining node loses quorum.

### Source excerpt

Part 2 of 2: Reading wsrep status, killing the writer, and proving zero data loss In Part 1 we built a 3-node K3s cluster, installed OpenEverest, and created a 3-node Percona XtraDB Cluster (PXC) named mysql-vjg. In this post we look inside that cluster. Section A explains how to read Galera's wsrep_* status variables, so ... Continued The post Inside an OpenEverest MySQL Cluster: Galera Health and a Live Failover Test appeared first on Percona.

## How Linux Large Folios Can Amplify Disk Writes in PXC/Galera Workloads

DevFeed: [How Linux Large Folios Can Amplify Disk Writes in PXC/Galera Workloads](<https://devfeed.tech/articles/when-a-small-change-writes-too-much-how-a-linux-kernel-improvement-can-strike-you-in-pxc-galera-workloads-88718.md>)

Original publisher: [Read original article](<https://www.percona.com/blog/when-a-small-change-writes-too-much-how-a-linux-kernel-improvement-can-strike-you-in-pxc-galera-workloads/>)

Author: Przemysław Malkowski

Published: 2026-10-16T12:58:08Z

Content type: article

Language: en

Sources: [Percona](<https://devfeed.tech/sources/blog-percona.md>)

Topics: [XtraDB Cluster (PXC)](<https://devfeed.tech/topics/xtradb-cluster-pxc.md>), [Linux Kernel](<https://devfeed.tech/topics/linux-kernel.md>), [XFS](<https://devfeed.tech/topics/xfs.md>)

Tags: [galera](<https://devfeed.tech/tags/galera.md>), [hardware-and-storage](<https://devfeed.tech/tags/hardware-and-storage.md>), [insight-for-dbas](<https://devfeed.tech/tags/insight-for-dbas.md>), [large-folios](<https://devfeed.tech/tags/large-folios.md>), [mariadb](<https://devfeed.tech/tags/mariadb.md>), [mmap](<https://devfeed.tech/tags/mmap.md>), [mysql](<https://devfeed.tech/tags/mysql.md>), [page-cache](<https://devfeed.tech/tags/page-cache.md>), [uncategorized](<https://devfeed.tech/tags/uncategorized.md>), [xtradb-cluster-pxc](<https://devfeed.tech/tags/xtradb-cluster-pxc.md>)

### AI overview

An investigation into periodic disk-write bursts in a PXC/Galera cluster links the behavior to Linux large folios after an operating system upgrade. Galera's memory-mapped cache can trigger writeback of entire folios for small updates, amplifying disk writes. The article explains why InnoDB writes behaved differently and discusses diagnostic signals and possible workarounds.

### Source excerpt

We've recently been dealing with an interesting customer case where a PXC version upgrade from 5.7 to 8.0 seemed to trigger a completely unexpected problem. Even though the workload and MySQL settings did not change, all PXC members began exhibiting sparse but regular bursts of massive disk writes. Yet the MySQL side workload statistics that ... Continued The post When a Small Change Writes Too Much - How A Linux Kernel Improvement Can Strike You in PXC/Galera Workloads appeared first on Percona.

## Your Galera cluster's hardest problem was never the replication library

DevFeed: [Your Galera cluster's hardest problem was never the replication library](<https://devfeed.tech/articles/your-galera-cluster-s-hardest-problem-was-never-the-replication-library-77304.md>)

Original publisher: [Read original article](<https://www.percona.com/blog/your-galera-clusters-hardest-problem-was-never-the-replication-library/>)

Author: Valeria Bogatyreva

Published: 2026-10-08T16:07:52Z

Content type: opinion

Language: en

Sources: [Percona](<https://devfeed.tech/sources/blog-percona.md>)

Topics: [XtraDB Cluster (PXC)](<https://devfeed.tech/topics/xtradb-cluster-pxc.md>), [site-reliability-engineering](<https://devfeed.tech/topics/site-reliability-engineering.md>), [Service fabric](<https://devfeed.tech/topics/service-fabric.md>)

Tags: [concurrent](<https://devfeed.tech/tags/concurrent.md>), [error](<https://devfeed.tech/tags/error.md>), [galera](<https://devfeed.tech/tags/galera.md>), [mysql](<https://devfeed.tech/tags/mysql.md>), [percona](<https://devfeed.tech/tags/percona.md>), [percona-announcements](<https://devfeed.tech/tags/percona-announcements.md>), [production](<https://devfeed.tech/tags/production.md>), [replication](<https://devfeed.tech/tags/replication.md>), [xtradb-cluster-pxc](<https://devfeed.tech/tags/xtradb-cluster-pxc.md>)

### AI overview

The article argues that production incidents in MySQL Galera Cluster are often difficult because diagnosing the cause takes longer than fixing it. It describes Percona MySQL Support for existing clusters and Percona XtraDB Cluster as options following the end of support for current MySQL Galera Cluster versions, emphasizing support, migration, and continued MySQL compatibility.

### Source excerpt

Ask anyone who runs a multi-node MySQL Galera Cluster in production about their worst night. Almost nobody says write-set replication was wrong. They say something closer to this: "All queries piling up... no error messages in logs." Twenty minutes of downtime, ended only when a human picked a node to kill. (codership-team) Or the flow-control ... Continued The post Your Galera cluster's hardest problem was never the replication library appeared first on Percona.

## When pt-online-schema-change "where" Meets Galera: Understanding Chunk Auto-Resize and Flow Control

DevFeed: [When pt-online-schema-change "where" Meets Galera: Understanding Chunk Auto-Resize and Flow Control](<https://devfeed.tech/articles/when-pt-online-schema-change-where-meets-galera-understanding-chunk-auto-resize-and-flow-control-61217.md>)

Original publisher: [Read original article](<https://www.percona.com/blog/when-pt-online-schema-change-where-meets-galera-understanding-chunk-auto-resize-and-flow-control/>)

Author: Corrado Pandiani

Published: 2026-09-28T13:56:53Z

Content type: article

Language: en

Sources: [Percona](<https://devfeed.tech/sources/blog-percona.md>)

Topics: [XtraDB Cluster (PXC)](<https://devfeed.tech/topics/xtradb-cluster-pxc.md>), [downtime](<https://devfeed.tech/topics/downtime.md>)

Tags: [downtime](<https://devfeed.tech/tags/downtime.md>), [flow](<https://devfeed.tech/tags/flow.md>), [galera](<https://devfeed.tech/tags/galera.md>), [insight-for-dbas](<https://devfeed.tech/tags/insight-for-dbas.md>), [insight-for-developers](<https://devfeed.tech/tags/insight-for-developers.md>), [mysql](<https://devfeed.tech/tags/mysql.md>), [open-source](<https://devfeed.tech/tags/open-source.md>), [percona-software](<https://devfeed.tech/tags/percona-software.md>), [percona-xtradb-cluster](<https://devfeed.tech/tags/percona-xtradb-cluster.md>), [pt-onine-schema-change](<https://devfeed.tech/tags/pt-onine-schema-change.md>), [pxc](<https://devfeed.tech/tags/pxc.md>), [resize](<https://devfeed.tech/tags/resize.md>), [toolkit](<https://devfeed.tech/tags/toolkit.md>), [xtradb-cluster-pxc](<https://devfeed.tech/tags/xtradb-cluster-pxc.md>)

### AI overview

The article examines how pt-online-schema-change's adaptive chunk sizing can cause severe Galera Flow Control when a selective WHERE clause discards most rows during a copy. It describes a Percona XtraDB Cluster case and says the article proposes practical mitigations, though the supplied excerpt ends before those details.

### Source excerpt

Percona Toolkit's pt-online-schema-change (pt-osc) has long been the preferred solution for performing online schema changes with minimal downtime. Its chunk-based copy algorithm is designed to adapt dynamically to the workload, making it suitable for very large tables in production environments. However, under specific conditions, one of its optimization mechanisms can become counterproductive. During a customer ... Continued The post When pt-online-schema-change "where" Meets Galera: Understanding Chunk Auto-Resize and Flow Control appeared first on Percona.

## Too many GCache Page Files in MySQL Data Directory

DevFeed: [Too many GCache Page Files in MySQL Data Directory](<https://devfeed.tech/articles/too-many-gcache-page-files-in-mysql-data-directory-35043.md>)

Original publisher: [Read original article](<https://www.percona.com/blog/too-many-gcache-page-files-in-mysql-data-directory/>)

Author: Kedar Vaijanapurkar

Published: 2026-09-17T05:29:14Z

Content type: tutorial

Language: en

Sources: [Percona](<https://devfeed.tech/sources/blog-percona.md>)

Topics: [XtraDB Cluster (PXC)](<https://devfeed.tech/topics/xtradb-cluster-pxc.md>), [Replication](<https://devfeed.tech/topics/replication.md>), [Transactions](<https://devfeed.tech/topics/transactions.md>), [MySQL](<https://devfeed.tech/topics/mysql.md>)

Tags: [cluster](<https://devfeed.tech/tags/cluster.md>), [database-administration](<https://devfeed.tech/tags/database-administration.md>), [disk-space](<https://devfeed.tech/tags/disk-space.md>), [galera](<https://devfeed.tech/tags/galera.md>), [galera-replication](<https://devfeed.tech/tags/galera-replication.md>), [gcache](<https://devfeed.tech/tags/gcache.md>), [gcache-freeze-purge-at-seqno](<https://devfeed.tech/tags/gcache-freeze-purge-at-seqno.md>), [gcache-keep-pages-count](<https://devfeed.tech/tags/gcache-keep-pages-count.md>), [gcache-page](<https://devfeed.tech/tags/gcache-page.md>), [gcache-page-files](<https://devfeed.tech/tags/gcache-page-files.md>), [gcache-purge](<https://devfeed.tech/tags/gcache-purge.md>), [gcache-troubleshooting](<https://devfeed.tech/tags/gcache-troubleshooting.md>), [mysql](<https://devfeed.tech/tags/mysql.md>), [mysql-disk-space](<https://devfeed.tech/tags/mysql-disk-space.md>), [mysql-troubleshooting](<https://devfeed.tech/tags/mysql-troubleshooting.md>), [percona-xtradb-cluster](<https://devfeed.tech/tags/percona-xtradb-cluster.md>), [pxc](<https://devfeed.tech/tags/pxc.md>), [replication](<https://devfeed.tech/tags/replication.md>), [xtradb-cluster-pxc](<https://devfeed.tech/tags/xtradb-cluster-pxc.md>)

### AI overview

An investigation into thousands of GCache page files accumulating in a Percona XtraDB Cluster data directory. The article explains how frozen GCache purging caused disk growth, links the behavior to a cluster partition, and describes reproducing it by setting gcache.freeze_purge_at_seqno and generating workload.

### Source excerpt

Learn why PXC accumulates thousands of gcache.page.* files, how frozen GCache purging causes disk growth, and how to safely recover and rejoin using IST. The post Too many GCache Page Files in MySQL Data Directory appeared first on Percona.

## How we handle multi-region sessions at Clever

DevFeed: [How we handle multi-region sessions at Clever](<https://devfeed.tech/articles/how-we-handle-multi-region-sessions-at-clever-19722.md>)

Original publisher: [Read original article](<https://engineering.clever.com/2021/08/10/how-we-handle-multi-region-sessions-at-clever/>)

Author: Nathan Leiby

Published: 2021-08-10T20:48:35Z

Content type: article

Language: en

Sources: [Clever](<https://devfeed.tech/sources/clever.md>)

Topics: [cell-based-architecture](<https://devfeed.tech/topics/cell-based-architecture.md>), [state-management](<https://devfeed.tech/topics/state-management.md>), [XtraDB Cluster (PXC)](<https://devfeed.tech/topics/xtradb-cluster-pxc.md>), [Database](<https://devfeed.tech/topics/database.md>)

Tags: [aws](<https://devfeed.tech/tags/aws.md>), [database](<https://devfeed.tech/tags/database.md>), [deploy](<https://devfeed.tech/tags/deploy.md>), [devops](<https://devfeed.tech/tags/devops.md>), [helps](<https://devfeed.tech/tags/helps.md>), [mirror](<https://devfeed.tech/tags/mirror.md>), [multi-region](<https://devfeed.tech/tags/multi-region.md>), [patterns](<https://devfeed.tech/tags/patterns.md>), [resiliency](<https://devfeed.tech/tags/resiliency.md>), [saml](<https://devfeed.tech/tags/saml.md>), [sessions](<https://devfeed.tech/tags/sessions.md>), [systems](<https://devfeed.tech/tags/systems.md>), [traffic](<https://devfeed.tech/tags/traffic.md>)

### AI overview

Clever's excerpt frames session resilience as a progression: in-memory sessions are lost on restart, so persist them in a database; run multiple application servers so sessions remain available across crashes or redeploys; and use database replicas to fail over if the primary instance fails. Those steps still leave the whole database setup vulnerable to cascading failures or a data-center networking issue, motivating a mirrored setup in another region. The excerpt ends as that multi-region step begins, so it does not explain its implementation or behavior.

### Source excerpt

Why multi-region sessions? Each year leading up to Back to School (our busiest season), Clever's engineering team invests in our highest traffic systems to make sure we can handle user growth and new traffic patterns. During 2020-2021, SAML auth at Clever grew from <10% of our login related traffic to about 40% of our traffic! For this [...] The post How we handle multi-region sessions at Clever appeared first on Clever Engineering Blog.