TPC-H · Query Execution

50 papers · 126 extracted observations · query processing · Markdown · CSV · JSON API

Showing 6 of 6 matching observations.

YearMethodMetricScoreProtocol / FacetsPaper & Evidence
2025Accordion intra-stage DOP tuning proposedquery execution time194.76 secondsQuery Execution · scale-factor=100 · initial-stage-dop=1 · initial-intra-task-dop=1Intra-Query Runtime Elasticity for Cloud-Native Data Analysis
Source quote
L286: The notation ``AP Sn, a,b'' denotes the adding parallelism for stage n from a to b at the time marked by the red line. Initially, we adjusted the DOP for stage 3 three times, followed by five adjustments for stage 1. As both stages involve join operations, each parallelism adjustment necessitates hash table reconstruction, indicated by the yellow dashed lines appearing post-adjustment. The time interval T-build between the red and yellow dashed lines reflects the duration for rebuilding the hash table, which depends on the data volume for the build side: 2.991s for stage 3 on average and 14.11 seconds for stage 1 on average. The last parallelism adjustment for stage 1 is rejected as the coordinator determines that the estimated remaining execution time is less than the stage's T-build. The overall execution time for the query is 194.76 seconds, achieving a 73.71% reduction.
2025Accordion with an added elastic shuffle stage proposedtotal execution time30.21 secondsQuery Execution · query=orders-customer-filtered-count · elastic-shuffle-stage=addedIntra-Query Runtime Elasticity for Cloud-Native Data Analysis
Source quote
L320: \subsubsection{Elastic Shuffle Stage Evaluation} Partitioned hash join presents two computational bottlenecks: shuffle bottlenecks and join bottlenecks. To evaluate the effectiveness of the shuffle stage, we used the query: "select count(o\_orderkey) from orders join customer on o\_custkey=c\_custkey where c\_ nationkey = 9" (the execution plan is similar to Q2J). Initially, the orders table was stored across two nodes to intentionally make the shuffle operation the query bottleneck. Executing the query under these conditions (S1 Stage DOP:10, Task DOP:1) resulted in a total execution time of 45.22 seconds. Next, as illustrated in \cref{shufflestageplan}, we added a shuffle stage downstream of the orders table and re-executed the query. The results in \cref{shufflestageTuning} show that the throughput of stages S1 and S3 gradually increased as the parallelism of stage S2 was increased. However, the effect of further parallelism increases became less significant because the query bottleneck shifted from the shuffle stage to the join stage. The query initialization time was 232 ms, and the parallelism switching overhead was 12 ms. The query's execution time was reduced to 30.21 seconds, representing a 33.19% reduction in overall execution time.
2025Accordion before adding the elastic shuffle stage ablationtotal execution time45.22 secondsQuery Execution · query=orders-customer-filtered-count · task-dop=1 · stage-dop=10 · elastic-shuffle-stage=absentIntra-Query Runtime Elasticity for Cloud-Native Data Analysis
Source quote
L320: \subsubsection{Elastic Shuffle Stage Evaluation} Partitioned hash join presents two computational bottlenecks: shuffle bottlenecks and join bottlenecks. To evaluate the effectiveness of the shuffle stage, we used the query: "select count(o\_orderkey) from orders join customer on o\_custkey=c\_custkey where c\_ nationkey = 9" (the execution plan is similar to Q2J). Initially, the orders table was stored across two nodes to intentionally make the shuffle operation the query bottleneck. Executing the query under these conditions (S1 Stage DOP:10, Task DOP:1) resulted in a total execution time of 45.22 seconds. Next, as illustrated in \cref{shufflestageplan}, we added a shuffle stage downstream of the orders table and re-executed the query. The results in \cref{shufflestageTuning} show that the throughput of stages S1 and S3 gradually increased as the parallelism of stage S2 was increased. However, the effect of further parallelism increases became less significant because the query bottleneck shifted from the shuffle stage to the join stage. The query initialization time was 232 ms, and the parallelism switching overhead was 12 ms. The query's execution time was reduced to 30.21 seconds, representing a 33.19% reduction in overall execution time.
2025Q3 original execution without runtime adjustments baselinequery execution time740.34 secondsQuery Execution · scale-factor=100 · runtime-adjustments=noneIntra-Query Runtime Elasticity for Cloud-Native Data Analysis
Source quote
L273: \cref{Q3IntraTaskTuning} presents the throughput variations resulting from intra-task DOP tuning for Q3. The initial stage and task parallelism for Q3 are both set to 1. The notation ``AC Sn, a,b'' indicates that adding task DOP for all tasks of stage n from a to b at the time marked by the red line. For stages with join operations, yellow dashed lines indicate the completion of hash table construction. The script executor adjusted the DOP for stage 3 twice and for stage 1 three times, progressively increasing throughput with each adjustment. Throughput improves immediately (within 1\~10ms) post-DOP tuning due to rapid physical pipeline generation. Notably, the third adjustment for stage 1 does not enhance throughput, as the first two adjustments already maximized CPU utilization. The total execution time for the query is 307.87 seconds, reflecting a 58.42% reduction compared to the original execution time of 740.34 seconds (shown in \cref{Q3ExeOrigin}).
2019O2 (hybrid approach; inner-block LineItem key materialized) proposedoriginal-query execution time (OQ)13794.26 msQuery Execution · query=Q18 · variant=hybrid; inner-block LineItem key materialized · data-size=1GBExploring Query Results
Source quote
L856: OQ │ 5095.67 │ 5095.67 │ 5735446.19 │ 13794.26
2019G (eager approach; provenance representation materialized) baselineoriginal-query execution time (OQ)5735446.19 msQuery Execution · query=Q18 · variant=eager; provenance representation materialized · data-size=1GBExploring Query Results
Source quote
L856: OQ │ 5095.67 │ 5095.67 │ 5735446.19 │ 13794.26