Performance Tuning Sequence

Application developers should tune applications prior to production
use. Tuning applications often produces dramatic performance improvements.
System administrators perform the remaining steps in the following list after
tuning the application, or when application tuning has to wait and you want
to improve performance as much as possible in the meantime.

Ideally, follow this sequence of steps when you are tuning performance: