TPC-DS

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

Showing 1 of 1 matching observations.

YearMethodMetricScoreProtocol / FacetsPaper & Evidence
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.