Database Development 20-topic article series Main article 16
Trace where time is spent between the user action and the completed result. The database query may be only one part of the path, alongside application processing, external calls, and data transfer.
What to examine Use approved diagnostics with the responsible technical owners. Compare a representative case across relevant conditions without exposing unnecessary sensitive information. Avoid making broad configuration or indexing changes before understanding the evidence.
Apply it to the business workflow A change should address the identified contributor and be tested against the full workload. Reducing one query’s duration can still leave the user waiting if the application repeatedly calls it or processes an excessive result set.
Illustrative working example A query returns quickly, but the application requests the same information repeatedly while preparing a report. The investigation traces the complete path and tests a remedy against the user’s task. An isolated database measurement remains useful without becoming an unsupported explanation of the whole delay.
This is a fictional planning example, not a WSI client case study or a measured result.
Questions for the working review Time across application and connection boundaries Representative diagnostics and responsible owners End-to-end validation of the proposed change A useful next output Document the cause hypothesis, supporting evidence, and acceptance result.
Read the main article: Investigating Database Performance Before Rebuilding or discuss a database project with WSI .
Previous: Creating a Useful Database Performance Baseline All 20 topics Next: Planning Database Growth Without Guessing Capacity