I Put pg_stat_activity in My SQL Client — And Added a Kill Button
It was 11:47 PM when the Datadog alert came in. API latency on /checkout had tripled. I SSH'd into the bastion, opened psql, and started typing the query I have typed a thousand times:
SELECT pid, sta
rohithgilla.hashnode.dev7 min read