TPC-DS

25 papers · 43 extracted observations · query optimization · Markdown · CSV · JSON API

Showing 43 of 43 matching observations.

YearMethodMetricScoreProtocol / FacetsPaper & Evidence
2026Template correction (primary method) proposedError (geometric mean of median Q-error over test templates)1.19Query Optimization · split: test-templates · one-measured-query-per-templateWhen Is One Query per Template Enough? Adapting Learned Cost Models to New Hardware
Source quote
L988: method reaches 1.10 on TPC-H at k = 25 and 1.19 on TPC-
2026LASER-14B proposedMean query latency27.16 sSql Query Optimization · params=14B · dbms=PostgreSQL 13 · data-scale=10GBLASER: A Data-Centric Method for Low-Cost and Efficient SQL Rewriting based on SQL-GRPO
Source quote
L400: 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%
2026GPT-5 with evolutionary sampling proposed non-standard slicequery execution-time speedup4.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 memoryTest-Time Optimization of Physical Query Plans with LLMs
Source quote
L1056: 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.
2026WAter proposed non-standard slicetime-to-optimal speedup12.9×Database Knob Tuning · scale-factor=1–10WAter: A Workload-Adaptive Knob Tuning System based on Workload Compression
Source quote
L455: 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.}
2026SQL Selection proposed non-standard sliceKendall's Tau correlation with full-fidelity performance>0.8Sql Configuration Tuning · data-scale=600GBMFTune: An Efficient Multi-fidelity Framework for Spark SQL Configuration Tuning
Source quote
L57: 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.
2026Nexus-GPT-4o proposed non-standard sliceF10.89Query OptimizationNexus: Inferring Join Graphs from Metadata Alone via Iterative Low-Rank Matrix Completion
Source quote
L328: \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
2026Auto-BI (metadata-only adaptation) non-standard sliceF10.52Query OptimizationNexus: Inferring Join Graphs from Metadata Alone via Iterative Low-Rank Matrix Completion
Source quote
L326: \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} │ 0.08 │ 0.15 │ 0.05
2025MAAdvisor (table row “MAAdivsor”) proposedinference runtime133.21Index Advising · 0-shot · storage-budget=50%MAAdvisor: Zero-Shot Index Advisor using Multi-Agent LLMs
Source quote
L273: 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
2025Robust Predicate Transfer (RPT) proposedRobustness Factor (RF; maximum/minimum execution time)1.473Sql Query Optimization · join-order=random left-deep · query-type=acyclic · aggregation=worst-case across evaluated queriesDebunking the Myth of Join Ordering: Toward Robust SQL Analytics
Source quote
L306: 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.
2025Robust Predicate Transfer (RPT), optimizer's plan proposed non-standard sliceAverage speedup over DuckDB's optimizer plan1.56×Sql Query Optimization · comparator=default DuckDB optimizer plan · aggregation=geometric mean across queriesDebunking the Myth of Join Ordering: Toward Robust SQL Analytics
Source quote
L291: RPT\xspace │ 1.44× │ 1.46× │ 1.56× │ 1.54×
2025SQL-Factory proposedVendi Score (SQL-Encoder)4.10Sql Generation Diversity · sample-size=10000 queries · embedding-backbone=SQL-EncoderSQL-Factory: A Multi-Agent Framework for High-Quality and Large-Scale SQL Generation
Source quote
L380: SQL-Factory │ 0.637 │ 4.10 │ 7.94
2025SQL-Factory proposedVendi Score (SimCSE)7.94Sql Generation Diversity · sample-size=10000 queries · embedding-backbone=SimCSESQL-Factory: A Multi-Agent Framework for High-Quality and Large-Scale SQL Generation
Source quote
L380: SQL-Factory │ 0.637 │ 4.10 │ 7.94
2025SpeQL proposedquery latency0.08 secondsQuery Processing · query=Q1 · data-size=100GBSpeculative Ad-hoc Querying
Source quote
L270: \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.
2025RCRank proposedTop1-IR0.1477Root 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 Systems
Source quote
L571: \begin{tabular}[c]{@{}l@{}}\texttt{RCRank} │ 0.8466 │ 0.6321 │ 0.1732±0.1440 │ 0.5431 │ 0.5391 │ 0.1477
2025LLMIdxAdvis baselineinference runtime138.95Index Advising · 0-shot · storage-budget=50%MAAdvisor: Zero-Shot Index Advisor using Multi-Agent LLMs
Source quote
L272: LLMIdxAdvis │ 210.23 │ 148.95 │ 216.63 │ 203.83 │ 153.35 │ 167.76 │ 412.48 │ 138.95 │ 134.77 │ 123.45 │ 146.10 │ 177.62 │ 141.86 │ 165.49 │ 170.04 │ 174.96
2025Baseline (directly pasting and running the query in Redshift query editor) baselinequery latency23.1 secondsQuery Processing · query=Q1 · system=Redshift · data-size=100GBSpeculative Ad-hoc Querying
Source quote
L270: \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.
2025Concat baselineTop1-IR0.1201Root 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 Systems
Source quote
L563: Concat │ 0.7836 │ 0.5566 │ 0.7133±0.1732 │ 0.4547 │ 0.4873 │ 0.1201
2024CONCERTO proposed non-standard slicemean Q-Error1.84Query Cost Estimation · split: test · engine=ClickHouse · subset=held-out workload · input_mode=probe execution · scale_factor=1CONCERTO: Complex Query Execution Mechanism-Aware Learned Cost Estimation
Source quote
L347: 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
2024CONCERTO w/o ResAttn ablation non-standard slicemean Q-Error2.48Query Cost Estimation · split: test · engine=ClickHouse · subset=held-out workload · input_mode=probe execution · scale_factor=1 · removed_component=resource attentionCONCERTO: Complex Query Execution Mechanism-Aware Learned Cost Estimation
Source quote
L349: CONCERTO w/o ResAttn │ 2.09 │ 1.97 │ 3.05 │ 3.25 │ 4.29 │ 6.52 │ 2.48 │ 1.90 │ 4.95 │ 5.62 │ 6.68 │ 7.72
2024RAAL baseline non-standard slicemean Q-Error2.00Query Cost Estimation · split: test · engine=ClickHouse · subset=held-out workload · input_mode=probe execution · scale_factor=1CONCERTO: Complex Query Execution Mechanism-Aware Learned Cost Estimation
Source quote
L346: RAAL │ 2.24 │ 2.31 │ 2.63 │ 2.82 │ 3.85 │ 5.13 │ 2.00 │ 1.43 │ 3.18 │ 3.86 │ 5.23 │ 5.54
2023UniTune proposedtotal query execution time improvement2.7 hoursQuery Optimization · comparison=default execution time · query-count=99 · scale-factor=50A Unified and Efficient Coordinating Framework for Autonomous DBMS Tuning
Source quote
L114: 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.
2023RelJoin (SparkSQL; w=1) proposed non-standard sliceoptimization accuracy (percentage of queries with least completion time)63.9%Query Optimization · weight=1 · scale-factor=1RelJoin: Relative-cost-based selection of distributed join methods for query plan optimization
Source quote
L1110: RelJoin │ 62(63.9) │ 45(45.2) │ 36(40.0)
2023RelJoin (SparkSQL; w=1) proposed non-standard sliceoptimization accuracy (percentage of queries with least completion time)45.2%Query Optimization · weight=1 · scale-factor=10RelJoin: Relative-cost-based selection of distributed join methods for query plan optimization
Source quote
L1110: RelJoin │ 62(63.9) │ 45(45.2) │ 36(40.0)
2023FOSS proposedWRL, test0.77Query Optimization · split: test · maxsteps=3FOSS: A Self-Learned Doctor for Query Optimizer
Source quote
L311: 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
2023AQE baseline non-standard sliceoptimization accuracy (percentage of queries with least completion time)12.4%Query Optimization · scale-factor=1RelJoin: Relative-cost-based selection of distributed join methods for query plan optimization
Source quote
L1109: AQE │ 36(37.1) │ 12(12.4) │ 74(79.6) │ 32(34.4) │ 78(86.7) │ 42(46.7)
2023AQE baseline non-standard sliceoptimization accuracy (percentage of queries with least completion time)34.4%Query Optimization · scale-factor=10RelJoin: Relative-cost-based selection of distributed join methods for query plan optimization
Source quote
L1109: AQE │ 36(37.1) │ 12(12.4) │ 74(79.6) │ 32(34.4) │ 78(86.7) │ 42(46.7)
2022IncShrink (sDPTimer; table column DP-Timer) proposedQET (average query execution time)0.051 sQuery Execution · split: test · T=10 · f=2000 · s=15 · epsilon=1.5IncShrink: Architecting Efficient Outsourced Databases using Incremental MPC and Differential Privacy
Source quote
L903: 0.051
2022Model Join generated sample proposedF-score0.86Join Sample Generation · query=Q3 · data-points=100k · generated-samples=50kModel Joins: Enabling Analytics Over Joins of Absent Big Tables
Source quote
L645: 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.
2022Model Join generated sample proposedF-score0.81Join Sample Generation · query=Q4 · data-points=5k · generated-samples=100kModel Joins: Enabling Analytics Over Joins of Absent Big Tables
Source quote
L645: 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.
2022Model Join generated sample proposedKS-statistic0.0048Join Sample Generation · split: test · query=Q4 · generated-samples=100k · significance-level=0.01Model Joins: Enabling Analytics Over Joins of Absent Big Tables
Source quote
L643: 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
2021MAB proposedTotal workload time249.62 minIndex Tuning · workload=static · data-distribution=skewedNo DBA? No Regret! Multi-Armed Bandits for Index Tuning of Analytical and HTAP Workloads With Provable Guarantees
Source quote
L518: TPC-DS │ 44.86 (44.86) │ 1.53 │ 1.45 │ 5.94 │ 302.63 │ 242.15 │ 348.94 │ 249.62
2021PDTool baselineTotal workload time348.94 minIndex Tuning · workload=static · data-distribution=skewedNo DBA? No Regret! Multi-Armed Bandits for Index Tuning of Analytical and HTAP Workloads With Provable Guarantees
Source quote
L518: TPC-DS │ 44.86 (44.86) │ 1.53 │ 1.45 │ 5.94 │ 302.63 │ 242.15 │ 348.94 │ 249.62
2020SmartQueue (untrained) proposed non-standard sliceaverage buffer hit ratio0.2Query Scheduling · split: test · test-queries=50 · training-state=untrained · training-queries=950 · training-templates=79 · unseen-test-templates=20Buffer Pool Aware Query Scheduling via Deep Reinforcement Learning
Source quote
L81: 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.
2020SmartQueue (after scheduling all 950 training queries) proposed non-standard sliceaverage buffer hit ratio0.64Query Scheduling · split: test · test-queries=50 · training-state=after-950-queries · training-queries=950 · training-templates=79 · unseen-test-templates=20Buffer Pool Aware Query Scheduling via Deep Reinforcement Learning
Source quote
L81: 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.
2020PDTool baselineTotal workload time348.94 minIndex Tuning · static-workload · rounds=25 · scale-factor=10 · query-templates=99DBA bandits: Self-driving index tuning under ad-hoc, analytical workloads with safety guarantees
Source quote
L355: TPC-DS │ 44.86 │ 1.53 │ 1.45 │ 5.94 │ 302.63 │ 242.15 │ 348.94 │ 249.62
2019BoPF proposedFactor of improvement in average LQ completion time5.38Cluster Scheduling · workload=1 LQ and 8 TQs · comparator=DRF · cluster-size=40 nodesBoPF: Mitigating the Burstiness-Fairness Tradeoff in Multi-Resource Clusters
Source quote
L582: TPC-DS │ 1.35 │ 1.61 │ 2.29 │ 5.38
2019Hourglass embedding network, CPU proposedtraining time10 minutesOperator Embedding · hardware=Intel Xeon E5-2640 v4 CPU · workload-size=21,688 queriesFlexible Operator Embeddings via Deep Learning
Source quote
L362: {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.
2019Hourglass embedding network, GPU proposedtraining time2.8 minutesOperator Embedding · hardware=GeForce GTX TITAN GPU · workload-size=21,688 queriesFlexible Operator Embeddings via Deep Learning
Source quote
L362: {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.
2019QPP Net (plan-based neural network) proposed non-standard slicePercentage of test set with estimate within a factor of 1.5 of correct latency89%Query Performance Prediction · split: test · cache=cold-cache · scale=100GB · execution=in isolation · test_subset=10 held-out query templatesPlan-Structured Deep Neural Network Models for Query Performance Prediction
Source quote
L329: Model │ R \leq 1.5 │ 1.5 < R < 2.0 │ 2.0 \geq R QPP Net │ 89% │ 7% │ 4%
2019LMFAO proposedTime performance720.86 sClassification Tree · runs=4 · cache=warm · hardware=8-core Intel i7-4770 · max-depth=4 · min-instances-to-split=1000A Layered Aggregate Engine for Analytics Workloads
Source quote
L1073: LMFAO │ (max 31 nodes) │ 720.86
2019RBF (Resource-Based Features) baseline non-standard slicePercentage of test set with estimate within a factor of 1.5 of correct latency85%Query Performance Prediction · split: test · cache=cold-cache · scale=100GB · execution=in isolation · test_subset=10 held-out query templatesPlan-Structured Deep Neural Network Models for Query Performance Prediction
Source quote
L332: RBF │ 85% │ 6% │ 9%
2019MADlib baselineTime performance34,717.63 sClassification Tree · runs=4 · cache=warm · hardware=8-core Intel i7-4770 · max-depth=4 · min-instances-to-split=1000A Layered Aggregate Engine for Analytics Workloads
Source quote
L1072: MADlib │ (max 31 nodes) │ 34,717.63
2017F^2 proposed non-standard slice95th-percentile JCT speedup2.02×Batch Query Processing · testbed=50 machines · statistic=median of 3 runs · comparator=Hadoop (Tez on YARN) · arrival-pattern=random; 20s average inter-arrival timeFast and Flexible Data Analytics with F2
Source quote
L995: up jobs by 1.4× (1.27×) on average, and 2.02× (1.75×) at