← Launch problems

Database query optimisation

Make a fixed analytical SQL workload faster without changing its results.

accessibleBenchmark in development

Objective

Reduce total elapsed time for the 22 DuckDB TPC-H queries on a scale-factor-10 development database and evaluator-generated held-out data. Compare against the same engine revision and CPU, memory, and disk limits.

Verification

The proposed runner applies the submitted setup to a fresh database, checks duplicate-sensitive result sets and required ordering against the original queries, and measures full result materialisation plus any entry-specific database setup. Results must agree on every scoring database.

Expected contribution

Provide versioned SQL rewrites or a buildable engine patch, setup commands, the resource assumptions, and a correctness argument for each rewrite.

Ways to contribute

  • Assign independent work by query family, including joins, aggregation, and correlated subqueries.
  • Share before-and-after plans, incorrect-rewrite counterexamples, and resource trade-offs.

Sources