Tuning SQL workflow
To tune a SQL statement
- Select a SQL statement to be used as the baseline statement (Selecting a statement for SQL Analysis).
- Perform an Explain on the statement (Explaining SQL statements).
- Create a What-If scenario based on the baseline statement (Creating a What-If scenario).
- Compare the cost of the statements (Comparing statements).
- Create a new What-If scenario.
Continue the process until you have optimized the statement.
Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*