Patents
US 8,996,502 B2#27089013 Most CitedExpiredUnited States (USPTO)Utility

Using join dependencies for refresh

4Forward Citations (#27089013 Global)
0.4/yrCitation Velocity (#22213704 Global)
1.11Citation PageRank (#36222316 Global)
44Prior Art Cited
2Claims (1 Indep. · 1 Dep.)
0Drawings / Sheets

Abstract

In an embodiment, Partition Change Tracking (PCT) refresh is performed by using join dependencies on partitioning columns to derive and fill in identifiers of rows and/or partitions containing the rows in the refresh expressions. In an embodiment, the join dependencies that form the Materialized View's (MV's) query definition and the partitioning predicate of the table are used to automatically generate a statement which is run in order to derive and fill in identifiers of the rows and/or partitions that are being changed. The identifiers are then plugged into the refresh expression, and the refresh expression is run. Running the refresh expression causes the rows identified to be refreshed.

Interactive Citation Constellation Global Citation Ranking

Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 44 · Forward citations: 4.

Claims (2 — 1 Independent, 1 Dependent)

  1. Claim 1Independent Claim

    A machine-implemented method, comprising: evaluating a definition of a materialized view based on a base table, wherein the base table is partitioned into a plurality of partitions based on a partition key; wherein the step of evaluating includes determining that the definition is based on a join dependency of the partition key of said base table; and based on the evaluating, generating a refresh expression that includes a restriction based on said partition key; wherein the steps of evaluating and generating are performed by a computing device.

  2. Claim 2Depends on #1

    The method of claim 1 , wherein: the restriction is based on a predicate expression that identifies a subset of said plurality of partitions; and the refresh expression specifies a delete of operation of rows in the materialized view that correspond to the subset of s

Technical Overview & Description

Full multi-page specification text is archived at the issuing office. Read complete official specification ↗

References Cited — Backward Prior Art (44)

PatentTitleYearCitations
US 4,773,862 AMethod for mapping a joint venture and maps produced thereby198818
JP H05104972 ADifferential limiting device—6
US 5,325,525 AMethod of automatically controlling the allocation of resources of a parallel processor computer system by calculating a minimum execution time of a task and scheduling subtasks against resources to execute the task in the minimum time1994381
US 5,574,900 ASystem and method for optimizing parallel processing of database queries1996108
US 5,765,147 AQuery rewrite for extended search capabilities1998105
US 5,778,353 AComputer program product for optimizing data retrieval using index scanning199852
US 5,822,751 AEfficient multidimensional data aggregation operator implementation1998243
US 5,963,959 AFast refresh of snapshots1999111
US 6,026,390 ACost-based maintenance of materialized views2000145
US 6,125,360 AIncremental maintenance of materialized views containing one-to-N lossless joins2000101
US 6,134,543 AIncremental maintenance of materialized views containing one-to-one lossless joins200098
US 6,205,451 B1Method and apparatus for incremental refresh of summary tables in a database system2001118
US 6,272,502 B1Refreshing materialized views of a database to maintain consistency with underlying data200152
US 2001013030 A1Defining and characterizing an analysis space for precomputed views—99
US 6,289,335 B1Fast refresh of snapshots containing subqueries200191
US 6,334,128 B1Method and apparatus for efficiently refreshing sets of summary tables and materialized views in a database management system2001123
US 6,339,769 B1Query optimization by transparently altering properties of relational tables using materialized views200291
US 6,356,890 B1Merging materialized view pairs for database workload materialized view selection200266
US 6,356,891 B1Identifying indexes on materialized views for database workload200282
US 6,356,889 B1Method for determining optimal database materializations using a query optimizer2002114
US 6,374,263 B1System for maintaining precomputed views2002144
US 6,457,020 B1Query optimization using a multi-layered object cache200267
US 6,473,201 B1Method and apparatus for analyzing and converting bi-level image data200211
US 6,477,525 B1Rewriting a query in terms of a summary based on one-to-one and one-to-many losslessness of joins200280
US 6,493,701 B2Database system with methodogy providing faster N-ary nested loop joins200277
US 6,493,699 B2Defining and characterizing an analysis space for precomputed views200277

Non-Patent Literature (5)

  • "Oracle 9i Materialized Views" An Orace White Paper (May 2001).
  • Al-Anzi, Fawas S. et al., "Modeling behavior, a Step Towards Defining Functionally Correct Views of Complex Objects in Concurrent Engineering", CIKM '94. Gaitherburg MD, USA, 1994 ACM 089791-674-3, pp. 1-9.
  • Bello, Randall G., et al., "Materialized Views in Oracle", VLDB 1998, Proceedings of 24th International Conference on Very Large Databases, Aug. 24-27, 1998, pp. 659-664.
  • Faiza Najjar, et al., "Cardinality estimation of distributed join queries," Sep. 1-3, 1999; Database and Expert Systems Applications, 1999, Proceedings, Tenth International Workshop on, pp. 66-70.
  • Gianluca Moro, et al., "Incremental maintenance of multi-source views," Database Conference, 2001, ADC 2001, Proceedings, 12th Australasian, Jan. 2001, pp. 13-20.