SQL query optimization through nested relational algebra

被引:12
|
作者
Cao, Bin [1 ]
Badia, Antonio [1 ]
机构
[1] Univ Louisville, Dept Comp Sci & Comp Engn, Louisville, KY 40292 USA
来源
ACM TRANSACTIONS ON DATABASE SYSTEMS | 2007年 / 32卷 / 03期
关键词
algorithms; languages; performance; nested queries; nested relational algebra; nonrelational query processing;
D O I
10.1145/1272743.1272748
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
Most research work on optimization of nested queries focuses on aggregate subqueries. In this article, we show that existing approaches are not adequate for nonaggregate subqueries, especially for those having multiple subqueries and certain comparison operators. We then propose a new efficient approach, the nested relational approach, based on the nested relational algebra. The nested relational approach treats all subqueries in a uniform manner, being able to deal with nested queries of any type and any level. We report on experimental work that confirms that existing approaches have difficulties dealing with nonaggregate subqueries, and that the nested relational approach offers better performance. We also discuss algebraic optimization rules for further optimizing the nested relational approach and the issue of integrating it into relational database systems.
引用
收藏
页数:46
相关论文
共 50 条
  • [1] A RECURSIVE ALGEBRA AND QUERY OPTIMIZATION FOR NESTED RELATIONS
    COLBY, LS
    PROCEEDINGS OF THE 1989 ACM SIGMOD INTERNATIONAL CONFERENCE ON THE MANAGEMENT OF DATA, 1989, 18 : 273 - 283
  • [2] The use of hints in SQL-nested query optimization
    Taniar, David
    Khaw, Hui Yee
    Tjioe, Haorianto Cokrowijoyo
    Pardede, Eric
    INFORMATION SCIENCES, 2007, 177 (12) : 2493 - 2521
  • [4] SQL Query Optimization Methods of Relational Database System
    Li, Dandan
    Han, Lu
    Ding, Yi
    2010 SECOND INTERNATIONAL CONFERENCE ON COMPUTER ENGINEERING AND APPLICATIONS: ICCEA 2010, PROCEEDINGS, VOL 1, 2010, : 557 - 560
  • [5] Handling Environments in a Nested Relational Algebra with Combinators and an Implementation in a Verified Query Compiler
    Auerbach, Joshua S.
    Hirzel, Martin
    Mandel, Louis
    Shinnar, Avraham
    Simeon, Jerome
    SIGMOD'17: PROCEEDINGS OF THE 2017 ACM INTERNATIONAL CONFERENCE ON MANAGEMENT OF DATA, 2017, : 1555 - 1569
  • [6] Nested bitemporal relational algebra
    Tansel, Abdullah Uz
    Atay, Canan Eren
    Computer and Information Sciences - ISCIS 2006, Proceedings, 2006, 4263 : 622 - 633
  • [7] CONVERTING SQL QUERIES INTO RELATIONAL ALGEBRA
    DADASHZADEH, M
    STEMPLE, DW
    INFORMATION & MANAGEMENT, 1990, 19 (05) : 307 - 323
  • [8] ON OPTIMIZING AN SQL-LIKE NESTED QUERY
    KIM, W
    ACM TRANSACTIONS ON DATABASE SYSTEMS, 1982, 7 (03): : 443 - 469
  • [9] Expressive Query Construction through Direct Manipulation of Nested Relational Results
    Bakke, Eirik
    Karger, David R.
    SIGMOD'16: PROCEEDINGS OF THE 2016 INTERNATIONAL CONFERENCE ON MANAGEMENT OF DATA, 2016, : 1377 - 1392
  • [10] TQL - A NESTED RELATIONAL QUERY LANGUAGE
    THOM, JA
    KENT, AJ
    SACKSDAVIS, R
    AUSTRALIAN COMPUTER JOURNAL, 1991, 23 (02): : 53 - 65