17.10 - Defining an Exception - Teradata Viewpoint - Teradata Workload Management

Teradata® Viewpoint User Guide

Teradata Viewpoint
Teradata Workload Management
Release Number
Release Date
October 2021
Content Type
User Guide
Publication ID
English (United States)
An exception is a defined set of actions to take when a threshold is exceeded. If you add multiple criteria, all must be true in order for the exception to be triggered. Only one qualification time can be specified even if multiple qualified criteria are added. If qualified criteria are specified, the exception is triggered only if all of the qualified criteria are satisfied for the duration of the qualification time. After an exception is created, additional controls in the tabs of the Exceptions view allow you to manage the exception.
  1. Edit or create a ruleset.
  2. From the ruleset toolbar, click Exceptions.
  3. From any of the tabs in the Exception view, click next to Exceptions.
  4. Enter a name.
  5. [Optional] Enter a description.
  6. Under Criteria, select an option from the list, click , and specify the additional required information.
    You can select and add multiple criteria. If you do so, all criteria must be satisfied for the exception to be triggered.
  7. For qualified criteria marked with *, enter a value in the Qualification Time box.
  8. Under Actions, select one of the following actions to be performed when the specified criteria are met:
    Action Description
    Notification Only Sends notification and takes no other action.
    Abort Stops the query.
    Abort Selects Only Stops the query only if it is a SELECT.
    Change Workload to Changes the query to the workload you select from the list.

    This action is unavailable for Blocked Time or Elapsed Time.

  9. [Optional] Under Notifications, enable any of the following options for the start or the end of the event:
    Notification Description
    Send Alert Specifies the action to trigger.
    Run Program Specifies the Alerts registered programs to trigger.
    Post to QTable The string you enter is posted to the QTable.
  10. Click OK.