By Relwick · Published
A resume line that says “optimised database performance by 80%” leaves several questions unanswered. Which operation changed, what was measured, and did the result still return the right data?
A narrower claim can be more useful. Explain the particular query improvement and retain enough evidence to defend the comparison.
Quick answer & key takeaways
Name the query or workflow improved, the change you implemented, and the measured result under comparable conditions. Keep query execution time distinct from full application response time. In PostgreSQL, estimated plan costs are not milliseconds, so do not turn a lower cost estimate into a timing claim. Preserve the baseline, dataset context, and correctness checks behind any percentage you report.
- Use the units and scope of the actual measurement.
- Compare equivalent work and verify that results remain correct.
- Do not present a local benchmark as an unmeasured production-wide improvement.
Identify the query and the change you owned
Describe the operation in application terms: loading a report, retrieving a filtered list, or resolving a repeated lookup. Then identify your change, such as revising the query shape or adding a justified index, if that is what you actually implemented.
Separate your contribution from a database upgrade, hardware change, or teammate’s work that occurred at the same time. If several factors changed, do not attribute the entire observed difference to your single edit without supporting evidence.
Use the correct measurement and units
PostgreSQL’s EXPLAIN documentation distinguishes arbitrary planner cost units from actual time values measured in milliseconds. A change from estimated cost 500 to 200 is therefore not evidence that execution fell from 500 ms to 200 ms.
| Evidence | Claim boundary |
|---|---|
| Lower estimated plan cost | Describe the plan estimate, not an invented elapsed time. |
| Measured query duration | Describe that query under the measured conditions. |
| Measured full request duration | Describe the complete request, with its test context. |
Keep a record of the dataset, inputs, environment, and repeated measurements when available. Avoid choosing one unusually slow baseline run and one unusually fast final run just because the resulting percentage looks impressive.
Calculate the result without inflating its scope
For an illustrative comparable measurement from 80 ms to 50 ms, the reduction in duration is (80 − 50) ÷ 80 = 37.5%. Describe it as a 37.5% reduction in the measured query time, not a 37.5% improvement to every database operation.
Check correctness alongside timing. A query that becomes faster by omitting required rows is not an equivalent improvement. Retain the relevant result comparisons or regression tests and mention them when they explain the quality of the work.
Write a bullet that remains defensible in discussion
Illustrative wording: “Reworked the report lookup query, compared execution on the same test dataset, and verified equivalent results with regression checks.” Add your measured figures if you have them and are permitted to share them. A precise unquantified contribution is preferable to a fabricated benchmark.
Add the entry in Resume Studio. If the experiment did not improve performance, use the negative-result guide instead of rewriting the outcome as a success.
Frequently asked questions
Can I use EXPLAIN cost as milliseconds?
No. PostgreSQL planner costs and actual timing values use different units.
Does a faster query prove the whole application is faster?
No. Report the scope you measured, or measure the full workflow separately.
What if I did not preserve a reliable baseline?
Describe the implemented change and checks without inventing a percentage reduction.
Sources and further reading
- PostgreSQL: using EXPLAIN and interpreting cost versus time — Distinguishes planner cost units from actual timing values and explains the scope of plan information.
Summary
Make the measurement traceable and the claim bounded. Clear units, comparable work, and correctness checks give a performance bullet substance.