TPC-H · Query Execution
50 papers · 126 extracted observations · query processing · Markdown · CSV · JSON API
Tasks on TPC-HAll tasks (50)Query Processing (13)Query Optimization (6)Dag Scheduling (2)Database Knob Tuning (2)Database Query Processing (2)Query Cost Estimation (2)Query Execution (2)Approximate Query Processing (1)
TaskQuery Processing (37)Query Optimization (9)Database Query Processing (9)Dag Scheduling (8)Query Cost Estimation (6)Query Execution (6)Query Execution Time Prediction (6)
Metricerror rate (13)spearman correlation r s between estimated uncer (6)joins runtime server side sj dec and sj match (5)makespan (5)workload performance sum of warm run times for 2 (3)query execution time (3)view query latency (3)
Showing 6 of 6 matching observations.
| Year | Method | Metric | Score | Protocol / Facets | Paper & Evidence |
|---|---|---|---|---|---|
| 2025 | Accordion intra-stage DOP tuning proposed | query execution time | 194.76 seconds | Query Execution · scale-factor=100 · initial-stage-dop=1 · initial-intra-task-dop=1 | Intra-Query Runtime Elasticity for Cloud-Native Data AnalysisSource quoteL286: 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. |
| 2025 | Accordion with an added elastic shuffle stage proposed | total execution time | 30.21 seconds | Query Execution · query=orders-customer-filtered-count · elastic-shuffle-stage=added | Intra-Query Runtime Elasticity for Cloud-Native Data AnalysisSource quoteL320: \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. |
| 2025 | Accordion before adding the elastic shuffle stage ablation | total execution time | 45.22 seconds | Query Execution · query=orders-customer-filtered-count · task-dop=1 · stage-dop=10 · elastic-shuffle-stage=absent | Intra-Query Runtime Elasticity for Cloud-Native Data AnalysisSource quoteL320: \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. |
| 2025 | Q3 original execution without runtime adjustments baseline | query execution time | 740.34 seconds | Query Execution · scale-factor=100 · runtime-adjustments=none | Intra-Query Runtime Elasticity for Cloud-Native Data AnalysisSource quoteL273: \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}). |
| 2019 | O2 (hybrid approach; inner-block LineItem key materialized) proposed | original-query execution time (OQ) | 13794.26 ms | Query Execution · query=Q18 · variant=hybrid; inner-block LineItem key materialized · data-size=1GB | Exploring Query ResultsSource quoteL856: OQ │ 5095.67 │ 5095.67 │ 5735446.19 │ 13794.26 |
| 2019 | G (eager approach; provenance representation materialized) baseline | original-query execution time (OQ) | 5735446.19 ms | Query Execution · query=Q18 · variant=eager; provenance representation materialized · data-size=1GB | Exploring Query ResultsSource quoteL856: OQ │ 5095.67 │ 5095.67 │ 5735446.19 │ 13794.26 |