Incremental maintenance of immediate materialized views with outerjoins
Abstract
Methods and systems for using algorithms in relational database management systems (RDBMSs) for incremental maintenance of materialized views with outerjoins are disclosed. The algorithms achieve the following goals with respect to a class of materialized outerjoin views and the performance of update operations: relax the requirement for the existence of the primary key attributes in a select list of the view to only some of the relations (i.e., the relations referenced as a preserved side in an outerjoin); relax null-intolerant property requirements for some predicates used in the view definition (i.e., predicates referencing relations which can be null-supplied by more than one outerjoin); and implement maintenance of outerjoin views by using one update statement (e.g., MERGE, UPDATE, INSERT, or DELETE) per view for each relation referenced in the view. The algorithms allow design and implementation of the incremental maintenance of materialized views with outerjoins to be integrated into an RDBMS.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 9 · Forward citations: 5.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A computer-implemented method for creating an internal representation of an immediate materialized outerjoin view, comprising: determining whether a previously defined immediate materialized view (iMV) references a base table in a relational database; in response to determining that an iMV references the base table, building a normalized join operator tree, wherein the tree is based upon a definition of the iMV; determining whether the tree satisfies predicate conditions; in response to determining that the tree satisfies the predicate conditions, performing a Preserved Side/Null Supplied Side
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (5 of 5 total)
References Cited — Backward Prior Art (9)
Non-Patent Literature (5)
- ANSI/ISO/IEC International Standard 9075-2: Database Language SQL-Part 2: Foundation (SQL/Foundation), entire document (1147 pages), Sep. 1999.
- ANSI/ISO/IEC International Standard 9075-2: Information technology-Database languages-SQL-Part 2: Foundation (SQL/Foundation), entire document (1362 pages), 2008.
- Bowman, I.T. et al., "SQL Anywhere: A Holistic Approach to Database Self-management," Proceedings, ICDE Workshops (Self-Managing Database Systems), Istanbul, Turkey, pp. 514-523, Apr. 2007.
- Codd, E.F., "Extending the Database Relational Model to Capture More Meaning," ACM Transactions on Database Systems, vol. 4, No. 4, pp. 397-434, Dec. 1979.
- Galindo-Legaria, C.A., "Outerjoins as Disjunctions," ACM SIGMOD International Conference on Management of Data, Minneapolis, Minnesota, pp. 348-358, May 1994.