зеркало из
https://github.com/iharh/notes.git
synced 2025-10-30 13:16:07 +02:00
12 строки
276 B
Plaintext
12 строки
276 B
Plaintext
select * from pg_stat_activity where current_query <> '<IDLE>';
|
|
|
|
- current_query (text)
|
|
- client_addr/client_port
|
|
- [backend/xact/query]_start (timestamp with timezone)
|
|
- waiting (boolean)
|
|
|
|
pg_stat_statement
|
|
pg_stat_statements_for_readonly
|
|
|
|
explain(analyze, costs, json, ...)
|