首页>
外国专利>
Query expression evaluation using sample based projected selectivity
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.
展开▼