首页> 外国专利> OPTIMIZATION OF QUERIES ON VIEWS DEFINED BY CONDITIONAL EXPRESSIONS HAVING MUTUALLY EXCLUSIVE CONDITIONS

OPTIMIZATION OF QUERIES ON VIEWS DEFINED BY CONDITIONAL EXPRESSIONS HAVING MUTUALLY EXCLUSIVE CONDITIONS

机译:具有互斥条件的条件表达式定义的视图查询的优化

摘要

For an information retrieval system, a query rewrite optimization method foreliminatingcondition predicates of conditional expressions defining the values of acolumn that is referencedin the predicate of an SQL query on a view. The method evaluates the query toidentify a viewand a predicate referencing a column of the view. The column has valuesselected by aconditional expression having condition predicates defining respectivemutually exclusive rangesof values. The predicate defines a first range of values. A determination ismade as to whetherone of the condition predicates defines a mutually exclusive range of valuesthat includes thefirst range of values. And, in response, the query is rewritten to eliminatethe conditionpredicates other than the one condition predicate. The predicate is thusapplied directly to thebase tables without evaluating the conditional expression.
机译:对于信息检索系统,一种查询重写的优化方法消除条件表达式的条件谓词,用于定义a的值被引用的列在视图上的SQL查询谓词中。该方法将查询评估为识别视图谓词引用视图的一列。该列具有值由一个选择具有条件谓词的条件表达式定义了各自互斥范围价值。谓词定义值的第一范围。确定是关于是否条件谓词之一定义值的互斥范围其中包括第一个值范围。并且,作为响应,查询被重写以消除条件一个条件谓词以外的谓词。因此谓词是直接应用于基本表而不评估条件表达式。

著录项

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号