×

Method of optimizing database organization using sequential unload/load operations

  • US 5,761,667 A
  • Filed: 08/07/1996
  • Issued: 06/02/1998
  • Est. Priority Date: 08/07/1996
  • Status: Expired due to Term
First Claim
Patent Images

1. A method, executed by a machine, of reorganizing an IMS database having a hierarchical structure, comprising:

  • (a) creating, in a storage device, a header data structure containing information about the size and hierarchical structure of the database;

    (b) determining a number of sequential files in which to partition the database to be used for temporary storage of data from the database;

    (c) determining a desired number of unload processes to be used in parallel in unloading the database;

    (d) initiating the desired number of unload processes to copy data from the database to one or more sequential files so that hierarchically-related data in the database is copied in sequence;

    (e) providing a storage space to contain the database, said storage space having a plurality of addresses;

    (f) assigning respective address ranges of the storage space to the sequential files; and

    (g) initiating a plurality of load processes to execute concurrently, the load processes being assigned to write data from one or more specified sequential files to the storage space at the respective address ranges assigned to the specified sequential files.

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