×

Method and apparatus for optimizing queries across heterogeneous databases

  • US 5,943,666 A
  • Filed: 09/15/1997
  • Issued: 08/24/1999
  • Est. Priority Date: 09/15/1997
  • Status: Expired due to Term
First Claim
Patent Images

1. A heterogeneous database system including plural databases, one database acting as a system manager (hereafter "system manager") which performs functions to provide a transparent user database encompassing both said one database and other databases, said system manager comprising:

  • a memory for storing (i) a database management procedure, (ii) a catalogue of database functions that are supported by said plural databases, including but not limited to join methods, aggregate functions and search algorithms, and (iii) a query optimizer procedure; and

    a processor coupled to said memory and responsive to a user query which requires execution of a database function with respect to data stored at a first database, for executing said query optimizer procedure, said processor, under control of said query optimizer procedure, employing entries from said catalogue relating to database functions supported by both said first database and a second database, to establish query plans for responding to said query, a first said query plan based upon an optimized execution thereof at said first database and a second said query plan based upon an optimized execution thereof at said second database, and for choosing one of said query plans in accordance with a determined criteria, to be executed by said database management procedure in response to said user query.

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