Proceedings of the VLDB Endowment · 2018 · 11 citations · 7 references
ComputingComputer EngineeringComputer ScienceAlgorithmsComputer ArchitectureOptimizationAlgorithm AnalysisHardware AccelerationNearest Neighbor SearchPerformance OptimizationPerformance TuningSearching AlgorithmsCritical SectionsIndex ManagementIndex OptimizationProcessor ArchitectureProcessor Systems
Searching in sorted arrays of keys is a common task with a broad range of applications. Often searching is part of the performance critical sections of a database query or index access, raising the question what kind of search algorithm to choose and how to optimize it to obtain the best possible performance on real-world hardware. This paper strives to answer this question by evaluating a large set of optimized sequential, binary and k-ary search algorithms on a modern processor. In this context, we consider hardware-sensitive optimization strategies as well as algorithmic variations resulting in an eight-dimensional evaluation space. As a result, we give insights on expected interactions between search algorithms and optimizations on modern hardware. In fact, there is no single best optimized algorithm, leading to a set of advices on which variants should be considered first given a particular array size.
7
Making B+- trees cache conscious in main memory
Jun Rao, Kenneth A. Ross · ACM SIGMOD Record · 2000 · 378 citations · Full text
Implementing database operations using SIMD instructions
Jingren Zhou, Kenneth A. Ross · 2002 · 243 citations
Goetz Graefe, Paul A. Larson · 2002 · 99 citations
k-ary search on modern processors
Benjamin Schlegel, Rainer Gemulla, Wolfgang Lehner · 2009 · 66 citations · Full text