×

Parallel database processing system and retrieval method using secondary key

  • US 5,515,531 A
  • Filed: 05/28/1993
  • Issued: 05/07/1996
  • Est. Priority Date: 05/29/1992
  • Status: Expired due to Term
First Claim
Patent Images

1. A method of retrieving a database by using a secondary key in a parallel database processing system having global database processing means, a plurality of local database processing means, and a network interconnecting said global database processing means and a plurality of said local database processing means, wherein one table containing a number of records is partitioned into local tables on the basis of values of primary keys, each of said local tables being provided in a corresponding one of said local database processing means, said global database processing means including a primary key partition table responsive to a retrieval request with one of said primary keys for identifying one of said plurality of local database processing means having said local table corresponding to said one of said primary keys, primary key indexes representing correspondence between the values of said primary keys for all records in said one table and storage locations of all records in said local tables being partitioned on the basis of said primary keys into local primary key indexes, each set of local primary key indexes being provided in a corresponding one of said plurality of local database processing means having a corresponding one of said local tables, so that said retrieval request with said primary key received by said global database processing means is transferred to a corresponding one of said plurality of local database processing means with reference to said primary key partition table and said corresponding one of said plurality of local database processing means converts the transferred retrieval request with said primary key into a storage location corresponding to said transferred retrieval request with reference to its own set of local primary key indexes to access its own local table based on said storage location thus converted to obtain a record corresponding to said retrieval request with said primary keys, secondary key indexes representing correspondence between the values of secondary keys for all records in said one table and access information to said records corresponding to said secondary keys are partitioned on the basis of said values of said secondary keys into local secondary key indexes, each set of said local secondary key indexes being provided in a corresponding one of said local database processing means, and identifying means is provided in said global database processing means, said identifying means being responsive to a retrieval request with said secondary key identifying said local database processing means having said local secondary key index corresponding to said secondary key, said method comprising the steps of:

  • a) at said global database processing means, receiving said retrieval request with said secondary key, causing said identifying means to identify the one of said local database processing means having said local secondary key index corresponding to said secondary key, and transferring said retrieval request with said secondary key to said identified one of said local database processing means; and

    b) at said identified local database processing means, referring to its own said local secondary key indexes, obtaining said access information corresponding to said transferred retrieval request with said secondary key, and processing said retrieval request with said secondary key by using said access information so that said local table corresponding to said retrieval request with said secondary key is accessed.

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