mirror of
https://github.com/percona/pg_stat_monitor.git
synced 2026-02-04 14:06:20 +00:00
A new view named (pg_stat_monitor_settings) is added to see all the custom configuration parameters and its default, min, max, and type.
8 lines
211 B
SQL
8 lines
211 B
SQL
CREATE EXTENSION pg_stat_monitor;
|
|
SELECT pg_stat_monitor_reset();
|
|
select pg_sleep(.5);
|
|
SELECT 1;
|
|
SELECT query FROM pg_stat_monitor ORDER BY query;
|
|
SELECT pg_stat_monitor_reset();
|
|
DROP EXTENSION pg_stat_monitor;
|