Unrolling SQL: 1999 Recursive Queries

被引:0
|
作者
Boniewicz, Aleksandra [1 ]
Stencel, Krzystof [1 ]
Wisniewski, Piotr [1 ]
机构
[1] Nicholas Copernicus Univ, Fac Math & Comp Sci, Torun, Poland
关键词
DATABASES;
D O I
暂无
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
Hierarchical and graph data structures are common in practical application development. In order to query such data, one can use SQL:1999 recursive queries based on Common Table Expressions. Nowadays, numerous relational database management systems implement them. However, some popular systems, e.g. MySQL, still lack this useful feature. In this paper we show three methods to circumvent this situation: (1) the direct loop, (2) horizontal unrolling and (3) vertical unrolling. We analyze them and present a report on tests of their efficiency. We also describe our implementation of these methods as a prototype extension to Hibernate, a major object-relational mapping system. This extension allows running SQL:1999 recursive queries directly from an application code, even when the underlying DBMS does not support them.
引用
收藏
页码:345 / 354
页数:10
相关论文
共 50 条
  • [1] Estimating Costs of Materialization Methods for SQL:1999 Recursive Queries
    Boniewicz, Aleksandra
    Wisniewski, Piotr
    Stencel, Krzysztof
    [J]. BEYOND DATABASES, ARCHITECTURES AND STRUCTURES, BDAS 2016, 2016, 613 : 225 - 235
  • [2] Data Provenance for Recursive SQL Queries
    Dietrich, Benjamin
    Mueller, Tobias
    Grust, Torsten
    [J]. PROCEEDINGS OF 14TH INTERNATIONAL WORKSHOP ON THE THEORY AND PRACTICE OF PROVENANCE, TAPP 2022, 2022, : 48 - 55
  • [3] Optimization of Linear Recursive Queries in SQL
    Ordonez, Carlos
    [J]. IEEE TRANSACTIONS ON KNOWLEDGE AND DATA ENGINEERING, 2010, 22 (02) : 264 - 277
  • [4] Recursive XML schemas, recursive XML queries, and relational storage: XML-to-SQL query translation
    Krishnamurthy, R
    Chakaravarthy, VT
    Kaushik, R
    Naughton, JF
    [J]. 20TH INTERNATIONAL CONFERENCE ON DATA ENGINEERING, PROCEEDINGS, 2004, : 42 - 53
  • [5] SQL-ASTERISK - A RECURSIVE SQL
    KOYMEN, K
    CAI, QJ
    [J]. INFORMATION SYSTEMS, 1993, 18 (02) : 121 - 128
  • [6] Auditing SQL queries
    Motwani, Rajeev
    Nabar, Shubha U.
    Thomas, Dilys
    [J]. 2008 IEEE 24TH INTERNATIONAL CONFERENCE ON DATA ENGINEERING, VOLS 1-3, 2008, : 287 - +
  • [7] Hibernate the recursive queries - Defining the recursive queries using Hibernate ORM
    Szumowska, Aneta
    Boniewicz, Aleksandra
    Burzańska, Marta
    Wiśniewski, Piotr
    [J]. CEUR Workshop Proceedings, 2011, 789 : 190 - 199
  • [8] Usable recursive queries
    Pieciukiewicz, T
    Stencel, K
    Subieta, K
    [J]. ADVANCES IN DATABASES AND INFORMATION SYSTEMS, PROCEEDINGS, 2005, 3631 : 17 - 28
  • [9] Chase of recursive queries
    Brisaboa, Nieves R.
    Farina, Antonio
    Luaces, Miguel R.
    Parama, Jose R.
    [J]. PERSPECTIVES OF SYSTEMS INFORMATICS, 2007, 4378 : 112 - +
  • [10] XML queries via SQL
    Chen, CX
    Malhotra, A
    [J]. WEB-AGE INFORMATION MANAGEMENT, PROCEEDINGS, 2000, 1846 : 53 - 60