<< All versions

Skill v1.0.1

currentAutomated scan100/100
vouchington/vouchington-tooling/postgres-node-performance-tuning

+6 new

──Details
PublishedNovember 4, 2026 at 12:26 AM
Content Hashsha256:10200ee6ed08ab90...
Git SHAddc9cc148385
Bump Typepatch
Compare with v1.0.0
──Files
Files (1 file, 1.4 KB)
SKILL.md1.4 KBactive
SKILL.md · 32 lines · 1.4 KB

name: postgres-node-performance-tuning description: Measure and improve PostgreSQL queries in Node.js services. metadata: version: "1.0.1"


PostgreSQL and Node.js performance

Read applicable AGENTS.md and their declared adapter alias, otherwise .agents/skills/postgres-node-performance-tuning/SKILL.md from the repository root if present. Local policy overrides these defaults; do not reload an already-read adapter or canonical skill.

Measure the query plan and the workload shape before changing code.

  • Select only the required columns.
  • Bound each result set. Paginate or stream a large read. A stream bounds memory, not work: cap

the rows per run as in bounded iteration.

  • Batch writes inside an explicit transaction limit.
  • Keep connection-pool usage bounded.
  • Validate a query change at representative cardinality. Watch latency, memory, lock time, and

connection pressure together.

  • Cut round trips without weakening correctness: fold dependent reads, batch per-item lookups, and

overlap independent reads; see round trips.

  • Read the plan for hidden per-row work before trusting a change; see

reading plans.

path.

Consumer wrapper owns: schema ownership, operational thresholds, pooling configuration, and rollout.

← v1.0.0All versions