Creating query workloads from Optim Performance Manager

You can create a query workload from SQL statements that you are monitoring in Optim Performance Manager.

Before you begin

  • The IBM Data Studio client must be installed on the system where the browser that you are using for Optim™ Performance Manager is installed.
  • The DB2® database or subsystem that your SQL statements run against must be configured for query tuning.
  • The IBM Data Studio client must be running, and the embedded HTTP server must be active. To check whether the embedded HTTP server is active, move your cursor over the embedded HTTP server button in the toolbar at the top of the IBM Data Studio client. Read the tooltip that appears. If the server is not running, click the button.
  • If you are capturing SQL statements from the Optim Performance Manager repository, the database or subsystem that the SQL statements run against must be enabled for monitoring.
  • If you are capturing SQL statements from the Optim Performance Manager repository, ensure that your user ID is authorized to access the performance metrics stored in the repository database. To be authorized, your user ID must be a member of the user group that was authorized for accessing the repository database. This authorization takes place when InfoSphere Optim Performance Manager is installed.

Procedure

To create a query workload from Optim Performance Manager:

  1. In the workflow assistant of the IBM® Data Studio client, select Optim Performance Manager Repository in the Non DB2 Sources category on the left side of the Capture section.
  2. Specify a profile to use to connect to an Optim Performance Manager repository that points to the monitored database, and a timeframe for data capture. Then, set a filter to select the SQL statement to capture.
  3. Click Capture.
  4. In the Captured Statements section, click the Save All to Workload button.

Feedback