# No plan found with PG16 (PMM2.42)

**URL:** <https://forums.percona.com/t/no-plan-found-with-pg16-pmm2-42/32608>\
**Category:** PostgreSQL\
**Tags:** pmm\
**Created:** [August 26, 2024, 3:16pm UTC](https://forums.percona.com/t/no-plan-found-with-pg16-pmm2-42/32608 "2024-08-26T15:16:35Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Koala\_Lucci](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/koala_lucci/32/17789_2.png) [@Koala\_Lucci](https://forums.percona.com/u/Koala_Lucci)\
**Post date:** [August 26, 2024, 3:16pm UTC](https://forums.percona.com/t/no-plan-found-with-pg16-pmm2-42/32608/1 "2024-08-26T15:16:36Z")

</div>

Hi,

I am currently running a PMM server on the latest version 2.42 on docker and I am trying to activate the execution plan to test and measure what is the impact of activating such a feature.  
I am monitoring a PostgreSQL 16.1 instance with pg\_stats\_monitor but the execution plan are not displaying :

 ![image](https://us1.discourse-cdn.com/flex019/uploads/percona1/original/3X/2/b/2b11a1ac715380456f8948baf96e01262a9bf7a8.png)

Here are the logs I found in PostgreSQL, apparently PMM is not compatible with this PG16 ?

2024-08-26 17:07:45.873 CEST - 2 - 48363 - 10.0.0.5 - pmm@postgres - 0STATEMENT: SELECT t2.rolname, t3.datname, SUBSTRING(query FROM 1 FOR 40) AS query, total\_plan\_time, max\_plan\_time, mean\_time\_plan, calls, total\_exec\_time, max\_exec\_time, mean\_exec\_time, rows, shared\_blks\_hit FROM pg\_stat\_statements t1 JOIN pg\_roles t2 ON (t1.userid=t2.oid) JOIN pg\_database t3 ON (t1.dbid=t3.oid) WHERE t2.rolname != ‘rdsadmin’  
2024-08-26 17:07:55.882 CEST - 1 - 48401 - 10.0.0.5 - pmm@postgres - 0ERROR: column “mean\_time\_plan” does not exist at character 105  
2024-08-26 17:07:55.882 CEST - 2 - 48401 - 10.0.0.5 - pmm@postgres - 0STATEMENT: SELECT t2.rolname, t3.datname, SUBSTRING(query FROM 1 FOR 40) AS query, total\_plan\_time, max\_plan\_time, mean\_time\_plan, calls, total\_exec\_time, max\_exec\_time, mean\_exec\_time, rows, shared\_blks\_hit FROM pg\_stat\_statements t1 JOIN pg\_roles t2 ON (t1.userid=t2.oid) JOIN pg\_database t3 ON (t1.dbid=t3.oid) WHERE t2.rolname != ‘rdsadmin’

---

<div class="post-metadata">

**Author:** ![Roma\_Novikov](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/roma_novikov/32/1161_2.png) [@Roma\_Novikov](https://forums.percona.com/u/Roma_Novikov)\
**Post date:** [August 26, 2024, 4:49pm UTC](https://forums.percona.com/t/no-plan-found-with-pg16-pmm2-42/32608/2 "2024-08-26T16:49:01Z")

</div>

Hi @Koala_Lucci PG16 must be fully supported and work correctly with PMM and PG\_stat\_monitor.  
Can you file a bug with detailed information (PG and pg\_stat\_monitor versions and configuration)

Before submitting a bug, please make sure the Plan is enabled as per [Configuration - pg\_stat\_monitor Documentation](https://docs.percona.com/pg-stat-monitor/configuration.html#pg_stat_monitorpgsm_enable_query_plan) this option is disabled by default on the PG Stat monitor side for performance reasons.
