Reduced memory row hash match scan join for a partitioned database system
AssigneeNCR Corporation
InventorsPaul Laurence Sinclair, Kuorong Chiang
Life of this patent
Estimating the term…
Loading patent…
AssigneeNCR Corporation
InventorsPaul Laurence Sinclair, Kuorong Chiang
Estimating the term…
A method, computer system, and computer program are claimed for selecting rows from first and second tables each having rows containing values in columns. In at least the first table, the rows are divided into partitions at least one of which is populated by one or more rows. The method, computer system, and computer program include (a) defining a subset of the populated partitions of the first table that excludes at least one populated partition of the first table, (b) creating a file context, which stores at least location data for a row and a first value associated with the row, for each populated partition in the subset of the populated partitions of the first table, (c) determining the lowest first value stored by the file contexts for the first table, (d) identifying rows with a particular first value by at least reading the file contexts of the first table, and (e) repeating a through d until the subsets of the populated partitions of the first table have included all the populated partitions of the first table.
A method for selecting rows from first and second tables each having rows containing values in columns, in at least the first table the rows being divided into partitions at least one of which is populated by one or more rows, the method comprising:
A database system for iteratively selecting rows from a first table, the database system including a second table, the first table including rows and columns and being divided by rows into partitions and at least one of the partitions in the table being populated by one or more rows, the system comprising:
A computer program, stored in a tangible medium, for selecting rows from a first table, the first table having rows and columns and divided by row into partitions, at least one of the partitions being populated by rows, the program comprising executable instructions that cause a computer to:
Dependencies are inferred from the claim text.