System and method for performing joins and self-joins in a database system
AssigneeThe Trustees of Columbia University in the City of New York
InventorsKenneth A. Ross, Hui Lei
Life of this patent
Estimating the term…
Loading patent…
AssigneeThe Trustees of Columbia University in the City of New York
InventorsKenneth A. Ross, Hui Lei
Estimating the term…
A technique for efficiently joining multiple large tables in a database system which utilizes a join index. The technique uses a join index and minimizes the number of input/output operations while maximizing the use of the small main memory through a buffer allocation process based on the join index entries. The technique uses multi-dimensional partitioning and assigns partition identifiers to each buffer which are used to coordinate the resultant output files when the technique is complete. The output is vertically fragmented with one fragment for each input table which further allows the individual processing of each input table. The technique performs self-joins in a very efficient manner by requiring the records of the input table to be read only once.
A method for joining in a database system one or more input tables comprised of records stored in a storage medium using a join index indicative of records to be joined and having an index entry for each record to be included an output resulting from said join, said method comprising the steps of:
A method for joining one or more input tables comprised of records stored in a storage medium in a database system which includes said storage medium and at least one memory having a storage capacity smaller than necessary to store at least one of said input tables, said method using a join index indicative of records to be joined and having an index entry for each record to be included in an output resulting from said join, and comprising the steps of:
An apparatus for joining a plurality of input tables comprised of records in a database system using a join index indicative of records to be joined and having an index entry for each record to be included in an output resulting from said join, said apparatus comprising:
A database system capable of performing join operations on one or more input tables using a join index, comprising:
Dependencies are inferred from the claim text.