×

Choosing whether to use a delayed index maintenance depending on the portion of the materialized view (MV) changed

  • US 7,734,602 B2
  • Filed: 03/18/2005
  • Issued: 06/08/2010
  • Est. Priority Date: 04/14/2004
  • Status: Active Grant
First Claim
Patent Images

1. A method for refreshing indexes of a materialized view in a database system, the method comprising:

  • determining whether an incremental refresh of the materialized view satisfies one or more criteria, wherein an index on the materialized view is refreshable by incrementally refreshing the index as the incremental refresh of the materialized view is being performed or by delayed maintenance of the index until after the materialized view is refreshed;

    wherein the index is not any materialized view that is referable as a table in database statements that are executable by the database system;

    when the one or more criteria are satisfied,disabling incremental updating of the index, refreshing the materialized view, and, after refreshing the materialized view, performing the delayed maintenance of the index;

    when the one or more criteria are not satisfied, incrementally refreshing the index as the incremental refresh of the materialized view is being performed;

    wherein the method is performed by one or more computer systems.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×