Skip to content

Pool exhaustion, missing indexes, and query attribution under a full pool - #26

Merged
thelastbackspace merged 3 commits into
mainfrom
feat/pool-and-index
Nov 7, 2026
Merged

thelastbackspace merged 3 commits into
mainfrom
feat/pool-and-index

Conversation

@thelastbackspace

Copy link
Copy Markdown
Owner

See CHANGELOG. Eval with pg: 19/19 found, 10/10 clean, 0 false alarms. Compat adds pool-contention checks for pg and mysql2 (promise and callback).

…r a full pool

- pg and mysql2 pools track the wait for a free connection when full;
  run/explain report it with the setting to change
- run EXPLAINs the app's Postgres SELECTs after the load (planned, not
  executed) and reports full scans of big tables an index would avoid
- pool callbacks (pg-pool, mysql2, mysql) and every tracked driver
  callback keep the caller's async context: with a full pool, queries
  landed in another request's tree or none
- eval: pool-exhaustion, missing-index and their clean versions (real pg)
@thelastbackspace
thelastbackspace merged commit f89e278 into main Nov 7, 2026
16 checks passed
@thelastbackspace
thelastbackspace deleted the feat/pool-and-index branch November 7, 2026 10:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant