Abstract
Conjunctive queries are the most basic and central class of database queries. With the continued growth of demands to manage and process the massive volume of different types of data, there is little research to study the conjunctive queries between relation and tree data. In this paper, we study Cross-Model Conjunctive Queries (CMCQs) over relation and tree-structured data (XML and JSON). To efficiently process CMCQs with bounded intermediate results we first encode tree nodes with position information. With tree node original label values and encoded position values, it allows our proposed algorithm CMJoin to join relations and tree data simultaneously, avoiding massive intermediate results. CMJoin achieves worst-case optimality in terms of the total result of label values and encoded position values. Experimental results demonstrate the efficiency and scalability of the proposed techniques to answer a CMCQ in terms of running time and intermediate result size.
Original language | English |
---|---|
Title of host publication | Database Systems for Advanced Applications. DASFAA 2022. |
Editors | A Bhattacharya, JLM Li, D Agrawal, PK Reddy, M Mohania, A Mondal, Goyal, RU Kiran |
Number of pages | 17 |
Place of Publication | Cham |
Publisher | Springer |
Publication date | 8 Apr 2022 |
Pages | 21-37 |
ISBN (Print) | 978-3-031-00122-2 |
ISBN (Electronic) | 978-3-031-00123-9 |
DOIs | |
Publication status | Published - 8 Apr 2022 |
MoE publication type | A4 Article in conference proceedings |
Event | International Conference on Database Systems for Advanced Applications - Hyderabad, India Duration: 11 Apr 2022 → 14 Apr 2022 Conference number: 27 |
Publication series
Name | Lecture Notes in Computer Science |
---|---|
Publisher | SPRINGER INTERNATIONAL PUBLISHING AG |
ISSN (Print) | 0302-9743 |
Fields of Science
- 113 Computer and information sciences
- Cross-model join
- Worst-case optimal
- Relation and tree data
- XML