TPC-DS
25 papers · 43 extracted observations · query optimization · Markdown · CSV · JSON API
Tasks on TPC-DSAll tasks (25)Query Optimization (6)Index Tuning (2)Sql Query Optimization (2)Batch Query Processing (1)Classification Tree (1)Cluster Scheduling (1)Database Knob Tuning (1)Index Advising (1)
TaskQuery Optimization (10)Query Cost Estimation (3)Sql Query Optimization (3)Index Tuning (3)Join Sample Generation (3)Query Scheduling (2)Index Advising (2)
Metricerror rate (4)optimization accuracy percentage of queries with (4)total workload time (3)average buffer hit ratio (2)inference runtime (2)query latency (2)f score (2)
Showing 31 of 31 matching observations.
| Year | Method | Metric | Score | Protocol / Facets | Paper & Evidence |
|---|---|---|---|---|---|
| 2026 | Template correction (primary method) proposed | Error (geometric mean of median Q-error over test templates) | 1.19 | Query Optimization · split: test-templates · one-measured-query-per-template | When Is One Query per Template Enough? Adapting Learned Cost Models to New HardwareSource quoteL988: method reaches 1.10 on TPC-H at k = 25 and 1.19 on TPC- |
| 2026 | LASER-14B proposed | Mean query latency | 27.16 s | Sql Query Optimization · params=14B · dbms=PostgreSQL 13 · data-scale=10GB | LASER: A Data-Centric Method for Low-Cost and Efficient SQL Rewriting based on SQL-GRPOSource quoteL400: LASER-14B │ 13.03 │ 8.98 │ 12.09 │ 31.63 │ 90% │ 27.16 │ 9.53 │ 21.06 │ 104.24 │ 77% │ 10.33 │ 7.84 │ 15.78 │ 25.88 │ 83% |
| 2026 | GPT-5 with evolutionary sampling proposed non-standard slice | query execution-time speedup | 4.78× | Query Optimization · test-time-optimization · method=GPT-5 with evolutionary sampling · timing=minimum across 50 independent sandboxes · hardware=4 CPUs, 4 GB RAM · data-format=Parquet, in memory | Test-Time Optimization of Physical Query Plans with LLMsSource quoteL1056: 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 visualization to aid the comprehension. |
| 2026 | WAter proposed non-standard slice | time-to-optimal speedup | 12.9× | Database Knob Tuning · scale-factor=1–10 | WAter: A Workload-Adaptive Knob Tuning System based on Workload CompressionSource quoteL455: Different Data Size. We study {WAter}'s scalability across different database sizes by varying the scale factor of TPC-H from 10 to 50 and TPC-DS from 1 to 10. As shown in Figure \ref{fig:different_scale_factor}, compared to GPTuner, {WAter} \ finds better configurations in much less time. For both of the workloads, {WAter} \ finds better configurations than the optima of GPTuner at the very beginning, achieving time-to-optimal speedups of 12.9× and 9.8× for TPC-DS and TPC-H. In the end, {WAter} \ achieves execution times which are 16.8% and 43.5% less than default and 5.7% and 16.2% less than GPTuner on TPC-DS and TPC-H respectively. \textcolor{black}{This demonstrates that as the cost of a single evaluation increases, the benefit of {WAter}'s runtime efficiency becomes overwhelmingly significant, allowing it to explore many more configurations in the same time budget.} |
| 2026 | SQL Selection proposed non-standard slice | Kendall's Tau correlation with full-fidelity performance | >0.8 | Sql Configuration Tuning · data-scale=600GB | MFTune: An Efficient Multi-fidelity Framework for Spark SQL Configuration TuningSource quoteL57: As illustrated in Figure~\ref{fig:partition}, existing proxies such as Data Volume and Early Stop fail to maintain a reliable correlation with full-fidelity performance in Spark SQL. Reducing data volume leads to a sharp decline in correlation because performance does not scale linearly; smaller datasets often underutilize cluster resources and fail to trigger the true bottlenecks encountered at full scale. Similarly, SQL Early Stop—executing only the initial queries of a workload—fails to capture the diverse data coverage and operation types representative of the entire workload. In contrast, our proposed SQL Selection maintains a high Kendall-tau correlation (>0.8) even at extremely low fidelity levels. |
| 2026 | Nexus-GPT-4o proposed non-standard slice | F1 | 0.89 | Query Optimization | Nexus: Inferring Join Graphs from Metadata Alone via Iterative Low-Rank Matrix CompletionSource quoteL328: \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|}{0.80} │ 0.61 │ 0.49 │ 0.80 |
| 2025 | MAAdvisor (table row “MAAdivsor”) proposed | inference runtime | 133.21 | Index Advising · 0-shot · storage-budget=50% | MAAdvisor: Zero-Shot Index Advisor using Multi-Agent LLMsSource quoteL273: MAAdivsor │ 31.85 │ 44.31 │ 122.21 │ 156.82 │ 51.00 │ 85.75 │ 106.71 │ 133.21 │ 43.23 │ 83.67 │ 115.38 │ 178.82 │ 69.22 │ 66.18 │ 106.62 │ 211.56 |
| 2025 | Robust Predicate Transfer (RPT) proposed | Robustness Factor (RF; maximum/minimum execution time) | 1.473 | Sql Query Optimization · join-order=random left-deep · query-type=acyclic · aggregation=worst-case across evaluated queries | Debunking the Myth of Join Ordering: Toward Robust SQL AnalyticsSource quoteL306: We observe impressive join order robustness when using RPT\xspace in DuckDB\xspace for all acyclic queries. To quantify this, we define the Robustness Factor (RF\xspace) as the ratio between the maximum and the minimum execution time. \cref{tab:RF-left-deep} presents the average, min, and max RFs for DuckDB\xspace and RPT\xspace in each benchmark. The average RF for DuckDB\xspace with RPT\xspace is consistently near 1 with the max (i.e., worst-case) RF = 1.473 for Query 13 in TPC-DS\xspace. This is orders-of-magnitude more robust compared to the baseline. |
| 2025 | Robust Predicate Transfer (RPT), optimizer's plan proposed non-standard slice | Average speedup over DuckDB's optimizer plan | 1.56× | Sql Query Optimization · comparator=default DuckDB optimizer plan · aggregation=geometric mean across queries | Debunking the Myth of Join Ordering: Toward Robust SQL AnalyticsSource quoteL291: RPT\xspace │ 1.44× │ 1.46× │ 1.56× │ 1.54× |
| 2025 | SQL-Factory proposed | Vendi Score (SQL-Encoder) | 4.10 | Sql Generation Diversity · sample-size=10000 queries · embedding-backbone=SQL-Encoder | SQL-Factory: A Multi-Agent Framework for High-Quality and Large-Scale SQL GenerationSource quoteL380: SQL-Factory │ 0.637 │ 4.10 │ 7.94 |
| 2025 | SQL-Factory proposed | Vendi Score (SimCSE) | 7.94 | Sql Generation Diversity · sample-size=10000 queries · embedding-backbone=SimCSE | SQL-Factory: A Multi-Agent Framework for High-Quality and Large-Scale SQL GenerationSource quoteL380: SQL-Factory │ 0.637 │ 4.10 │ 7.94 |
| 2025 | SpeQL proposed | query latency | 0.08 seconds | Query Processing · query=Q1 · data-size=100GB | Speculative Ad-hoc QueryingSource quoteL270: \textbf{(3) SpeQL\xspace{} is an effective tool for reducing query latency.} As we observed, the participant had a tendency to first execute simple SQL queries, inspect their results, and then integrate these into a larger, more complex logic. This behavior reinforces the feasibility of SpeQL\xspace{} materializing the results of subqueries, such as \texttt{tb\_1} in snapshot \#1, \texttt{tb\_2} in snapshot \#2, and \texttt{tb\_3} in snapshot \#3. With the help of the precomputed temporary tables, SpeQL\xspace{} completed the final query within 0.08 seconds, which is 289× faster than the baseline (simply pasting and running the query in Redshift query editor takes 23.1 seconds). Furthermore, during the editing process, SpeQL\xspace{} provided nine previews (the orange triangles), six of which occurred between the first and fifth minute when the SQL typically contained syntax errors. The participant later acknowledged that these previews were highly helpful for debugging and refining the SQL query. |
| 2025 | RCRank proposed | Top1-IR | 0.1477 | Root Cause Ranking · split: test · slow-query-threshold=1 s · valid-root-cause-threshold=10% | RCRank: Multimodal Ranking of Root Causes of Slow Queries in Cloud Database SystemsSource quoteL571: \begin{tabular}[c]{@{}l@{}}\texttt{RCRank} │ 0.8466 │ 0.6321 │ 0.1732±0.1440 │ 0.5431 │ 0.5391 │ 0.1477 |
| 2024 | CONCERTO proposed non-standard slice | mean Q-Error | 1.84 | Query Cost Estimation · split: test · engine=ClickHouse · subset=held-out workload · input_mode=probe execution · scale_factor=1 | CONCERTO: Complex Query Execution Mechanism-Aware Learned Cost EstimationSource quoteL347: CONCERTO │ 1.46 │ 1.49 │ 1.90 │ 1.98 │ 2.05 │ 2.49 │ 1.84 │ 1.73 │ 2.78 │ 2.88 │ 3.22 │ 3.84 |
| 2023 | UniTune proposed | total query execution time improvement | 2.7 hours | Query Optimization · comparison=default execution time · query-count=99 · scale-factor=50 | A Unified and Efficient Coordinating Framework for Autonomous DBMS TuningSource quoteL114: 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 UniTune still outperforms the baselines and improves the default execution time by 2.7 hours. |
| 2023 | RelJoin (SparkSQL; w=1) proposed non-standard slice | optimization accuracy (percentage of queries with least completion time) | 63.9% | Query Optimization · weight=1 · scale-factor=1 | RelJoin: Relative-cost-based selection of distributed join methods for query plan optimizationSource quoteL1110: RelJoin │ 62(63.9) │ 45(45.2) │ 36(40.0) |
| 2023 | RelJoin (SparkSQL; w=1) proposed non-standard slice | optimization accuracy (percentage of queries with least completion time) | 45.2% | Query Optimization · weight=1 · scale-factor=10 | RelJoin: Relative-cost-based selection of distributed join methods for query plan optimizationSource quoteL1110: RelJoin │ 62(63.9) │ 45(45.2) │ 36(40.0) |
| 2023 | FOSS proposed | WRL, test | 0.77 | Query Optimization · split: test · maxsteps=3 | FOSS: A Self-Learned Doctor for Query OptimizerSource quoteL311: 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 |
| 2022 | IncShrink (sDPTimer; table column DP-Timer) proposed | QET (average query execution time) | 0.051 s | Query Execution · split: test · T=10 · f=2000 · s=15 · epsilon=1.5 | IncShrink: Architecting Efficient Outsourced Databases using Incremental MPC and Differential PrivacySource quoteL903: 0.051 |
| 2022 | Model Join generated sample proposed | F-score | 0.86 | Join Sample Generation · query=Q3 · data-points=100k · generated-samples=50k | Model Joins: Enabling Analytics Over Joins of Absent Big TablesSource quoteL645: Furthermore, the F-scores for Q3 (Q4) are 0.86 (0.81). Note, that (i) these scores can be made higher if more clusters are used; and (ii) such accuracy is actually good enough to ensure highly-accurate downstream LKD tasks, as we will show later. |
| 2022 | Model Join generated sample proposed | F-score | 0.81 | Join Sample Generation · query=Q4 · data-points=5k · generated-samples=100k | Model Joins: Enabling Analytics Over Joins of Absent Big TablesSource quoteL645: Furthermore, the F-scores for Q3 (Q4) are 0.86 (0.81). Note, that (i) these scores can be made higher if more clusters are used; and (ii) such accuracy is actually good enough to ensure highly-accurate downstream LKD tasks, as we will show later. |
| 2022 | Model Join generated sample proposed | KS-statistic | 0.0048 | Join Sample Generation · split: test · query=Q4 · generated-samples=100k · significance-level=0.01 | Model Joins: Enabling Analytics Over Joins of Absent Big TablesSource quoteL643: The KS critical values for these sample sizes are 0.0091 and 0.0051 respectively for Q3 and Q4 with 𝛼= 0.01. The KS-statistic values are 0.0032 and 0.0048, respectively. These results imply that the null |
| 2021 | MAB proposed | Total workload time | 249.62 min | Index Tuning · workload=static · data-distribution=skewed | No DBA? No Regret! Multi-Armed Bandits for Index Tuning of Analytical and HTAP Workloads With Provable GuaranteesSource quoteL518: TPC-DS │ 44.86 (44.86) │ 1.53 │ 1.45 │ 5.94 │ 302.63 │ 242.15 │ 348.94 │ 249.62 |
| 2020 | SmartQueue (untrained) proposed non-standard slice | average buffer hit ratio | 0.2 | Query Scheduling · split: test · test-queries=50 · training-state=untrained · training-queries=950 · training-templates=79 · unseen-test-templates=20 | Buffer Pool Aware Query Scheduling via Deep Reinforcement LearningSource quoteL81: Next we studies SmartQueue\xspace's ability to adapt to unseen queries. For these experiments, we trained SmartQueue\xspace by first scheduling 950 random queries out of 79 TPC-DS templates. We then test the model over 50 random queries out 20 unseen before TPC-DS templates. Figure~\ref{fig:e1_buffer} demonstrates how average buffer hit ratio of the testing queries is affected as SmartQueue\xspace collects experience increases from scheduling more training queries. The graph shows that the average buffer hit ratio of the testing queries is increased from 0.2 (when the SmartQueue\xspace is untrained) to 0.64 (when SmartQueue\xspace has schedule all 950 queries). Furthermore, SmartQueue\xspace outperforms FCFS and Greedy after having scheduled less than 500 queries. |
| 2020 | SmartQueue (after scheduling all 950 training queries) proposed non-standard slice | average buffer hit ratio | 0.64 | Query Scheduling · split: test · test-queries=50 · training-state=after-950-queries · training-queries=950 · training-templates=79 · unseen-test-templates=20 | Buffer Pool Aware Query Scheduling via Deep Reinforcement LearningSource quoteL81: Next we studies SmartQueue\xspace's ability to adapt to unseen queries. For these experiments, we trained SmartQueue\xspace by first scheduling 950 random queries out of 79 TPC-DS templates. We then test the model over 50 random queries out 20 unseen before TPC-DS templates. Figure~\ref{fig:e1_buffer} demonstrates how average buffer hit ratio of the testing queries is affected as SmartQueue\xspace collects experience increases from scheduling more training queries. The graph shows that the average buffer hit ratio of the testing queries is increased from 0.2 (when the SmartQueue\xspace is untrained) to 0.64 (when SmartQueue\xspace has schedule all 950 queries). Furthermore, SmartQueue\xspace outperforms FCFS and Greedy after having scheduled less than 500 queries. |
| 2019 | BoPF proposed | Factor of improvement in average LQ completion time | 5.38 | Cluster Scheduling · workload=1 LQ and 8 TQs · comparator=DRF · cluster-size=40 nodes | BoPF: Mitigating the Burstiness-Fairness Tradeoff in Multi-Resource ClustersSource quoteL582: TPC-DS │ 1.35 │ 1.61 │ 2.29 │ 5.38 |
| 2019 | Hourglass embedding network, CPU proposed | training time | 10 minutes | Operator Embedding · hardware=Intel Xeon E5-2640 v4 CPU · workload-size=21,688 queries | Flexible Operator Embeddings via Deep LearningSource quoteL362: {Finally, we analyze the time required to train the hourglass-shaped neural network used to represent an embedding. We compare the training time required for both a CPU (Intel Xeon E5-2640 v4) and a GPU (GeForce GTX TITAN). The results are shown in Figure~\ref{fig:runtime}. The time to train the network is a function of several parameters, the most notable being the size of the training set. Since our TPC-DS workload has the most queries (21,688), it has a longer training time than the online (8,000 queries) or batch (1,500 queries) workloads. For TPC-DS, the largest workload, training time on a CPU required 10 minutes, whereas on a GPU the training time dropped to 2.8 minutes. |
| 2019 | Hourglass embedding network, GPU proposed | training time | 2.8 minutes | Operator Embedding · hardware=GeForce GTX TITAN GPU · workload-size=21,688 queries | Flexible Operator Embeddings via Deep LearningSource quoteL362: {Finally, we analyze the time required to train the hourglass-shaped neural network used to represent an embedding. We compare the training time required for both a CPU (Intel Xeon E5-2640 v4) and a GPU (GeForce GTX TITAN). The results are shown in Figure~\ref{fig:runtime}. The time to train the network is a function of several parameters, the most notable being the size of the training set. Since our TPC-DS workload has the most queries (21,688), it has a longer training time than the online (8,000 queries) or batch (1,500 queries) workloads. For TPC-DS, the largest workload, training time on a CPU required 10 minutes, whereas on a GPU the training time dropped to 2.8 minutes. |
| 2019 | QPP Net (plan-based neural network) proposed non-standard slice | Percentage of test set with estimate within a factor of 1.5 of correct latency | 89% | Query Performance Prediction · split: test · cache=cold-cache · scale=100GB · execution=in isolation · test_subset=10 held-out query templates | Plan-Structured Deep Neural Network Models for Query Performance PredictionSource quoteL329: Model │ R \leq 1.5 │ 1.5 < R < 2.0 │ 2.0 \geq R QPP Net │ 89% │ 7% │ 4% |
| 2019 | LMFAO proposed | Time performance | 720.86 s | Classification Tree · runs=4 · cache=warm · hardware=8-core Intel i7-4770 · max-depth=4 · min-instances-to-split=1000 | A Layered Aggregate Engine for Analytics WorkloadsSource quoteL1073: LMFAO │ (max 31 nodes) │ 720.86 |
| 2017 | F^2 proposed non-standard slice | 95th-percentile JCT speedup | 2.02× | Batch Query Processing · testbed=50 machines · statistic=median of 3 runs · comparator=Hadoop (Tez on YARN) · arrival-pattern=random; 20s average inter-arrival time | Fast and Flexible Data Analytics with F2Source quoteL995: up jobs by 1.4× (1.27×) on average, and 2.02× (1.75×) at |