×

System and method for quiescing select data modification operations against an object of a database during one or more structural operations

  • US 7,805,423 B1
  • Filed: 11/15/2000
  • Issued: 09/28/2010
  • Est. Priority Date: 11/15/1999
  • Status: Active Grant
First Claim
Patent Images

1. A method of reorganizing a table in a database file while providing clients of the database file continuous access to data stored in the table, the method comprising:

  • reorganizing data of an original table by copying the data to a reorganized table;

    during the copying, allowing modifications to the data of the original table while collecting records of the modifications;

    when the copying completes, applying the modifications from the collected records against the reorganized table;

    applying a first partial lock to the original table, the first partial lock blocking select data modification operations against the original table while allowing other operations against the original table;

    applying any remaining modifications from the collected records against the reorganized table;

    applying a second partial lock to the reorganized table, the second partial lock blocking select data modification operations against the reorganized table while allowing other operations against the reorganized table during the reorganization such that the reorganized table remains continuously accessible during the reorganization;

    substituting the reorganized table for the original table such that the reorganized table remains accessible while substituting the reorganized table for the original table; and

    removing the second partial lock, wherein additional more-restrictive locks to the original table are not needed during the method of reorganizing the original table, thereby providing clients of the original table continuous access to the data during the reorganization through at least the other operations allowed by the first partial lock.

View all claims
  • 26 Assignments
Timeline View
Assignment View
    ×
    ×