发明名称 Selectivity estimation for processing SQL queries containing having clauses
摘要 The estimate of the selectivity of a HAVING clause in an SQL query is carried out within a specified time constraint by determining a selectivity estimate for each member in a sample set of group sizes for the HAVING clause using a probabilistic model based on an assumed value distribution. The selectivity estimates for the groups in the sample set are used to interpolate estimates for all possible group sizes and the estimates are combined based on an assumed known group size distribution to provide an estimation of the selectivity for the HAVING clause. Different selectivity estimating approaches are used for each group size based on available time for estimating and on the estimated time to complete the estimate using different techniques.
申请公布号 US6778976(B2) 申请公布日期 2004.08.17
申请号 US20010757434 申请日期 2001.01.10
申请人 INTERNATIONAL BUSINESS MACHINES CORPORATION 发明人 HAAS PETER J.;LUMBY JOHN E.;ZUZARTE CALISTO P.
分类号 G06F17/30;(IPC1-7):G06F17/30 主分类号 G06F17/30
代理机构 代理人
主权项
地址