IEEE Transactions on Knowledge and Data Engineering · 2007 · 23 citations · 21 references
ComputingComputer ScienceData ManagementData MiningDatabasesDatabase ManagementQuery OptimizationQuery ProcessingRelational AlgebraRelational Data ModelRelational DatabasesCost-based Query OptimizationIndex-aware Query ProcessingMiddlewareQuery Performance OptimizationRelational Database SystemsRelational Query ProcessingTop-k Query OptimizationTop-k Query Processing
The answer to a top-k query is an ordered set of tuples, where the ordering is based on how closely each tuple matches the query. In the context of middleware systems, new algorithms to answer top-k queries have been recently proposed. Among these, the threshold algorithm (TA) is the most well-known instance due to its simplicity and memory requirements. TA is based on an early-termination condition and can evaluate top-k queries without examining all the tuples. This top-k query model is prevalent not only over middleware systems, but also over plain relational data. In this work, we analyze the challenges that must be addressed to adapt TA to a relational database system. We show that, depending on the available indices, many alternative TA strategies can be used to answer a given query. Choosing the best alternative requires a cost model that can be seamlessly integrated with that of current optimizers. In this work, we address these challenges and conduct an extensive experimental evaluation of the resulting techniques by characterizing which scenarios can take advantage of TA-like algorithms to answer top-k queries in relational database systems
21
UCI Repository of machine learning databases
Catherine Blake · Medical Entomology and Zoology · 1998 · 10.5K citations
UCI Repository of Machine Learning Databases
Christopher J. Merz · Medical Entomology and Zoology · 1996 · 2.3K citations
Optimal aggregation algorithms for middleware
Ronald Fagin, Amnon Lotem, Moni Naor · 2001 · 1.1K citations
Optimal aggregation algorithms for middleware
Ronald Fagin, Amnon Lotem, Moni Naor · Journal of Computer and System Sciences · 2003 · 941 citations