2002 · 228 citations · 23 references
ComputingComputer ScienceAlgorithmsData ManagementDatabasesDatabase ManagementQuery ManagementQuery OptimizationQuery ProcessingStream ProcessingStructured Query LanguageCardinality EstimationCost-based Query OptimizationQuery EvaluationQuery Performance OptimizationStream Query OptimizationStream Query ProcessingXml Query OptimizationXml Query Processing
Relational query optimizers have traditionally relied upon table cardinalities when estimating the cost of the query plans they consider. While this approach has been and continues to be successful, the advent of the Intemet and the need to execute queries over streaming sources requires a different approach, since for streaming inputs the cardinality may not be known or may not even be knowable (as is the case for an unbounded stream.) In view of this, we propose shifting from a cardinality-based approach to a rate-based approach, and give an optimization framework that aims at maximizing the output rate of query evaluation plans. This approach can be applied to cases where the cardinality-based approach cannot be used. It may also be useful for cases where cardinalities are known, because by focusing on rates we are able not only to optimize the time at which the last result tuple appears, but also to optimize for the number of answers computed at any specified time after the query evaluation commences. We present a prelirninary validation of our ratebased optimization framework on a prototype XML query engine, though it is generic enough to be used in other database contexts. The results show that rate-based optimization is feasible and can indeed yield correct decisions.
23
Access path selection in a relational database management system
Patricia G. Selinger, M. M. Astrahan, Donald D. Chamberlin et al. · 1979 · 2.2K citations
Jianjun Chen, David J. DeWitt, Feng Tian et al. · ACM SIGMOD Record · 2000 · 1K citations
Ron Avnur, Joseph M. Hellerstein · ACM SIGMOD Record · 2000 · 795 citations
On supporting containment queries in relational database management systems
Chun Zhang, Jeffrey F. Naughton, David J. DeWitt et al. · 2001 · 785 citations
Continuous queries over data streams
Shivnath Babu, Jennifer Widom · ACM SIGMOD Record · 2001 · 724 citations