Execution (TMRS)

TMRS will query the Optimizer Instances to determine which ones are currently available. When one or more Optimizer Instances are identified as being available, the stored procedure used to get the next Optimization Request will be invoked. When active data exists in the Optimizer Instance Group table, as established during startup, TMRS will determine which of the Optimizer Instance Group(s) the available Optimizer Instance belongs to. The process that gets the next Optimization Request will only consider Optimization Requests that are compatible with the available Optimizer Instances.

Assume parameter -TPINSTANCEGROUPS was initialized for TMRS as described in the Startup section above.

If TMRS determines that OPT4 is available, Get Next Optimizer Request will be invoked with SHORT designated as the only eligible Optimizer Instance Group.

If TMRS determines that OPT1 or OPT2 is available, Get Next Optimizer Request will be invoked with LONG designated as the only eligible Optimizer Instance Group.

If TMRS determines that OPT3 is available, Get Next Optimizer Request will be invoked with LONG and SHORT designated as the eligible Optimizer Instance Groups.