# Best Practices for Monitoring Percona XtraDB Cluster: What Metrics Matter Most?

**URL:** <https://forums.percona.com/t/best-practices-for-monitoring-percona-xtradb-cluster-what-metrics-matter-most/38542>\
**Category:** MySQL & MariaDB\
**Tags:** pmm, percona\
**Created:** [July 3, 2025, 12:54pm UTC](https://forums.percona.com/t/best-practices-for-monitoring-percona-xtradb-cluster-what-metrics-matter-most/38542 "2025-07-03T12:54:54Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![SQLCaesar](https://avatars.discourse-cdn.com/v4/letter/s/9fc348/32.png) [@SQLCaesar](https://forums.percona.com/u/SQLCaesar)\
**Post date:** [July 3, 2025, 12:54pm UTC](https://forums.percona.com/t/best-practices-for-monitoring-percona-xtradb-cluster-what-metrics-matter-most/38542/1 "2025-07-03T12:54:54Z")

</div>

Hi all,

I’d like to open a discussion about key metrics to monitor in a Percona XtraDB Cluster environment.

In my opinion, the following three metrics are among the most important for cluster health:

SHOW STATUS LIKE ‘wsrep\_cluster\_size’;  
SHOW STATUS LIKE ‘wsrep\_local\_state\_comment’;  
SHOW STATUS LIKE ‘wsrep\_cluster\_status’;

The expected values should be:

wsrep\_cluster\_size: total number of nodes (e.g., 3)  
wsrep\_local\_state\_comment: should be “Synced”  
wsrep\_cluster\_status`: should be “Primary”

Are there any other metrics you would recommend monitoring, particularly from a performance or reliability point of view?

Any insights or suggestions would be much appreciated.

---

<div class="post-metadata">

**Author:** ![matthewb](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/matthewb/32/34_2.png) [@matthewb](https://forums.percona.com/u/matthewb)\
**Post date:** [July 3, 2025, 11:45pm UTC](https://forums.percona.com/t/best-practices-for-monitoring-percona-xtradb-cluster-what-metrics-matter-most/38542/2 "2025-07-03T23:45:47Z")

</div>

I suggest you check out Percona Monitoring and Management. A 100% open source, and completely free solution to monitoring all things MySQL and PXC related; developed by MySQL Experts, for MySQL DBAs.

> **[Percona Monitoring and Management](https://pmmdemo.percona.com/graph/d/pxc-cluster-summary/pxc-galera-cluster-summary)**

---

<div class="post-metadata">

**Author:** ![SQLCaesar](https://avatars.discourse-cdn.com/v4/letter/s/9fc348/32.png) [@SQLCaesar](https://forums.percona.com/u/SQLCaesar)\
**Post date:** [July 7, 2025, 10:48am UTC](https://forums.percona.com/t/best-practices-for-monitoring-percona-xtradb-cluster-what-metrics-matter-most/38542/3 "2025-07-07T10:48:30Z")

</div>

Hi @matthewb - thank you so much for your response.

Indeed,I’ve installed PMM in my lab environment, but I have to admit I’m a bit overwhelmed by the large number of available metrics. I’d really appreciate some guidance on which performance metrics are the most important to focus on.

Would you recommend any key metrics such like wsrep\_flow\_control\_paused, wsrep\_cert\_deps\_distance, or wsrep\_local\_recv\_queue\_avg?

Am I heading in the right direction with these? And how critical is it to monitor deadlocks in a Percona XtraDB Cluster?

Sharing your own experience would be very much appreciated!
