CREATE EXTENSION pg_stat_monitor; SELECT pg_stat_monitor_reset(); pg_stat_monitor_reset ----------------------- (1 row) SELECT * from pg_stat_monitor_settings where name='pg_stat_monitor.pgsm_max'; name | value | default_value | description | minimum | maximum | options | restart --------------------------+-------+---------------+----------------------------------------------------------------------------------------------------------+---------+---------+---------+--------- pg_stat_monitor.pgsm_max | 1000 | 100 | Sets the maximum size of shared memory in (MB) used for statement's metadata tracked by pg_stat_monitor. | 1 | 1000 | | yes (1 row) SELECT pg_stat_monitor_reset(); pg_stat_monitor_reset ----------------------- (1 row) SELECT * from pg_stat_monitor_settings where name='pg_stat_monitor.pgsm_max'; name | value | default_value | description | minimum | maximum | options | restart --------------------------+-------+---------------+----------------------------------------------------------------------------------------------------------+---------+---------+---------+--------- pg_stat_monitor.pgsm_max | 500 | 100 | Sets the maximum size of shared memory in (MB) used for statement's metadata tracked by pg_stat_monitor. | 1 | 1000 | | yes (1 row) SELECT pg_stat_monitor_reset(); pg_stat_monitor_reset ----------------------- (1 row) SELECT * from pg_stat_monitor_settings where name='pg_stat_monitor.pgsm_max'; name | value | default_value | description | minimum | maximum | options | restart --------------------------+-------+---------------+----------------------------------------------------------------------------------------------------------+---------+---------+---------+--------- pg_stat_monitor.pgsm_max | 100 | 100 | Sets the maximum size of shared memory in (MB) used for statement's metadata tracked by pg_stat_monitor. | 1 | 1000 | | yes (1 row) SELECT pg_stat_monitor_reset(); pg_stat_monitor_reset ----------------------- (1 row) SELECT * from pg_stat_monitor_settings where name='pg_stat_monitor.pgsm_max'; name | value | default_value | description | minimum | maximum | options | restart --------------------------+-------+---------------+----------------------------------------------------------------------------------------------------------+---------+---------+---------+--------- pg_stat_monitor.pgsm_max | 10 | 100 | Sets the maximum size of shared memory in (MB) used for statement's metadata tracked by pg_stat_monitor. | 1 | 1000 | | yes (1 row) SELECT pg_stat_monitor_reset(); pg_stat_monitor_reset ----------------------- (1 row) SELECT * from pg_stat_monitor_settings where name='pg_stat_monitor.pgsm_max'; name | value | default_value | description | minimum | maximum | options | restart --------------------------+-------+---------------+----------------------------------------------------------------------------------------------------------+---------+---------+---------+--------- pg_stat_monitor.pgsm_max | 100 | 100 | Sets the maximum size of shared memory in (MB) used for statement's metadata tracked by pg_stat_monitor. | 1 | 1000 | | yes (1 row) Drop extension pg_stat_monitor;