Stanford InfoLab Publication Server

Adaptive Query Processing in the Looking Glass

Babu, Shivnath and Bizarro, Pedro (2005) Adaptive Query Processing in the Looking Glass. In: Second Biennial Conference on Innovative Data Systems Research (CIDR 2005), January 4-7, 2005, Asilomar, California.

BibTeXDublinCoreEndNoteHTML

[img]
Preview
PDF
131Kb

Abstract

A great deal of work on adaptive query processing has been done over the last few years: Adaptive query processing has been used to detect and correct optimizer errors due to incorrect statistics or simplified cost metrics; it has been applied to long-running continuous queries over data streams whose characteristics change over time; and routing-based adaptive query processing does away with the optimizer altogether. Despite this large body of interrelated work, no unifying comparison of adaptive query processing techniques or systems has been attempted; we tackle this problem. We identify three families of systems (plan-based, CQ-based, and routing-based), and compare them in detail with respect to the most important aspects of adaptive query processing: plan quality, statistics monitoring and re-optimization, plan migration, and scalability. We also suggest two new approaches to adaptive query processing that address some of the shortcomings revealed by our in-depth analysis: (1) "Proactive re-optimization," in which the optimizer chooses initial query plans with the expectation of re-optimization; and (2) "Plan logging," in which optimizer decisions under different conditions are logged over time, enabling plan re-use as well as analysis of relevant statistics and benefits of adaptivity.

Item Type:Conference or Workshop Item (Paper)
Subjects:Computer Science > Data Streams
Projects:STREAM
Related URLs:Project Homepagehttp://infolab.stanford.edu/stream/
ID Code:683
Deposited By:Import Account
Deposited On:19 Dec 2004 16:00
Last Modified:22 Dec 2008 17:45

Download statistics

Repository Staff Only: item control page