Optimization of a star join operation using a bitmap index structure
AssigneeNCR Corporation
InventorsRamesh Bhashyam, Olli Pekka Kostamaa
Life of this patent
Estimating the term…
Loading patent…
AssigneeNCR Corporation
InventorsRamesh Bhashyam, Olli Pekka Kostamaa
Estimating the term…
A method, apparatus, and article of manufacture for optimizing a star join operation in relational database management systems (RDBMS). A cross-product is generated from a plurality of dimension tables referenced by the star join. The join columns of the cross-product are then hashed to create a hash-row value. Using the hash-row value, a Star Map is probed to determine whether a record exists in a fact table that corresponds to the cross-product, wherein a first portion of the hash-row value is used to select a row of the Star Map and a second portion of the hash-row value is used to select a column of the selected row of the Star Map. The fact table is accessed to perform a merge join with the cross-product when the selected column of the selected row of the Star Map indicates that the record exists in the fact table.
A method of performing a star join in a computer to retrieve data from a relational database stored in one or more data storage devices coupled to the computer, the method comprising:
A computer-implemented system for performing a star join to retrieve data from a relational database stored in one or more data storage devices coupled to a computer, comprising:
An article of manufacture comprising logic embodying a method for performing a star join in a computer to retrieve data from a relational database stored in one or more data storage devices coupled to the computer, the method comprising:
A data structure stored in a memory for use in performing a star join in a database management system executed by a computer, the data structure comprising a Star Map for filtering accesses to one or more fact tables referenced in a query, wherein each column of each row of the Star Map stores a column value that indicates whether a record may exist in the fact table, the Star Map is probed for the column values using a hash-row value created from one or more join columns of a cross-product generated from one or more dimension tables referenced by the star join to determine whether the record exists in the fact table that corresponds to the cross-product, wherein a first portion of the hash-row value is used to select a row of the Star Map and a second portion of the hash-row value is used to select a column of the selected row of the Star Map.
Dependencies are inferred from the claim text.