PostgreSQL Vacuum Deadlock Runbook
Automates PostgreSQL vacuum and autovacuum troubleshooting via pg_stat_user_tables, pg_locks, and pg_stat_activity views. Detects table bloat using pgstattuple extension and generates remediation SQL for long-running transaction conflicts.
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