App Dev → DBA Path
A structured progression from application developer to database engineer on PostgreSQL 18.4 - indexes, MVCC, and your first migration review with milestones you can self-assess quarterly.
Recipe
App Dev → DBA Path (typical 18-36 months)
Phase 1 (0-6 mo): Query author + EXPLAIN fluency
Phase 2 (6-12 mo): MVCC, locks, safe migrations
Phase 3 (12-18 mo): Secondary reviewer + staging drill
Phase 4 (18-24 mo): On-call shadow + HA/PITR ownership
Staff (24+ mo): Fleet governance, RTO/RPO, major upgradesWhen to use this path:
- Backend engineer wants formal database career track
- Team lacks dedicated DBA but needs internal depth
- Mentoring plan for Skills Matrix gaps
Working Example
Phase 1: Indexes and EXPLAIN
-- Learn b-tree leftmost prefix rule
CREATE INDEX idx_orders_tenant_created ON orders (tenant_id, created_at DESC);
EXPLAIN (ANALYZE, BUFFERS)
SELECT * FROM orders
WHERE tenant_id = $1
ORDER BY created_at DESC
LIMIT 20;Milestone: Three merged PRs with EXPLAIN evidence approved without rewrite requests.
Study: B-tree Indexes, EXPLAIN Review Skill
Phase 2: MVCC and Locks
-- See xmin/xmax visibility (conceptual)
SELECT xmin, xmax, ctid FROM orders WHERE id = $1;
-- Lock modes during migration
SELECT mode, granted FROM pg_locks WHERE relation = 'orders'::regclass;Milestone: Score a migration medium risk correctly using Migration Safety Skill before DBA does.
Phase 3: First Migration Review
## Reviewer checklist (your first secondary review)
- [ ] Lock risk labeled
- [ ] CONCURRENTLY where needed
- [ ] Rollback SQL present
- [ ] EXPLAIN if query change
- [ ] Approve or request changes with specific SQL commentsMilestone: Review five migration PRs; zero prod incidents traced to approved DDL.
Study: Code Review for SQL
Phase 4: Operations
# Failover drill participation
patronictl list
psql -c "SELECT pg_is_in_recovery();"Milestone: Lead one staging failover drill scribe role; document RTO in ticket.
Study: Failover Drill Skill, PITR Basics
Deep Dive
Skills Transfer Table
| App dev strength | DBA addition needed |
|---|---|
| ORM models | Lock modes and migration expand-contract |
| API latency tuning | Buffer cache and index-only scans |
| Feature delivery | Change windows and rollback discipline |
| Unit tests | Restore drills and backup verification |
Mentorship Pairing
Week A: Mentee authors migration; mentor reviews with EXPLAIN Review Skill rubric
Week B: Mentee reviews app teammate PR; mentor audits review quality
Week C: Joint incident bundle on staging simulated alertAnti-Patterns
- Jumping to HA without EXPLAIN depth - misdiagnoses query storms as failover problems
- Cert collection without on-call shadow - theory without pressure
- Only reading, never reviewing - review skill needs repetition
Gotchas
- Titles without scope - "DBA" title but no prod access policy leads to unsafe heroics. Fix: formal rotation and guardrails.
- Ignoring application domain - best database engineers keep product context. Fix: stay embedded in one service squad.
- Skipping Linux CLI - cannot triage disk full incidents. Fix: Linux CLI for DBAs Basics in phase 2.
- ORM-only mental model - misses partial indexes and constraint-trigger interactions. Fix: write raw SQL monthly.
Alternatives
| Alternative | Use When | Don't Use When |
|---|---|---|
| Hire external DBA | Regulated industry, large fleet | Early startup cost-sensitive |
| Stay app-only specialist | Strong platform DBA team exists | Team has zero Postgres depth |
| Data engineer track | Analytics/ETL focus | OLTP operations ownership needed |
FAQs
How long to primary on-call?
Typically after 12-18 months with successful shadow quarters and signed off failover/PITR drills. Org-dependent.
Need PostgreSQL certification?
Helpful for resume, not substitute for EXPLAIN + incident drills. Internal skills matrix matters more.
App dev path vs pure infra DBA?
App dev path excels at query and migration safety; add Linux/HA depth in phases 3-4. Pure infra may reverse order (host first, SQL second).
Related
- Onboarding Basics - day one setup
- Skills Matrix - junior to staff grid
- Mentoring App Teams - lead perspective
- Career Growth DBA → Staff - staff track
- Pairing on Query PRs - hands-on review
Stack versions: This page was written for PostgreSQL 18.4 OLTP teams with Flyway migrations and Patroni or RDS HA.