×

Non-blocking drain method and apparatus used to reorganize data in a database

  • US 6,070,170 A
  • Filed: 10/01/1997
  • Issued: 05/30/2000
  • Est. Priority Date: 10/01/1997
  • Status: Expired due to Term
First Claim
Patent Images

1. A method for use in reorganizing a resource including data, the method comprising:

  • in response to a reorganization request, using a non-blocking drain to lock on the resource;

    delaying processing of the reorganization request until the completion of processing of one or more requests on the resource made prior to the reorganization request;

    processing one or more requests on the resource made during the delay in processing of the reorganization request;

    after the delay in processing the reorganization request, processing the reorganization request by;

    unloading a copy of the data from the resource;

    reorganizing said copied data;

    loading said reorganized data into a shadow location;

    applying log records to said shadow location data, said log records adjusting said reorganized data for changes occurring to the resource after said data was unloaded; and

    replacing said data in the resource with said reorganized data.

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