If your application repeatedly executes the same complex queries, analyze and tune the each query as described in the following sections.