发明名称 Query expression evaluation using sample based projected selectivity
摘要 Methods, systems, and computer program products are provided for query expression evaluation for query optimization. Embodiments include receiving a query including a plurality of predicates; creating a truth table representing the possible solutions to the query; identifying a plurality of intersections of the truth table, the plurality of intersections including each predicate of the query; assigning a selectivity factor to each predicate; determining in dependence upon the selectivity factors for each predicate a selectivity rating for each of the intersections of the truth table; selecting one or more of the intersections in dependence upon the selectivity rating; and determining in dependence upon the selected intersections a percentage of rows in a database table returned by the query; and providing the percentage of rows in the database table to an access plan generator for query optimization.
申请公布号 US8688682(B2) 申请公布日期 2014.04.01
申请号 US20070690156 申请日期 2007.03.23
申请人 FAUNCE MICHAEL S.;SUGINAKA YASUNOBU;INTERNATIONAL BUSINESS MACHINES CORPORATION 发明人 FAUNCE MICHAEL S.;SUGINAKA YASUNOBU
分类号 G06F17/30;G06F7/00 主分类号 G06F17/30
代理机构 代理人
主权项
地址