Research output: Chapter in Book/Report/Conference proceeding › Conference contribution › Research › peer-review
In the age of big data, sorting is an indispensable operation for DBMSes and similar systems. Having data sorted can help produce query plans with significantly lower run times. It also can provide other benefits like having non-blocking operators which will produce data steadily (without bursts), or operators with reduced memory footprint. Sorting may be required on any step of query processing, i.e., be it source data or intermediate results. At the same time, the data to be sorted may not fit into main memory. In this case, an external sort operator, which writes intermediate results to disk, should be used. In this paper we consider an external sort operator of the comparison-based sort type. We discuss its implementation and describe related design decisions. Our aim is to study the impact on performance of a data structure used on the merge step. For this, we have experimentally evaluated three data structures implemented inside a DBMS. Results have shown that it is worthwhile to make an effort to implement an efficient data structure for run merging, even on modern commodity computers which are usually disk-bound. Moreover, we demonstrated that using a loser tree is a more efficient approach than both the naive approach and the heap-based one.
Original language | English |
---|---|
Title of host publication | New Trends in Database and Information Systems - ADBIS 2022 Short Papers, Doctoral Consortium and Workshops |
Subtitle of host publication | ADBIS 2022 Short Papers, Doctoral Consortium and Workshops: DOING, K-GALS, MADEISD, MegaData, SWODCH, Turin, Italy, September 5–8, 2022, Proceedings |
Editors | Silvia Chiusano, Tania Cerquitelli, Robert Wrembel, Kjetil Nørvåg, Barbara Catania, Genoveva Vargas-Solar, Ester Zumpano |
Place of Publication | Cham |
Publisher | Springer Nature |
Pages | 500-511 |
Number of pages | 12 |
Volume | 1652 |
Edition | Communications in Computer and Information Science |
ISBN (Electronic) | 978-3-031-15743-1 |
ISBN (Print) | 978-3-031-15742-4 |
DOIs | |
State | Published - 29 Aug 2022 |
Event | European Conference on Advances in Databases and Information Systems - Turin, Italy, Turin, Italy Duration: 5 Sep 2022 → 8 Sep 2022 https://adbis2022.polito.it/conference/ |
Name | Communications in Computer and Information Science |
---|---|
Volume | 1652 CCIS |
ISSN (Print) | 1865-0929 |
ISSN (Electronic) | 1865-0937 |
Conference | European Conference on Advances in Databases and Information Systems |
---|---|
Country/Territory | Italy |
City | Turin |
Period | 5/09/22 → 8/09/22 |
Internet address |
ID: 98338935