Executive summary
The affected workflow, current symptom, likely database pressure, impact estimate, confidence level, and recommended review order.
Sample report
Use this broad sample report model to understand what an audit should return: visible symptoms, database evidence, ranked findings, review notes, timing, and safety boundaries. It does not promise automatic fixes for every database engine.
Report sections
The useful output is a short decision document, not a pile of raw database metrics.
The affected workflow, current symptom, likely database pressure, impact estimate, confidence level, and recommended review order.
Representative queries, execution plans, index lists, table sizes, wait notes, growth signals, hosting limits, and maintenance context.
Findings ranked by user impact, confidence, reversibility, production risk, and whether more evidence is needed before acting.
Recommended experiments, query rewrites, index candidates, maintenance checks, or configuration review points with approval gates.
What was not read, what was not changed, what needs staging validation, and which recommendations require a human owner.
A small action list that separates low-risk checks, deeper investigation, and production changes that need scheduling.
Sample finding
Each finding should make the evidence, risk, and next action reviewable by a developer, DBA, or technical owner.
| Field | Sample content |
|---|---|
| Symptom | Checkout latency rises during afternoon traffic spikes. |
| Evidence | Two read-heavy statements account for most visible query time; table growth and index selectivity need review. |
| Recommendation | Run EXPLAIN on representative values, test one index candidate in staging, and confirm write overhead before production rollout. |
| Boundary | No production SQL is executed by the report. A human owner must approve any index, query, or configuration change. |
Boundaries
The report model is intentionally conservative so it does not overstate automation, certainty, or production safety.
The report can recommend checks and changes, but it does not automatically create indexes, rewrite SQL, or tune production settings.
Findings should describe confidence and risk. They should not guarantee performance improvement before testing.
This page is a broad report model. PostgreSQL has the current specialist path; MySQL and SQL Server remain planned surfaces.
A useful audit starts from safe evidence and explicit constraints, not production write credentials.
Review the database optimization checklist and audit FAQ before asking for audit scope. PostgreSQL teams can also view the more specific PostgreSQL sample report.