IBM Books

DB2 Query Patroller Administration Guide


Using Tracker

This chapter describes how to start and stop Tracker and how to use Tracker to display job history data.


Starting Tracker

Complete the following steps to start the Tracker application:

  1. From the Start menu, select Programs > DB2 > DB2 Query Patroller > Tracker.

    The Login to Tracker window opens.

  2. Type your user ID, password, and database alias, and click OK. A list of reports display.
    Note:The user ID and password are case-sensitive.

  3. Select a report, and click OK.

    The report displays using the default date range and the default report format as illustrated below. For information on changing the date range, see Changing the Date and Time Range. For information on changing the report format, see Report Formats.
    Tracker Window
    Note:Even though the hours do not display in the date range at the left side of this and other reports, the hours can be specified and are used to determine the date range for the information in the report.


Displaying Job History Data

Tracker allows you to view job history data so that you can tune the database for heavily used tables and columns. For a description of each report available in Tracker see Tracker Reports.

Tracker allows you to display reports in up to six child windows, a feature that allows you to compare data among reports. You can set the date and time range and you can also change the way the data displays for most reports. For example, the Total Table Hits report, its drill-down reports, and the Rows Returned by Table report allow you to view information in a list (as a count or as a percentage), in a bar chart (as a count or as a percentage), or in a pie chart (as a percentage only). The Job Activity over Time report allows you to view jobs completed in a time-chart format.

Opening a New Report

Complete the following steps to display a report:

  1. Click New Report to display a list of available reports.

  2. Select a report and click OK to display data for the defined date range. See Tracker Reports for more information about the reports.

Changing the Date and Time Range

A default date range exists for an entire Tracker session, which means that each new report opened during that session uses the default date range. While the date range can be changed for a particular window, the default date range cannot be changed within a session. Therefore, if you change the date range for a report, it neither resets the date range for the next report you open within the session nor does it necessarily reset the default date range for the next session. Changing the date range for the last report opened in a session is the only way to reset the default date range for the next session.

When you open a report, the data displays for the default date range. You can change the date range for the current window (which may change the data displayed in the report). You can set different date ranges for each window to view reports for different time periods.
Note:Even though the hours do not display in the date range at the left side of each report, the hours can be specified and are used to determine the date range for the information in the report.

In addition, if you change the date range in a Job Activity over Time report, the scale of the displayed data may also change. For example, if the date range is less than 30 days, the increments displayed in the Job Activity over Time report are days, as illustrated below. See the procedure at the end of this section and also see "Zooming and Panning on a Time Chart" later in this chapter for information on how to change the date range for a Job Activity over Time report.

If the date range is greater than a year, the increments displayed in the Job Activity over Time report are years. If the date range is 24 hours or less, the increments displayed in the Job Activity over Time report are hours.

Complete the following steps to change the date range for a specific window:

  1. Click the Set Date Range push button. The Set Date Range window opens, as illustrated below. This dialog box contains two calendars and two 12-hour clocks so that you can set the start and end dates and times.


    Set Date Range Window

  2. Define the start date and time by completing the following steps:

  3. Define the end date and time in the same way using the End calendar.

  4. Accept the date range by clicking OK.

Refreshing Data

Complete the following steps to refresh the data for a report:

  1. Select a window to make it active.

  2. Click the Refresh Data push button to update the data in the window.
    Note:For new data to be available to display, iwm_tracker (the back-end process for Tracker) must have been run to analyze any job accounting data that accrued since its last run.

Report Formats

The Total Table Hits report and the Rows Returned by Table report allow you to view data as bar charts (as a count or as a percentage), lists (as a count or as a percentage), or pie charts (as a percentage only).

Bar Charts

Bar charts display data as a count or as a percentage. The horizontal bars are arranged vertically, from largest to smallest. An example of a bar chart is illustrated. Alternatively, you can choose to view a bar chart with percentage information.

Lists

Lists display data as a count or as a percentage. The element with the highest value is at the top of the list. The same list can be viewed with count information.

Pie Charts

Pie charts show percentage data only. Each slice of the pie represents the percentage an element was accessed relative to the total accesses for all elements. Each wedge of the pie chart is also listed in a legend that lists the percentage value for each slice.

Changing the Report Format

Complete the following steps to change the default report format, which sets the format for the current report and subsequent reports, including the next time you run Tracker:

  1. Select a window to make it active or open a new report.

  2. Click the Change Report Format push button.

    The Change Report Format window opens.

  3. Select a format, and click OK.

Drilling Down for More Information

You can drill down to more detailed information if a drill-down report has been defined. See Tracker Reports for information on the reports available for drill down.

Complete the following steps to drill down to more specific data:

  1. Select a window to make it active or open a new report.

  2. Select an element from the report: a bar, a line in a list, or a bar in the pie chart legend. If a drill-down report is available, the Drill Down push button becomes active.

  3. Click the Drill Down push button.

    If only one drill-down report exists at the next level, the new report displays in the current window. Otherwise, if you can drill down to more than one type of report, a list displays as illustrated below:
    Drill Down List Window

  4. Select the report that you want to view and click Drill.

    The new report displays in the current window. The report uses the date range of the parent report and the current report format.

Drilling Up

If you have drilled down, you can drill back up through the same path. To drill back up through the reports, complete the following steps:

  1. Select a window to make it active.

    If a higher level of reports exists, the Drill Up push button becomes active.

  2. Click the Drill Up push button to display the report from one level up. The report displays in the current window using the current report format and the date range established for this window.

Viewing the Drill Path

You can view the drill path you followed for the active window. Complete the following steps to display the drill path:

  1. Select a window to make it active.

    If a drill path is available, the Drill Path push button becomes active.

  2. Click the Drill Path push button to display the drill path for the active window.

    The Drill-Down Path Display window opens. The currently displayed report is listed at the bottom of the drill path.

  3. Click OK to close the Drill-Down Path Display window.

Zooming and Panning

Use the Pan push button or the Zoom +/- push button to toggle between pan and zoom modes. The active push button displays the mode to be selected, not the current mode.

Zooming and Panning on a Pie Chart

Complete the following steps to zoom and pan on a pie chart:

  1. Select a window to make it active or to open a new report.

  2. If the format is not a pie chart, change the format to a pie chart.

  3. In zoom mode, place the cursor over the area that you want to zoom in on and click.

    The pie chart displays enlarged, with the click point at the center of the display.

  4. After you zoom in on an image, you can switch to pan mode by clicking the Pan push button.

  5. In pan mode, place the cursor over the area that you want to be the center of the screen and click.

    The area over which you placed the cursor becomes the center of the screen.

  6. Click the Zoom push button to switch to zoom mode.

  7. To zoom out, right-click.

    The entire pie chart displays at the normal size

Zooming and Panning on a Time Chart

Complete the following steps to zoom and pan on a time chart:

  1. Select a Job Activity over Time window to make it active or open a new Job Activity over Time report.

  2. In zoom mode, place the cursor over the column dividers just below the scale legend on the report; the zoom cursor becomes visible.

  3. Click to zoom in.

    Zooming in increases the scale and decreases the number of days displayed in the report. For example, if the current scale displays data for 30 days, and you zoom in, the number of days displayed decreases to approximately 18 days.

  4. After you zoom in on an image, you can switch to pan mode by clicking the Pan push button.

  5. In pan mode, place the cursor over the time segment that you want to be the center of the screen and click.

    The time segment over which you placed the cursor becomes the center of the screen and the date range is updated to reflect the change.

  6. Click the Zoom push button to switch to zoom mode.

  7. To zoom out, right-click.

    Zooming out decreases the scale and increases the number of days displayed in the report.


Closing a Tracker Report Window

To close a report window, complete the following steps:

  1. Select the window you want to close to make it active.

  2. From the File menu, select Close.

Exiting Tracker

To exit Tracker, click the Exit Tracker push button. The push button is displayed below:
Exit Tracker Push Button


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]

[ DB2 List of Books | Search the DB2 Books ]