Neoview Workload Management Services Guide (R2.4)

exec-expression
specifies one of these execution rule expressions:
An expression comparing the number of rows returned with
either the estimated number of rows used by the query or a
numeric value that you specify.
USED_ROWS rule-operator
EST_USED_ROWS | numeric-value
An expression comparing the number of rows accessed with
either the estimated number of rows accessed or a numeric
value that you specify.
ACCESSED_ROWS rule-operator
EST_ACCESSED_ROWS | numeric-value
An expression comparing the TOTAL_MEM_ALLOC, which
is the sum of SQL_SPACE_USED and SQL_HEAP_USED,
with the estimated total memory per CPU used by the query
or a numeric value that you specify. The value of the second
operand, numeric-value, is in kilobytes.
TOTAL_MEM_ALLOC rule-operator
EST_TOTAL_MEMORY | numeric-value
An expression comparing the elapsed time of the query
execution with a numeric value that you specify. The value
of the second operand, numeric-value, is in minutes.
ELAPSED_TIME rule-operator
numeric-value
rule-operator
specifies the operator to use when comparing the first operand of the exec-expression
to the second operand. The rule-operator can be:
= | >= | > | < | <= | <> | percentage%
percentage%
specifies that the first operand of exec-expression is greater than some percentage (for
example, 200 percent of the second operand of exec-expression). A valid range is 100 to
1000 percent.
numeric-value
specifies a number in the range of 0 to 9223372036854775807.
warn-level
specifies the warning classification. warn-level can be one of these values:
WARN-HIGH
WARN-MEDIUM
WARN-LOW
NO-WARN
If you do not specify a warning level, the default is WARN-LOW.
rule-action
specifies an action to take if rule-specifier-list evaluates to true. For an execution
rule, you can specify this action:
CANCEL
stops the NDCS process in which the query is running.
rule-comment
is optional text that you can specify to describe the rule you are creating. comment-string
cannot exceed 256 characters. You must delimit the comment in double quotes.
Considerations
Use the ALTER SERVICE EXEC command to associate execution rules with a service.
You cannot add a rule that begins with the reserved “HPS_” prefix or that has the same
name as one of the predefined rules, HPS_MANAGEABILITY1 through 9 and
HPS_TRANSPORTER1.
ADD RULE EXEC Command 89