17.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.

7.4.2 Run the Statistics Advisor and tools (Invoke section)<br />

Chapter 7 – Tuning queries 223<br />

In the Invoke section, show in Figure 7.11, you will see the SQL statement that is to be<br />

tuned. You can edit the statement. You can also change the CURRENT SCHEMA used to<br />

explain the statement by changing the value in the Schema area.<br />

1. To run the Statistics Advisor and tools, select the Select What to Run button as shown<br />

in Figure 7.11.<br />

Figure 7.11 – Opening the advisors and tools in the Query Tuner Workflow Assistant<br />

(Invoke section)<br />

A new window opens, where you can select query tuning advisors and tools that are to<br />

be run, as shown in Figure 7.12. You cannot select features that are not available to<br />

<strong>IBM</strong> <strong>Data</strong> <strong>Studio</strong>.<br />

Note:<br />

To tune SQL statements <strong>with</strong> the full set of tuning features, you must<br />

activate a license <strong>for</strong> <strong>IBM</strong>® InfoSphere® Optim Query Workload Tuner<br />

on the <strong>DB2</strong> databases that you work <strong>with</strong>.<br />

2. Select the features that you want to run. After you have selected the features to run,<br />

click OK in the Select Activities window.

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

Saved successfully!

Ooh no, something went wrong!