Science's First Exam

Query Processing & Optimization

查询处理与优化

Cost-based and learned optimization and execution of declarative queries over large data.

3 open problems

  1. Most important

    Cardinality estimation for multi-join queries

    Can the sizes of intermediate results of queries with many joins over correlated real-world data be estimated with errors bounded by a small factor (for example a q-error below 10 for 90% of subqueries on standard join benchmarks), with fast estimation and small statistics?

    Why it matters. Cardinality errors that grow exponentially with the number of joins are the main reason query optimizers choose plans that are orders of magnitude too slow.

  2. Priority 2

    Robust query plan selection

    Can an optimizer choose plans whose execution cost is guaranteed to be within a constant factor of optimal whatever the errors in its cardinality and cost estimates, without slowing typical queries down significantly?

    Why it matters. Unpredictable performance collapses are a major operational problem in databases, and robustness would matter more to users than better average speed.

  3. Priority 3

    Learned optimizers without regressions

    Can a learned query optimizer improve average performance over a strong classical optimizer on production workloads while guaranteeing that no query slows down by more than a small factor (for example 1.2x), including after data and workload drift?

    Why it matters. Learned optimizers show large average gains in research, but occasional severe regressions keep them out of production systems.

Problem lists are drafts awaiting expert review. The taxonomy is our own and is not affiliated with any journal or publisher. Read our approach.