We are experiencing high CPU usage on our managed PostgreSQL instance, so what SQL commands can I run right now to kill long-running queries?
Download run
Fan-out diagram
The searches the AI actually ran for this prompt.
SEED QUERY
We are experiencing high CPU usage on our managed PostgreSQL instance, so what SQL commands can I run right now to kill long-running queries?
1 real search · 1 real-search pass
site:postgresql.org/docs/current/functions-admin.html pg_cancel_backend pg_terminate_backend pg_stat_activityGoogle ↗
OBSERVED
Badge and edge weight = share of passes that produced the query. Hover a query for its intent and routing format.
Query classes
Google's semantic query class for every sub-query: what kind of answer each search is after, simulated vs real.
Classifying 1 queries…
Searches and sources
ChatGPT1 real searches · gpt-6
site:postgresql.org/docs/current/functions-admin.html pg_cancel_backend pg_terminate_backend pg_stat_activity Google ↗
- PostgreSQL: Documentation: 18: 9.28. System Administration Functions · postgresql.org