mirror of
https://github.com/percona/pg_stat_monitor.git
synced 2026-02-04 14:06:20 +00:00
Update USER_GUIDE.md
This commit is contained in:
@@ -341,7 +341,7 @@ SELECT relations::oid[]::regclass[], query FROM pg_stat_monitor;
|
|||||||
**`cmd_type`**: List the command type of the query.
|
**`cmd_type`**: List the command type of the query.
|
||||||
|
|
||||||
```sql
|
```sql
|
||||||
postgres=# SELECT bucket, substr(query,0, 50) AS query, cmd_type FROM pg_stat_monitor WHERE elevel = 0;
|
SELECT bucket, substr(query,0, 50) AS query, cmd_type FROM pg_stat_monitor WHERE elevel = 0;
|
||||||
bucket | query | cmd_type
|
bucket | query | cmd_type
|
||||||
--------+---------------------------------------------------+----------
|
--------+---------------------------------------------------+----------
|
||||||
1 | vacuum analyze pgbench_history |
|
1 | vacuum analyze pgbench_history |
|
||||||
|
|||||||
Reference in New Issue
Block a user