2006
DOI: 10.1145/1132960.1132964
|View full text |Cite
|
Sign up to set email alerts
|

Implementing sorting in database systems

Abstract: Most commercial database systems do (or should) exploit many sorting techniques that are publicly known, but not readily available in the research literature. These techniques improve both sort performance on modern computer systems and the ability to adapt gracefully to resource fluctuations in multiuser operations. This survey collects many of these techniques for easy reference by students, researchers, and product developers. It covers in-memory sorting, disk-based external sorting, and considerations that… Show more

Help me understand this report

Search citation statements

Order By: Relevance

Paper Sections

Select...
2
1
1

Citation Types

0
53
0

Year Published

2010
2010
2023
2023

Publication Types

Select...
4
3
1

Relationship

0
8

Authors

Journals

citations
Cited by 107 publications
(53 citation statements)
references
References 40 publications
0
53
0
Order By: Relevance
“…Moreover, a recent survey on sorting in database systems pointed out that replacement selection is one of the most used techniques for external sorting in databases [3].…”
Section: Related Workmentioning
confidence: 99%
See 1 more Smart Citation
“…Moreover, a recent survey on sorting in database systems pointed out that replacement selection is one of the most used techniques for external sorting in databases [3].…”
Section: Related Workmentioning
confidence: 99%
“…This reduces the number of runs, allowing the merge process to reduce its fan in, and the chances to perform multiple I/O passes during the merge phase. Finally, although it is not the fastest in-memory sorting strategy, it offers a good trade off for its value: it generates smaller I/O by creating larger runs at the cost of possibly more in-core computational effort, compared to other faster in-core methods [3].…”
Section: Introductionmentioning
confidence: 99%
“…Much research has been done on adaptive sorting [18] exploiting near-sortedness. Graefe's survey [19] discussed how sorting is implemented in database systems with many tricks and optimizations.…”
Section: Impact On Optimizer Search Spacementioning
confidence: 99%
“…The most well-known external-memory sorting algorithm is multi-way merge sort [1,8,15,22,28,29,40,42,44]. The multi-way merge sort is formalized in the disk-access machine 1 (DAM) model of Aggarwal and Vitter [1].…”
Section: Introductionmentioning
confidence: 99%
“…Because there are few scans to begin with, even if we only do one fewer scan, the cost of a merge sort is decreased by a significant percentage. Run generation has further advantages in databases even when a full sort is not required [22,24].Replacement Selection. The classic algorithm for run generation is called replacement selection [20,26,28].…”
mentioning
confidence: 99%