database-connection-pooling

Installation
SKILL.md

Database Connections & Pooling

Use this skill when

  • Configuring pool sizes
  • Diagnosing connection exhaustion
  • Handling timeouts and checkouts

Do not use this skill when

  • Query/schema tuning
  • Network-level tuning

Instructions

  1. Size pool to DB connection limits, not arbitrarily large.
  2. Balance waiting versus concurrent queries: small pools can beat big ones.
  3. Set idle timeout, max lifetime, and checkout timeout.
  4. Avoid holding connections during slow external calls.
  5. Watch for connection leaks (checkout without return).
  6. Use health checks to evict broken connections.
  7. Monitor active vs idle vs waiting.
Installs
1
First Seen
Oct 22, 2026
Security Audits