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 1 of 1 matching observations.
| Year | Method | Metric | Score | Protocol / Facets | Paper & Evidence |
|---|---|---|---|---|---|
| 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. |