TPC-H · Query Execution

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

Showing 3 of 3 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.
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