PostgreSQL Slow Query Analyzer
Queries pg_stat_statements and pg_stat_activity to surface the top slow queries by total execution time, mean latency, and call frequency. Runs EXPLAIN ANALYZE on worst offenders and suggests index additions, rewrite candidates, or vacuum triggers. Works on RDS and Supabase.
What it does
PostgreSQL Slow Query Analyzer
Queries pg_stat_statements and pg_stat_activity to surface the top slow queries by total execution time, mean latency, and call frequency. Runs EXPLAIN ANALYZE on worst offenders and suggests index additions, rewrite candidates, or vacuum triggers. Works on RDS and Supabase.
Installation
Use the upstream install or setup path that matches your environment:
- npm install pg
- From your workspace root run yarn and then yarn lerna bootstrap
- Run yarn test to run all the tests.
Requirements and caveats from upstream:
-
node-postgres
- Non-blocking PostgreSQL client for Node.js. Pure JavaScript and optional native libpq bindings.
Basic usage or getting-started notes:
-
Documentation
-
Each package in this repo should have its own readme more focused on how to develop/contribute. For overall documentation on the project and the related modules managed by this repo please see:
-
Features
-
Extracted from upstream docs: https://raw.githubusercontent.com/brianc/node-postgres/HEAD/README.md
Source
Capabilities
Install
Quality
deterministic score 0.45 from registry signals: · indexed on github topic:agent-skills · 8 github stars · SKILL.md body (1,299 chars)