Skip to content

Final production simulation

Do not inspect solution material before completing the incident report.

You are the database performance engineer on call. Several Orders APIs have degraded, database CPU and I/O signals disagree, one tenant is disproportionately affected, and a deployment appears temporally correlated. The database contains imperfect indexes, skew, maintenance debt, competing workloads, and lock contention.

Prepare and investigate

Use at least the small profile for meaningful evidence:

make setup PROFILE=small
make final-prepare
make final-lab

Then inspect sql/final/experiments.sql only after ranking your initial hypotheses. Run sql/final/indexes.sql to test the proposed access path and open sql/final/solutions.sql only after completing the report. sql/final/workload.sql supplies competing workload queries for repeated sessions.

Deliverables

  1. Timeline and user impact
  2. Ranked hypotheses
  3. Evidence gathered and evidence still missing
  4. Plan interpretation
  5. Root cause and contributing factors
  6. Proposed SQL, database, application, and architecture changes
  7. Risks and rollback plan
  8. Validation and regression prevention

Scoring is 1–10 for technical depth, plan interpretation, diagnosis, fundamentals, index design, system thinking, measurement discipline, production judgment, and trade-off communication.

Use the operations guide to keep the report evidence-driven.