A method and apparatus for parallel execution of trigger actions. One or
more embodiments of the invention comprise providing a C++ class
(hereinafter referred to as "dispatcher") that can take an SQL query or
trigger action and start parallel execution of the trigger action. The
trigger action is optimized and parallelized. The dispatcher executes the
trigger action, sets up the communication links between the various
operators in the trigger action, and ensures that all the results are sent
back to the trigger.