Adaptive filter index for determining queries affected by a DML operation
Abstract
Techniques are disclosed for creating and using a filter index in order to identify registered queries whose result sets are likely to have been changed by changes made to tables. The filter index entries are based on filter conditions. The filter conditions are created based on predicates contained in the registered queries. The filter conditions may include exclusive predicates and join predicates. Join predicates that join a table T 1 with a table T 2 may be instantiated by replacing references to table T 2 with values extracted from table T 2 . Various techniques are described for recognizing situations in which a query can be included in, or excluded from, the set of likely-changed queries, without fully evaluating the filter conditions that correspond to the queries.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 14 · Forward citations: 4.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method for identifying registered queries whose result sets were actually changed by a change to data within a table, comprising: using a filter index to determine a set of base predicates that are satisfied by the change; determining that a particular set of registered queries correspond to the set of base predicates that are satisfied by the change; wherein the particular set of registered queries includes at least one registered query whose result set was not actually changed by the change; adding, to a set of candidate queries, the particular set of registered queries that correspond to
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (4 of 4 total)
References Cited — Backward Prior Art (14)
Non-Patent Literature (2)
- N. Gehani et al., "OdeFs: A File System Interface to an Object-Oriented Database", AT&T Bell Laboratories, New Jersey, 1989.
- U.S. Appl. No. 12/189,078, filed Aug. 8, 2008, Final Office Action, Mailing Date Mar. 14, 2011.