期刊文献+

利用区间约束优化包含多个用户函数的查询 被引量:1

Optimization of Multiple User-Defined Functions in a Query Using Interval Constraints
下载PDF
导出
摘要 如何高效地处理说明性查询语言中嵌入的用户自定义函数 ,是查询优化的一个重要内容 .以往的研究成果不能处理一条语句中的多个用户函数 ,并且难以实现 .提出了分 3个阶段进行优化的方案 ,能够对用户定义的多个函数进行处理 .首先 ,把用户定义的函数以区间约束的形式等价地表述出来 ;然后 ,通过对区间约束进行分层筛选 ,去掉冗余 ;最后 ,选择最佳的执行策略 .该方案易于实现 ,效率较高 ,特别是在用户定义的函数本身隐含多个表的连接条件时 ,更能取得明显的优化效果 . How to process user-defined functions incorporated in declarative query languages efficiently is an important aspect of query optimization. The problem of several user-defined functions in a query clause was solved in the former researches. There isn't a proposal in these researches that can be implemented easily. A 3-stage optimization plan is put forward, which has the potency of processing several user-defined functions in a query clause: firstly, rewrite user-defined functions equivalently in the form of interval constraints; secondly, stratify the constraints and eliminate the redundant ones; finally, select the optimal execution strategy. This plan has the virtue of easy implementation and higher efficiency. Especially when the user-defined functions imply join conditions of several tables, this plan can get an obvious optimization result.
出处 《软件学报》 EI CSCD 北大核心 2001年第9期1393-1398,共6页 Journal of Software
基金 山东省自然科学基金资助项目 (Q97G0 115 8) 霍英东青年科学家基金资助项目 (710 6 5 )~~
关键词 查询优化 用户定义函数 区间约束 数据库系统 Constraint theory Database systems Functions Optimization Theorem proving
  • 相关文献

参考文献3

  • 1[1]Gaede, V., Gunther, O. Constraint-Based query optimization and processing. In: Kuper, G.M., Wallace, M., eds. Constraint Databases and Applications. Friedrichshafen, Germany: ESPRIT WG CONTESSA Workshop, 1995. 84~101.
  • 2[2]Hellerstein, J.M. Practical predicate replacement. In: Snodgrass, R.T., Winslett, M., eds. Proceedings of the 1994 ACM SIGMOD International Conference on Management of Data. Minneapolis, Minnesota: ACM Press, 1994. 325~335.
  • 3[3]Kemper, A. Kilger, C. Moerkotte, G. Function materialization in object bases. In: Clifford, J., King, R., eds. Proceedings of the 1991 ACM SIGMOD International Conference on Management of Data. Denver, Colorado: ACM Press, 1991. 258~268.

同被引文献10

  • 1TSAI P S M, CHEN A L P. Optimizing queries with foreign functions in a distributed environment [J]. IEEE Trans on Knowledge and Data Eng, 2002, 14(4): 809-824.
  • 2LEE Chiang, CHIH Chi-sheng, CHEN Yaw-huei. Optimizing large join queries using a graph-based approach [J]. IEEE Trans on Knowledge and Data Eng, 2001, 13(2):298-315.
  • 3CLAUSSEN J, KEMPER A, MOERKOTTE G. Optimization and evaluation of disjunctive queries [J]. IEEE Trans on Knowledge and Data Eng, 2000,12(2):238-260.
  • 4TAN Kian-lee, GOH Cheng-hian, OOI Beng-chin. Query rewriting for SWIFT (First) answers [J]. IEEE Trans on Knowledge and Data Eng, 2000, 12(5): 694-714.
  • 5TSAI P S M, CHEN A L P. Optimizing queries with foreign functions in a distributed environment [J]. IEEE Trans on Knowledge and Data Eng, 2002, 14(4): 809-824.
  • 6LEE Chiang, CHIH Chi-sheng, CHEN Yaw-huei. Optimizing large join queries using a graph-based approach [J]. IEEE Trans on Knowledge and Data Eng, 2001, 13(2):298-315.
  • 7CLAUSSEN J, KEMPER A, MOERKOTTE G. Optimization and evaluation of disjunctive queries [J]. IEEE Trans on Knowledge and Data Eng, 2000,12(2):238-260.
  • 8TAN Kian-lee, GOH Cheng-hian, OOI Beng-chin. Query rewriting for SWIFT (First) answers [J]. IEEE Trans on Knowledge and Data Eng, 2000, 12(5): 694-714.
  • 9曹阳,方强,王国仁,于戈.基于遗传算法的多连接表达式并行查询优化[J].软件学报,2002,13(2):250-257. 被引量:25
  • 10于红,王秀坤,等.基于SQL Server的索引选择模型[J].小型微型计算机系统,2003,24(2):243-245. 被引量:1

引证文献1

二级引证文献5

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部