# Pg\_stat\_monitor (2.1.0) having issues in Percona Postgres server 16.8

**URL:** <https://forums.percona.com/t/pg-stat-monitor-2-1-0-having-issues-in-percona-postgres-server-16-8/37795>\
**Category:** PostgreSQL\
**Created:** [May 2, 2025, 7:25am UTC](https://forums.percona.com/t/pg-stat-monitor-2-1-0-having-issues-in-percona-postgres-server-16-8/37795 "2025-05-02T07:25:10Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mohan](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/mohan/32/19798_2.png) [@Mohan](https://forums.percona.com/u/Mohan)\
**Post date:** [May 2, 2025, 7:25am UTC](https://forums.percona.com/t/pg-stat-monitor-2-1-0-having-issues-in-percona-postgres-server-16-8/37795/1 "2025-05-02T07:25:10Z")

</div>

Dear Percona team

As per our Infosec team, Postgres 16.8 is not vulnerable and needs to be upgraded in all our Production servers however, we are having frequent crashes due to pg\_stat\_monitor version 2.1.0 which was reported earlier. We had tried installing 2.0 however still issue persist. Without pg\_stat\_monitor we cannot use QAN in PMM hence this is becoming a show stopper for implementing in our prod environments. Kindly provide a permanent solution for this.

---

<div class="post-metadata">

**Author:** ![anil.joshi](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/anil.joshi/32/13100_2.png) [@anil.joshi](https://forums.percona.com/u/anil.joshi)\
**Post date:** [July 13, 2025, 11:48am UTC](https://forums.percona.com/t/pg-stat-monitor-2-1-0-having-issues-in-percona-postgres-server-16-8/37795/2 "2025-07-13T11:48:20Z")

</div>

@Mohan

Did you try with latest pg\_stat\_monitor v2.2 ? It should support fine with PG 16. Let us know if you still facing the issues.

```auto
bash-4.4$ psql
psql (16.7)
Type "help" for help.

```

```auto
postgres=# \dx pg_stat_monitor

      Name | Version | Schema | Descripti
on                                                                                                                        
-----------------+---------+--------+---------------------------------------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------------------------
 pg_stat_monitor | 2.2 | public | The pg_stat_monitor is a PostgreSQL Query Performance Monitoring tool, based on PostgreSQL contrib module pg_stat_statements. pg
_stat_monitor provides aggregated statistics, client information, plan details including plan, and histogram information.
(1 row)

```

> **[pg\_stat\_monitor Documentation - Version 2.2.0 (2025-06-30)](https://docs.percona.com/pg-stat-monitor/release-notes/2.2.0.html)**
>
> Install pg\_stat\_monitor

Moreover, are there any particular queries or operations where the crash usually triggers or it happens randomly ? Do you have the postgres error logs for a review ?

As far as QAN is concerned you can also rely on **pg\_stat\_statements** - [PostgreSQL - Percona Monitoring and Management](https://docs.percona.com/percona-monitoring-and-management/3/install-pmm/install-pmm-client/connect-database/postgresql.html#configure-monitoring-extension)

Regards,  
Anil
