Neoview Workload Management Services Guide (R2.4)
4 Configuring Rules
• “What Are Rules?” (page 39)
• “Global Rule Considerations” (page 39)
• “Connection Rules” (page 40)
• “Compilation Rules” (page 51)
• “Execution Rules” (page 59)
• “Displaying the Definitions of All Rules” (page 66)
What Are Rules?
Rules allow you, the administrator, to specify conditions for WMS to evaluate and trigger actions
during certain phases of the client session and query execution:
• When a client application connects to an NDCS server, the NDCS server compares the
connection rules in WMS with the client's connection attributes to determine which WMS
service to assign to the client session and the queries running in it.
• After a query is prepared, WMS validates the compiler estimates of the query against the
compilation rules set for the service and, along with other criteria, determines whether to
permit the query to start executing.
• When a query has been executing for at least five minutes, WMS starts periodically checking
the execution rules set for the service and comparing them with the query runtime statistics
to determine whether the query can continue executing.
The next sections describe how to establish these types of user-defined rules in WMS:
• “Connection Rules” (page 40)
• “Compilation Rules” (page 51)
• “Execution Rules” (page 59)
NOTE: The examples in this chapter show WMS commands that are executed in an NCI session.
For more information, see “How to Execute WMS Commands in NCI” (page 25).
Global Rule Considerations
The following considerations apply to creating all types of rules in WMS:
• Rule names must be unique. No rule, whether it is a connection, compilation, or execution
rule, can have the same name as another rule.
• You can define a maximum of 1000 rules.
• You can assign a maximum of 100 rules to a service.
What Are Rules? 39