Method of parallel trigger execution in an active database
Abstract
A method for executing after-triggers in an active database. A tree is constructed for each after-trigger and an operator tree is constructed for the statement that activates the trigger. The method joins each of the trees for the activated row-after triggers to the operator tree for pipelined execution with the operator tree. The trees for the activated row-after triggers form a group and each of the trees within the group execute in parallel with each other. The method joins trees for activated statement-after triggers to the operator tree for execution subsequent to the execution of the operator tree, the statement after trigger trees receiving rows from a temporary table that accumulates affected rows from the operator tree. Trees for activated statement after triggers form a group and each of the trees within the group execute in parallel with each other.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 12 · Forward citations: 18.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method of forming an execution plan for at least one trigger in an active database, comprising: determining any triggers that may be activated by an activating statement; determining any rows affected by the activating statement; forming an operator tree for the activating statement; forming a tree for the triggers that are activated by the activating statement, wherein the activated trigger is either a row-after trigger or a statement-after trigger; if the activated trigger is a row-after trigger, joining the tree for the row-after trigger to the operator tree for pipelined execution with t
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗