🤖 AI Summary
This study addresses the challenge of efficiently supporting direct access to database query results by rank position, particularly under diverse query types and sorting strategies. To this end, we develop a scalable direct-access system that integrates multiple high-performance algorithms and conduct a systematic experimental evaluation on mainstream database platforms. Our work presents the first empirical analysis of direct-access algorithms across a broad spectrum of query and ranking scenarios, bridging a critical gap between theoretical proposals and practical deployment. The experiments reveal significant performance variations among databases in handling direct-access workloads, validate the real-world effectiveness—and limitations—of existing algorithms, and provide empirical insights to guide future optimizations.
📝 Abstract
Direct access asks for the retrieval of query answers by their ranked position, given a query and a desired order. While the time complexity of data structures supporting such accesses has been studied in depth, and efficient algorithms for many queries and common orders are known, their practical performance has received little attention. We provide an implementation covering a wide range of queries and orders; it allows us to investigate intriguing practical aspects, including the comparative performance of database systems and the relationship between direct access and its single-access counterpart.