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 条
  • [11] QUERY LANGUAGES FOR NESTED RELATIONAL DATABASES
    KORTH, HF
    ROTH, MA
    LECTURE NOTES IN COMPUTER SCIENCE, 1989, 361 : 190 - 204
  • [12] Combining relational algebra, SQL, and constraint programming
    Cadoli, M
    Mancini, T
    FRONTIERS OF COMBINING SYSTEMS, 2002, 2309 : 147 - 161
  • [13] Initial Optimization Techniques for the Cube Algebra Query Language: The Relational Model as a Target
    Mercieca, Thomas
    Vella, Joseph G.
    Vella, Kevin
    INTERNATIONAL JOURNAL OF DATA WAREHOUSING AND MINING, 2022, 18 (01)
  • [14] INCREMENTAL COMPUTATION OF NESTED RELATIONAL QUERY EXPRESSIONS
    BAEKGAARD, L
    MARK, L
    ACM TRANSACTIONS ON DATABASE SYSTEMS, 1995, 20 (02): : 111 - 148
  • [15] Simulation of the nested relational algebra by the flat relational algebra, with an application to the complexity of evaluating powerset algebra expressions
    Van den Bussche, J
    THEORETICAL COMPUTER SCIENCE, 2001, 254 (1-2) : 363 - 377
  • [16] EQUIVALENCE OF THE RELATIONAL ALGEBRA AND CALCULUS FOR NESTED RELATIONS
    GARNETT, L
    TANSEL, AU
    COMPUTERS & MATHEMATICS WITH APPLICATIONS, 1992, 23 (10) : 3 - 25
  • [17] EXTENDED ALGEBRA AND CALCULUS FOR NESTED RELATIONAL DATABASES
    ROTH, MA
    KORTH, HF
    SILBERSCHATZ, A
    ACM TRANSACTIONS ON DATABASE SYSTEMS, 1988, 13 (04): : 389 - 417
  • [18] Query Execution Optimization in Spark SQL
    Ji, Xuechun
    Zhao, Maoxian
    Zhai, Mingyu
    Wu, Qingxi
    SCIENTIFIC PROGRAMMING, 2020, 2020 (2020)
  • [19] A Novel Approach for SQL Query Optimization
    Mithani, Fazal
    Machchhar, Sahista
    Jasdanwala, Fernaz
    2016 IEEE INTERNATIONAL CONFERENCE ON COMPUTATIONAL INTELLIGENCE AND COMPUTING RESEARCH, 2016, : 898 - 901
  • [20] QUERY OPTIMIZATION IN MICROSOFT SQL SERVER
    Haxhijaha, Blerta
    Ajdari, Jaumin
    Raufi, Bujar
    Zenuni, Xhemal
    Ismaili, Florie
    INTERNATIONAL JOURNAL ON INFORMATION TECHNOLOGIES AND SECURITY, 2018, 10 (02): : 13 - 22