发明授权
US07873629B1 Dynamic partition enhanced inequality joining using a value-count index 有权
动态分区增强使用数值计数索引的不等式加入

Dynamic partition enhanced inequality joining using a value-count index
摘要:
Methods, computer programs, and database systems for performing a database query to join a column A and a column B on an inequality condition are disclosed. A database includes value-count indexes for columns A and B. Minimum and a maximum values for A and B are determined, using the value-count indexes for A and B, respectively. The method includes defining three or more sets of values in A and B, relative to the minimum and maximum values for B and A, respectively. The method includes generating one or more Cartesian products between values in A and B. The database query is performed on a set of values in A and a set of values in B to generate a partial query result. The method includes merging one or more Cartesian products and the partial query result.
公开/授权文献
信息查询
0/0