You can tune SQL statements listed in the Client Application Analysis drilldown if you have either of the following products licensed and installed on the same computer where your Spotlight on IBM® DB2® LUW client is installed:
SQL Optimizer for DB2
To start a tuning session
Open the Client Application Analysis drilldown.
From the list of applications, click in the application whose currently executing SQL statement you want to tune.
A set of tabs, containing detail information about the application, displays in the lower half of the drilldown window.
Click the Unit of Work - SQL tab to examine the SQL statement currently executing for the application.
In the upper left of the detail pane of this tab, click the SQL Tuning icon . SQL Optimizer for DB2 opens, showing the SQL statement in the product's main window.
If you need instructions to proceed with the tuning session, click F1 for context-sensitive help.