The focus of this document is to describe how best to implement a successful workload management solution using DB2 for Linux, UNIX, and Windows, Version 9.7.4 or higher. The contents of this document reflect the latest experiences of IBM® field personnel and customers within the data warehouse arena from which the vast majority of reported feedback for DB2 workload management has been received.
Using a staged approach, this document guides you through the steps needed to implement the best practices workload management configuration on DB2 for Linux, UNIX, and Windows with sufficient controls to help ensure a stable, predictable system for most data warehouse environments. This initial configuration is intended to be a good base upon which additional tuning and configuration changes can be implemented, as needed, for you to achieve your specific workload management objectives.
The document assumes a novice beginner and describes the individual steps and mechanisms at each point. A more experienced user can condense many of the listed steps to move from stage 1 to stage 2, making the transition in days of elapsed time rather than weeks as the suggested timeline indicates in a later section.
Although you can use SQL DDL statements to directly interact with the DB2 database manager, the IBM OptimTM Performance Manager 4.1.1 product provides a simplified interface through its detailed configuration editor which can be used to make the interactions less onerous.
The steps outlined in this document are focused on the efficiency of the system as a whole, regardless of where the work itself comes from. It is important to note that achieving the goal of a stable system might not necessarily also result in the achievement of any individual application service-level agreement (SLA) or specific performance objectives for queries. These more granular objectives might require subsequent changes to the workload management configuration, such as outlined in the section on stage 3 scenarios, which is outside the main scope of this document.
This paper is not a tutorial on DB2 workload management capabilities and does not attempt to provide comprehensive guidance in addressing all possible scenarios where DB2 workload management might be employed. It also does not cover all features within the DB2 product that might be of use in controlling resource consumption. The scope of this paper is focused on describing the system stabilization approach in some detail and provides some general guidance for common advanced scenarios.