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 条
  • [21] XML algebra and query optimization based on algebra
    College of Computer Science and Technology, Harbin Engineering University, Harbin 150001, China
    不详
    Harbin Gongcheng Daxue Xuebao, 2007, 8 (899-904):
  • [22] BtSQL: nested bitemporal relational database query language
    Atay, Canan
    Tansel, Abdullah Uz
    TURKISH JOURNAL OF ELECTRICAL ENGINEERING AND COMPUTER SCIENCES, 2014, 22 (02) : 479 - 498
  • [23] I-Rex: An Interactive Relational Query Explainer for SQL
    Miao, Zhengjie
    Chen, Tiangang
    Bendeck, Alexander
    Day, Kevin
    Roy, Sudeepa
    Yang, Jun
    PROCEEDINGS OF THE VLDB ENDOWMENT, 2020, 13 (12): : 2997 - 3000
  • [24] Optimization of query processing through constrained vertical partitioning of relational tables
    Liu, Zhenjie
    Getta, Janusz R.
    PROCEEDINGS OF THE IASTED INTERNATIONAL CONFERENCE ON DATABASES AND APPLICATIONS, 2006, : 221 - +
  • [25] Fully precise null extended nested relational algebra
    Levene, M.
    Loizou, G.
    Fundamenta Informaticae, 1993, 19 (3-4) : 303 - 342
  • [26] A QUERY INTERFACE FOR IMAGE DATABASES BASED ON RELATIONAL ALGEBRA
    NG, CS
    SACKSDAVIS, R
    AUSTRALIAN COMPUTER JOURNAL, 1986, 18 (01): : 1 - 8
  • [27] Combining relational algebra, SQL, constraint modelling, and local search
    Cadoli, Marco
    Mancini, Toni
    THEORY AND PRACTICE OF LOGIC PROGRAMMING, 2007, 7 : 37 - 65
  • [29] On query optimization in a temporal SPC algebra
    Wijsen, J
    Bès, A
    DATA & KNOWLEDGE ENGINEERING, 2003, 44 (02) : 165 - 192
  • [30] Query Optimization in Distributed Relational Databases
    Ribeiro C.C.
    Ribeiro C.D.
    Lanzelotte R.S.G.
    Journal of Heuristics, 1997, 3 (1) : 5 - 23