Method of executing conflicting triggers in an active database
Abstract
A method for executing triggers in an active database. An operator tree is formed for the activating trigger and the activated triggers are identified. Each trigger has a creation time stamp. Conflicting triggers are determined based on the tables accessed by the activated triggers. Two or more parallel groups are formed such that conflicting triggers are placed into a different parallel groups and non-conflicting triggers are contained within a parallel group. The parallel groups are interconnected for sequential execution, the order of execution of the parallel groups being based on the creation time stamps of conflicting triggers. The parallel groups are then connected to the operator tree and, if possible, a parallel group containing row triggers is connected to execute in a pipelined fashion with the operator tree of the activating statement.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 12 · Forward citations: 24.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method of forming an execution plan for a plurality of triggers in an active database having at least one table, each table having at least one row, comprising: identifying the plurality of triggers that are activated by the activating statement; forming an operator tree for the activating statement; forming a tree for each trigger of the plurality of activated triggers, wherein the activated triggers are after-triggers each having a creation time stamp; determining the tables that are accessed by the plurality of activated triggers; determining any conflicting triggers based on the tables a
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗