16.10.2015 Views

Getting Started with IBM Data Studio for DB2

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

220 <strong>Getting</strong> <strong>Started</strong> <strong>with</strong> <strong>IBM</strong> <strong>Data</strong> <strong>Studio</strong> <strong>for</strong> <strong>DB2</strong><br />

Figure 7.7 – Opening the query tuning features<br />

• Another way to start query tuning is from the SQL and XQuery editor. To open the<br />

editor, select New SQL Script.<br />

As described in Chapter 5, the SQL and XQuery editor lets you enter and run SQL<br />

statements. You can also create an access plan graph <strong>with</strong> Visual Explain and start query<br />

tuning.<br />

You can add SQL statements to the editor, as shown in Figure 7.8.<br />

Figure 7.8 – SQL and XQuery editor<br />

You can start query tuning by highlighting a statement in the editor, right-clicking it, then<br />

selecting Start Tuning as shown in Figure 7.9.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!