IBM Books

DB2 Query Patroller Administration Guide


Administration

This chapter provides information about DB2 Query Patroller parameters and system administration tasks.


Administration Overview

You can perform system administration tasks for DB2 Query Patroller through the command-line interface or QueryAdministrator. System administration tasks include setting various DB2 Query Patroller parameters to control its operation, maintaining the cost statistics, and adding users to the system.


Parameters

The following information outlines the DB2 Query Patroller parameters.

Environment Variables

The system administrator can set environment variables to alter the behavior of DB2 Query Patroller. To have an effect, the environment variables must be set for the iwm account before starting DB2 Query Patroller. The DB2 Query Patroller Installation Guide provides information about setting DB2 Query Patroller environment variables.

System Parameters

The System Parameters table stores the following parameters. These global parameters apply to all of DB2 Query Patroller. You can display and change these parameter values through the command-line interface and QueryAdministrator.

Data Source Parameters

The Data Sources table stores parameters that apply to a specific database instance. You can display and change these parameters' values through the command-line interface and QueryAdministrator.

Job Queue Parameters

The Job Queue table stores the following parameters. You can display and change these parameters' values using the QueryAdministrator.

User Profile Parameters

The User Profile table stores the following parameters. You can display and change these parameter values through the QueryAdministrator.


Administrative Tasks

The following subsections provide information about performing the system administrator tasks of maintaining cost statistics and adding users to the system.

Maintaining Cost Statistics

If the cost analyzer uses the database catalog to determine the relative cost of a full table scan, RUNSTATS should periodically be run to keep the catalog entries current. The catalog reflects the status of a table as of the most recent RUNSTATS. If it has never been run, the catalog will be empty.

Adding Users

Each DB2 Query Patroller user must be defined in the User Profile table, and must have a system account on the database server system with the CONNECT database privilege.

The task of adding users includes defining an e-mail address to which DB2 Query Patroller can send notifications. Mail can be sent to other mail packages like CC-Mail and Microsoft Exchange, given the proper configuration of the mail system. (The scope of this document does not address mail system configuration.) If not set up properly, the notification message bounces back to the iwm account. The mail for this user should be monitored, either directly or by forwarding it to another user.


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

[ DB2 List of Books | Search the DB2 Books ]