SQL and databases
Platform · SQL
Platform concern — Make persistence predictable under concurrency, retries, migrations, and partial failure.A query boundary with transaction ownership, pool limits, migration discipline, and safe errors.
Key concepts
Pool
Finite connections
Transaction
Atomic unit
Migration
Compatible step
Operating model
Decisions to make before production
Boundary and failure behavior
Database behavior dominates many heavy workloads; correctness and saturation matter before query micro-optimizations.Questions for review
Implementation notes
Decision lens
Related topics
- layer-group · Add cache and jobs — Read the focused guide for this boundary.
- arrows-rotate · Evolve schemas — Read the focused guide for this boundary.
- gauge-high · Measure persistence — Read the focused guide for this boundary.

