# TPC-DS (`tpc-ds`)

- **Canonical ID**: `bmk_8619dabd8725076c`
- **Task**: query-optimization · **Modality**: unspecified
- **Coverage**: 25 papers · 43 observations
- **Tasks Evaluated**: Query Optimization (`?task=query-optimization`, 6 papers), Index Tuning (`?task=index-tuning`, 2 papers), Sql Query Optimization (`?task=sql-query-optimization`, 2 papers), Batch Query Processing (`?task=batch-query-processing`, 1 papers), Classification Tree (`?task=classification-tree`, 1 papers), Cluster Scheduling (`?task=cluster-scheduling`, 1 papers), Database Knob Tuning (`?task=database-knob-tuning`, 1 papers), Index Advising (`?task=index-advising`, 1 papers)

## Recent Extracted Observations

| Year | Method | Role | Metric | Score | Split | Regime | Paper | Verbatim Quote |
| --- | --- | --- | --- | ---: | --- | --- | --- | --- |
| 2026 | Template correction (primary method) | proposed | Error (geometric mean of median Q-error over test templates) | 1.19 | test-templates | one-measured-query-per-template | [When Is One Query per Template Enough? Adapting Learned Cost Models to New Hardware](/work/when-is-one-query-per-template-enough-adapting) | method reaches 1.10 on TPC-H at k = 25 and 1.19 on TPC- |
| 2026 | GPT-5 with evolutionary sampling | proposed | query execution-time speedup | 4.78× | - | test-time-optimization | [Test-Time Optimization of Physical Query Plans with LLMs](/work/test-time-optimization-of-physical-query-plans) | In this section, taking the query from TPC-DS optimized 4.78×, we share a detailed description of the physical execution plans, optimization patches and a visua |
| 2026 | Nexus-GPT-4o | proposed | F1 | 0.89 | - | - | [Nexus: Inferring Join Graphs from Metadata Alone via Iterative Low-Rank Matrix Completion](/work/nexus-inferring-join-graphs-from-metadata-alone) | \multicolumn{1}{l\|}{Nexus-GPT-4o (Ours)} & 0.88 & 0.78 & \multicolumn{1}{l\|}{1.0} & 0.89 & 0.88 & \multicolumn{1}{l\|}{0.90} & 0.83 & 0.86 & \multicolumn{1}{l |
| 2026 | Auto-BI (metadata-only adaptation) | unclear | F1 | 0.52 | - | - | [Nexus: Inferring Join Graphs from Metadata Alone via Iterative Low-Rank Matrix Completion](/work/nexus-inferring-join-graphs-from-metadata-alone) | \multicolumn{1}{l\|}{Auto-BI} & 0.56 & 0.39 & \multicolumn{1}{l\|}{1.0} & 0.52 & 0.61 & \multicolumn{1}{l\|}{0.45} & 0.32 & 0.42 & \multicolumn{1}{l\|}{0.26} &  |
| 2023 | UniTune | proposed | total query execution time improvement | 2.7 hours hours | - | - | [A Unified and Efficient Coordinating Framework for Autonomous DBMS Tuning](/work/a-unified-and-efficient-coordinating-framework) | As suggested, we added the experiment on TPC-DS with a scale factor of 50 using all the 99 queries provided in \textcolor{blue}{ Section \ref{sec:exp-end}} and  |
| 2023 | RelJoin (SparkSQL; w=1) | proposed | optimization accuracy (percentage of queries with least completion time) | 63.9% % | - | - | [RelJoin: Relative-cost-based selection of distributed join methods for query plan optimization](/work/reljoin-relative-cost-based-selection-of-distributed-join) | RelJoin & - & 62(63.9) & - & 45(45.2)& - & 36(40.0) |
| 2023 | RelJoin (SparkSQL; w=1) | proposed | optimization accuracy (percentage of queries with least completion time) | 45.2% % | - | - | [RelJoin: Relative-cost-based selection of distributed join methods for query plan optimization](/work/reljoin-relative-cost-based-selection-of-distributed-join) | RelJoin & - & 62(63.9) & - & 45(45.2)& - & 36(40.0) |
| 2023 | FOSS | proposed | WRL, test | 0.77 | test | - | [FOSS: A Self-Learned Doctor for Query Optimizer](/work/foss-a-self-learned-doctor-for-query-optimizer) | FOSS & 0.17& 0.78&0.73& 0.48& 0.87&0.78& 0.36& 0.77& 0.85& 0.64& 0.87& 0.87& 8.09& 1.55&2.31 |
| 2023 | AQE | baseline | optimization accuracy (percentage of queries with least completion time) | 12.4% % | - | - | [RelJoin: Relative-cost-based selection of distributed join methods for query plan optimization](/work/reljoin-relative-cost-based-selection-of-distributed-join) | AQE & 36(37.1) & 12(12.4) & 74(79.6) & 32(34.4) & 78(86.7) & 42(46.7) |
| 2023 | AQE | baseline | optimization accuracy (percentage of queries with least completion time) | 34.4% % | - | - | [RelJoin: Relative-cost-based selection of distributed join methods for query plan optimization](/work/reljoin-relative-cost-based-selection-of-distributed-join) | AQE & 36(37.1) & 12(12.4) & 74(79.6) & 32(34.4) & 78(86.7) & 42(46.7) |
