TPC-H
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)
Comparable Cohort Timeline (proposed/measured methods; excludes quoted baselines & ablations)
Proposed/measured results matching task=Query Processing.
Click any point on the timeline to inspect method, protocol, and paper.
| # | Method | Score ↓ | Year | Protocol / Settings | Paper & Evidence |
|---|---|---|---|---|---|
| 1 | ErrGNN+SDG SOTA frontier (+5 variants) | 1.18% | 2025-08-01 | LCM trained on 2,200 SDG-generated TPC-H queries and tested on 1,000 queries; results… | Bootstrapping Learned Cost Models with Synthetic SQL QueriesSource quote1.18 |
| 2 | Perm-16 (permutation-based sampling) SOTA frontier | 63% | 2022-08-01 | Default parameters; UO-UA setting (unequal number of owners and unequal-chance record… | On Shapley Value in Data Assemblage Under Independent UtilitySource quote\textsf{UO-UA} │ 29% │ 22% │ 63% │ 37% |
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 126 of 126 matching observations.
| Year | Method | Metric | Score | Protocol / Facets | Paper & Evidence |
|---|---|---|---|---|---|
| 2026 | Template correction (primary method) proposed | Error (geometric mean of median Q-error over test templates) | 1.10 | Query Processing · split: test-templates · one-measured-query-per-template | When Is One Query per Template Enough? Adapting Learned Cost Models to New HardwareSource quoteL988: method reaches 1.10 on TPC-H at k = 25 and 1.19 on TPC- |
| 2026 | GenDB-V (joint storage and query optimization) proposed non-standard slice | Workload time | 10.380 s | Query Processing | Stop Handcrafting Your Engine! GenDB-V: Towards AI-Generated and Formally Verified Database SystemsSource quoteL1203: 10.380 |
| 2026 | GenDB-V general-purpose engine (version 16) proposed non-standard slice | Total workload execution time | 109.3 s | Query Processing | Stop Handcrafting Your Engine! GenDB-V: Towards AI-Generated and Formally Verified Database SystemsSource quoteL1265: one thread. Version 16 reduces total execution time to 109.3 s at |
| 2026 | GenDB-V general-purpose engine (version 16) proposed non-standard slice | Total workload execution time | 9.16 s | Query Processing | Stop Handcrafting Your Engine! GenDB-V: Towards AI-Generated and Formally Verified Database SystemsSource quoteL1266: one thread and 9.16 s at 64 threads, achieving speedups of 3.4× and |
| 2026 | LASER-14B proposed | Mean query latency | 31.78 s | Sql Query Optimization · params=14B · dbms=PostgreSQL 13 · schema=unseen · data-scale=10GB | LASER: A Data-Centric Method for Low-Cost and Efficient SQL Rewriting based on SQL-GRPOSource quoteL472: LASER-14B │ 31.78 │ 26.73 │ 38.14 │ 70.50 │ 100% │ 9.98 │ 5.68 │ 11.33 │ 24.11 │ 75% |
| 2026 | WAter proposed non-standard slice | time-to-optimal speedup | 9.8× | Database Knob Tuning · scale-factor=10–50 | WAter: A Workload-Adaptive Knob Tuning System based on Workload CompressionSource quoteL455: Different Data Size. We study {WAter}'s scalability across different database sizes by varying the scale factor of TPC-H from 10 to 50 and TPC-DS from 1 to 10. As shown in Figure \ref{fig:different_scale_factor}, compared to GPTuner, {WAter} \ finds better configurations in much less time. For both of the workloads, {WAter} \ finds better configurations than the optima of GPTuner at the very beginning, achieving time-to-optimal speedups of 12.9× and 9.8× for TPC-DS and TPC-H. In the end, {WAter} \ achieves execution times which are 16.8% and 43.5% less than default and 5.7% and 16.2% less than GPTuner on TPC-DS and TPC-H respectively. \textcolor{black}{This demonstrates that as the cost of a single evaluation increases, the benefit of {WAter}'s runtime efficiency becomes overwhelmingly significant, allowing it to explore many more configurations in the same time budget.} |
| 2026 | Tailwind (10% space budget) proposed non-standard slice | geomean query speedup | 1.32× | Query Acceleration · system=Redshift · scale-factor=100 · space-budget=10% · query-exclusion=Q21 | Tailwind: A Practical Framework for Query AcceleratorsSource quoteL1018: 1.32×{} (1.21×{}) |
| 2026 | Tailwind (10% space budget) proposed non-standard slice | geomean query speedup | 1.38× | Query Acceleration · system=DuckDB · scale-factor=100 · space-budget=10% · query-exclusion=Q21 | Tailwind: A Practical Framework for Query AcceleratorsSource quoteL1019: on Redshift and 1.38×{} |
| 2026 | Tailwind proposed non-standard slice | maximum query latency speedup | 29× | Query Acceleration · aggregation=maximum across queries and systems · scale-factor=100 · space-budget=10% | Tailwind: A Practical Framework for Query AcceleratorsSource quoteL175: average (geomean) and as high as 29×{}. |
| 2026 | WeCAN-S(256) proposed | Makespan | 32885 | Dag Scheduling · task-size=50 · skip-action=disabled | A Learning Method with Gap-Aware Generation for Heterogeneous DAG SchedulingSource quoteL1453: WeCAN-S(256) │ 32885 │ 14.9% │ 61364 │ 12.5% \% |
| 2026 | WeCAN-S(256) proposed | Makespan | 61364 | Dag Scheduling · task-size=100 · skip-action=disabled | A Learning Method with Gap-Aware Generation for Heterogeneous DAG SchedulingSource quoteL1453: WeCAN-S(256) │ 32885 │ 14.9% │ 61364 │ 12.5% \% |
| 2026 | WeCAN-S(256) proposed non-standard slice | Makespan | 24035 | Dag Scheduling · subset=heavy-task · task-size=30 · skip-action=included | A Learning Method with Gap-Aware Generation for Heterogeneous DAG SchedulingSource quoteL1475: WeCAN-S(256) │ 24035 │ 6.47% │ 2.43 │ 35726 │ 6.07% │ 6.12 |
| 2026 | WeCAN-Greedy proposed | Total inference time | 0.154 s | Dag Scheduling · task-size=30 · measurement=GPU-inference | A Learning Method with Gap-Aware Generation for Heterogeneous DAG SchedulingSource quoteL1491: TPC-H-30 │ 0.154 │ 0.140 │ 0.014 │ 0.201 │ 0.116 │ 0.085 |
| 2026 | OceanBase Mercury (OceanBase 4.3.3) proposed | query latency | 6.07 seconds | Database Query Processing · query=18 · software_version=OceanBase 4.3.3 | Building an OceanBase-based Distributed Nearly Real-time Analytical Processing Database SystemSource quoteL360: For the TPC-H benchmark, since ClickHouse does not support all the queries in TPC-H~\cite{schulze2024clickhouse, TPCH-ClickHoue} and takes more than one hour to process those supported queries, it is not discussed further. Compared with StarRocks, OceanBase reduces the total query latency by 23.7% on a single server and by 33.8% in a cluster for the 700GB TPC-H. Additionally, it achieves query latency reductions ranging from 46% on a single server to 19% in a cluster for the 1TB TPC-H. These improvements in query efficiency are essential for near real-time analytical processing systems. Figure~\ref{fig:OB_vs_SR_CK} displays the detailed query latency for each query in TPC-H. For those queries not supported by ClickHouse~\cite{schulze2024clickhouse}, we color their x-axis labels in red and do not plot them in the figure. OceanBase 4.3.3 achieves less query latency for most queries, especially for those complex and time-consuming queries. For instance, for Query 18 in Figure~\ref{fig:OB_vs_SR_CK} (b), OceanBase costs 6.07 seconds, while StarRocks costs 24.3 seconds and ClickHouse costs 163.0 seconds. Query 18 fetches details about suppliers with supply quantities exceeding a specified amount. The query involves a three-table join operation that simultaneously performs operations such as aggregation, grouping, sorting, and utilizing an \texttt{IN} subquery. OceanBase's superiority in the query demonstrates its capability to speed up complex queries. |
| 2026 | WeCAN-NoSkip-S(256) ablation non-standard slice | Makespan | 26175 | Dag Scheduling · subset=heavy-task · task-size=30 · skip-action=omitted | A Learning Method with Gap-Aware Generation for Heterogeneous DAG SchedulingSource quoteL1471: WeCAN-NoSkip-S(256) │ 26175 │ -1.86% │ 2.38 │ 38450 │ -1.09% │ 5.37 |
| 2026 | DuckDB 1.5.6 baseline non-standard slice | Workload time | 367.841 s | Query Processing | Stop Handcrafting Your Engine! GenDB-V: Towards AI-Generated and Formally Verified Database SystemsSource quoteL1200: 367.841 |
| 2026 | Umbra 26.08 baseline non-standard slice | Workload time | 170.103 s | Query Processing | Stop Handcrafting Your Engine! GenDB-V: Towards AI-Generated and Formally Verified Database SystemsSource quoteL1201: 170.103 |
| 2026 | DuckDB baseline | EXPLAIN planning time | 6 milliseconds ms | Query Planning · query=Listing 1 TPC-H-derived query | EXPLAIN Yourself! Finding Query Planner Stalls Across DBMSesSource quoteL53: \texttt{EXPLAIN} on DBMS A{}, but 6~milliseconds on DuckDB{}. |
| 2026 | OneShot-S(256) baseline | Makespan | 35561 | Dag Scheduling · task-size=50 · skip-action=disabled | A Learning Method with Gap-Aware Generation for Heterogeneous DAG SchedulingSource quoteL1447: OneShot-S(256) │ 35561 │ 8.00% │ 66173 │ 5.65% |
| 2026 | StarRocks 3.3.3 baseline | query latency | 24.3 seconds | Database Query Processing · query=18 · software_version=StarRocks 3.3.3 | Building an OceanBase-based Distributed Nearly Real-time Analytical Processing Database SystemSource quoteL360: For the TPC-H benchmark, since ClickHouse does not support all the queries in TPC-H~\cite{schulze2024clickhouse, TPCH-ClickHoue} and takes more than one hour to process those supported queries, it is not discussed further. Compared with StarRocks, OceanBase reduces the total query latency by 23.7% on a single server and by 33.8% in a cluster for the 700GB TPC-H. Additionally, it achieves query latency reductions ranging from 46% on a single server to 19% in a cluster for the 1TB TPC-H. These improvements in query efficiency are essential for near real-time analytical processing systems. Figure~\ref{fig:OB_vs_SR_CK} displays the detailed query latency for each query in TPC-H. For those queries not supported by ClickHouse~\cite{schulze2024clickhouse}, we color their x-axis labels in red and do not plot them in the figure. OceanBase 4.3.3 achieves less query latency for most queries, especially for those complex and time-consuming queries. For instance, for Query 18 in Figure~\ref{fig:OB_vs_SR_CK} (b), OceanBase costs 6.07 seconds, while StarRocks costs 24.3 seconds and ClickHouse costs 163.0 seconds. Query 18 fetches details about suppliers with supply quantities exceeding a specified amount. The query involves a three-table join operation that simultaneously performs operations such as aggregation, grouping, sorting, and utilizing an \texttt{IN} subquery. OceanBase's superiority in the query demonstrates its capability to speed up complex queries. |
| 2026 | ClickHouse 24.10.1 baseline | query latency | 163.0 seconds | Database Query Processing · query=18 · software_version=ClickHouse 24.10.1 | Building an OceanBase-based Distributed Nearly Real-time Analytical Processing Database SystemSource quoteL360: For the TPC-H benchmark, since ClickHouse does not support all the queries in TPC-H~\cite{schulze2024clickhouse, TPCH-ClickHoue} and takes more than one hour to process those supported queries, it is not discussed further. Compared with StarRocks, OceanBase reduces the total query latency by 23.7% on a single server and by 33.8% in a cluster for the 700GB TPC-H. Additionally, it achieves query latency reductions ranging from 46% on a single server to 19% in a cluster for the 1TB TPC-H. These improvements in query efficiency are essential for near real-time analytical processing systems. Figure~\ref{fig:OB_vs_SR_CK} displays the detailed query latency for each query in TPC-H. For those queries not supported by ClickHouse~\cite{schulze2024clickhouse}, we color their x-axis labels in red and do not plot them in the figure. OceanBase 4.3.3 achieves less query latency for most queries, especially for those complex and time-consuming queries. For instance, for Query 18 in Figure~\ref{fig:OB_vs_SR_CK} (b), OceanBase costs 6.07 seconds, while StarRocks costs 24.3 seconds and ClickHouse costs 163.0 seconds. Query 18 fetches details about suppliers with supply quantities exceeding a specified amount. The query involves a three-table join operation that simultaneously performs operations such as aggregation, grouping, sorting, and utilizing an \texttt{IN} subquery. OceanBase's superiority in the query demonstrates its capability to speed up complex queries. |
| 2025 | Distributed TQP proposed | workload performance (sum of warm run times for 22 queries) | 0.53 seconds | Query Processing · hardware=40 H100 GPUs across 5 machines · data_size=1 TB · interconnect=InfiniBand · scale_factor=1000 · data_residency=GPU HBM | Terabyte-Scale Analytics in the Blink of an EyeSource quoteL421: We see that all queries with SF=1000 could be run in 1.1 seconds using 8 GPUs in a single VM. With multiple VMs and more GPUs, further speedups are possible. With 40 GPUs in 5 VMs with IB interconnects, the total run time reduces to 0.53 seconds for SF=1000 and 1.3 seconds for SF=3000, representing more than two orders of magnitude in speedup over published numbers for these scale factors using CPU-only machines~\cite{HPE_TPC-H_2022,HPE_TPC-H_3TB_2024}. Interestingly, the run times are comparable between H100 and MI300X machines even though they are from different vendors. |
| 2025 | Distributed TQP proposed | workload performance (sum of warm run times for 22 queries) | 1.3 seconds | Query Processing · hardware=40 GPUs across 5 machines · data_size=3 TB · interconnect=InfiniBand · scale_factor=3000 · data_residency=GPU HBM | Terabyte-Scale Analytics in the Blink of an EyeSource quoteL421: We see that all queries with SF=1000 could be run in 1.1 seconds using 8 GPUs in a single VM. With multiple VMs and more GPUs, further speedups are possible. With 40 GPUs in 5 VMs with IB interconnects, the total run time reduces to 0.53 seconds for SF=1000 and 1.3 seconds for SF=3000, representing more than two orders of magnitude in speedup over published numbers for these scale factors using CPU-only machines~\cite{HPE_TPC-H_2022,HPE_TPC-H_3TB_2024}. Interestingly, the run times are comparable between H100 and MI300X machines even though they are from different vendors. |
| 2025 | Distributed TQP proposed | total run time for all 22 queries | 1.06 seconds | Query Processing · hardware=8 MI300X GPUs on a single machine · data_size=1 TB · scale_factor=1000 · data_residency=GPU HBM | Terabyte-Scale Analytics in the Blink of an EyeSource quoteL44: Starting from input data partitioned and loaded in GPU HBMs, we run all 22 TPC-H~\cite{tpch} queries at 1 TB scale in 0.53 seconds in total using 40 GPUs (H100, 5 machines) and 3 TB scale in 1.3 seconds (Figure~\ref{fig:tpch-best-times}). We can also complete all 22 queries at 1 TB scale in 1.06 seconds on a single machine with 8 GPUs (MI300X). This beats custom scale-up CPU machines fitting the workload in RAM by over 60×~\cite{HPE_TPC-H_2022,HPE_TPC-H_3TB_2024} and more for commodity scale-out cloud-based hardware. |
| 2025 | Distributed TQP proposed | workload performance (sum of warm run times for 22 queries) | 15.51 seconds | Query Processing · hardware=A100 GPUs across 5 VMs · data_size=1 TB · interconnect=Ethernet · scale_factor=1000 · data_residency=GPU HBM | Terabyte-Scale Analytics in the Blink of an EyeSource quoteL423: The above speedups with multiple VMs are possible only with high-bandwidth networks, such as the IB networks that we use. With Ethernet connectivity, the times are significantly larger for multi-VM configurations, e.g., 15.51 seconds for A100 and 8.39 seconds for H100, at V=5 (we omit the numbers for MI300X with Ethernet from the figure since the network configuration is similar to that of the H100 cluster, and the single-VM performances are also similar). Multi-VM configurations without high-bandwidth interconnects only increase run time and costs, and thus are not an efficient setup for these workloads. |
| 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 | CARPO proposed | Total Time | 3719.16 ms | Query Optimization · split: test · split-ratio=8:2 | CARPO: Leveraging Listwise Learning-to-Rank for Context-Aware Query Plan OptimizationSource quoteL406: \multirow{3}{*}{\begin{tabular}[c]{@{}c@{}}TPCH Test Set (8:2 Split)} │ CARPO │ 74.54% │ 83.63% │ 87.23% │ 3719.16 |
| 2025 | E3-Rewrite (Qwen) proposed | Average query latency | 29.67 s | Query Processing | E3-Rewrite: Learning to Rewrite SQL for Executability, Equivalence,and EfficiencySource quoteL181: \textbf{E\textsuperscript{3}-Rewrite (Qwen)} │ 29.67 │ 8.63 │ 51.37 │ 5.01 │ 1.44 │ 16.71 │ 16.93 │ 2.46 │ 38.47 |
| 2025 | Proposed LCM router (few-shot) proposed | total workload runtime reduction | −30.4% | Query Routing · few-shot · comparison=random per-query routing · fine-tuning-queries=250 | A Learned Cost Model-based Cross-engine Optimizer for SQL WorkloadsSource quoteL454: Stack Overflow, and 66.1 minutes (−30.4%) for TPC-H. Finally, the fine-tuned predictors also lead to similar or lower total execution time compared to static routing. For instance, on the IMDB dataset, the difference between the LCM-based and static routing grows to |
| 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 | ErrGNN+Mech | qmedian (Q-error) | 1.20 | Query Processing | Bootstrapping Learned Cost Models with Synthetic SQL QueriesSource quoteL93: 1.20 |
| 2025 | ErrGNN+SDG | qmedian (Q-error) | 1.18 | Query Processing | Bootstrapping Learned Cost Models with Synthetic SQL QueriesSource quoteL97: 1.18 |
| 2025 | ErrGNN+Mech | qmean (Q-error) | 1.41 | Query Processing | Bootstrapping Learned Cost Models with Synthetic SQL QueriesSource quoteL94: 1.41 |
| 2025 | ErrGNN+SDG | qmean (Q-error) | 1.34 | Query Processing | Bootstrapping Learned Cost Models with Synthetic SQL QueriesSource quoteL98: 1.34 |
| 2025 | ErrGNN+Mech | qp95 (Q-error) | 2.38 | Query Processing | Bootstrapping Learned Cost Models with Synthetic SQL QueriesSource quoteL95: 2.38 |
| 2025 | ErrGNN+SDG | qp95 (Q-error) | 2.37 | Query Processing | Bootstrapping Learned Cost Models with Synthetic SQL QueriesSource quoteL99: 2.37 |
| 2025 | R-Bot (GPT-4o) baseline | Mean query latency | 32.64 s | Query Optimization · queries=63 (Q15 excluded) · database=PostgreSQL v14.13 · repetitions=3 measured executions averaged · scale_factor=10 | QUITE: A Query Rewrite System Beyond Rules with LLM AgentsSource quoteL447: R-Bot (GPT-4o) │ 32.64 │ 9.48 │ 26.25 │ 172.20 │ 21.75 │ 4.26 │ 8.80 │ 119.19 │ 22.21 │ 2.34 │ 8.35 │ 122.14 |
| 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}). |
| 2024 | CONCERTO proposed non-standard slice | mean Q-Error | 1.46 | Query Cost Estimation · split: test · engine=ClickHouse · subset=held-out templates 3, 7, 11, and 6 · input_mode=probe execution · scale_factor=1 | CONCERTO: Complex Query Execution Mechanism-Aware Learned Cost EstimationSource quoteL347: CONCERTO │ 1.46 │ 1.49 │ 1.90 │ 1.98 │ 2.05 │ 2.49 │ 1.84 │ 1.73 │ 2.78 │ 2.88 │ 3.22 │ 3.84 |
| 2024 | LLM-R² proposed | Mean execution time | 37.23 s | Query Optimization · scale=approximately 10 GB | LLM-R2: A Large Language Model Enhanced Rule-based Rewrite System for Boosting Query EfficiencySource quoteL284: \textbf{LLM-R\textsuperscript{2}} (Ours) │ 37.23 │ 17.40 │ 29.80 │ 164.12 │ 3.91 │ 1.33 │ 3.52 │ 18.16 │ 24.11 │ 2.16 │ 12.61 │ 196.61 |
| 2024 | Corra non-hierarchical diff-encoding proposed | Size w/ diff-enc | 37.49 MB | Data Compression · column=receiptdate · encoding=non-hierarchical diff-encoding · scale-factor=10 · reference-column=shipdate | Corra: Correlation-Aware Column CompressionSource quoteL120: \texttt{lineitem} (SF 10) │ \lreceiptdate │ 89.99 MB │ Non-hierarchical │ \lshipdate │ 37.49 MB │ \textcolor{customgreen}{58.3%} \texttt{lineitem} (SF 10) │ \lcommitdate │ 89.99 MB │ Non-hierarchical │ \lshipdate │ 59.99 MB │ \textcolor{customgreen}{33.3%} Taxi │ \taxidropoff │ 136.64 MB │ Non-hierarchical │ \taxipickup │ 94.7 MB │ \textcolor{customgreen}{30.6%} DMV │ \dmvzipcode │ 25.88 MB │ Hierarchical │ \dmvcity │ 11.96 MB │ \textcolor{customgreen}{53.7%} DMV │ \dmvcity │ 21.45 MB │ Hierarchical │ \dmvstate │ 21.05 MB │ \textcolor{customgreen}{1.8%} \texttt{message} (SF 30) │ \ldbclocationip │ 195.14 MB │ Hierarchical │ \ldbclocationcountryid │ 161.76 MB │ \textcolor{customgreen}{17.1%} Taxi │ \texttt{total\_amount} │ 66.32 MB │ Non-hierarchical │ multiple (see \S\ref{subsec:group}) │ 9.84 MB │ \textcolor{customgreen}{85.16%} |
| 2024 | Quokka with write-ahead lineage proposed non-standard slice | geometric-mean speedup | 2.1x | Query Processing · storage=AWS S3 · workers=4 · input-format=Parquet · scale-factor=100 | Efficient Fault Tolerance for Pipelined Query Engines via Write-ahead LineageSource quoteL280: \subsection{Quokka vs. Trino vs. SparkSQL} In Figure \ref{fig:systems}, we compare Quokka's performance to Trino with spooling-based fault tolerance and SparkSQL on the full TPC-H benchmark. We see that for most queries across both cluster configurations, Quokka is the most performant among all three query engines. Compared to Trino, Quokka achieves 25% geometric mean speedup on the 4-worker cluster and 70% on the 16-worker cluster. Compared to SparkSQL, Quokka achieves 2.1x geometric mean speedup on the 4-worker cluster and 1.9x on the 16-worker cluster. |
| 2024 | Quokka with write-ahead lineage proposed non-standard slice | geometric-mean speedup | 1.9x | Query Processing · storage=AWS S3 · workers=16 · input-format=Parquet · scale-factor=100 | Efficient Fault Tolerance for Pipelined Query Engines via Write-ahead LineageSource quoteL280: \subsection{Quokka vs. Trino vs. SparkSQL} In Figure \ref{fig:systems}, we compare Quokka's performance to Trino with spooling-based fault tolerance and SparkSQL on the full TPC-H benchmark. We see that for most queries across both cluster configurations, Quokka is the most performant among all three query engines. Compared to Trino, Quokka achieves 25% geometric mean speedup on the 4-worker cluster and 70% on the 16-worker cluster. Compared to SparkSQL, Quokka achieves 2.1x geometric mean speedup on the 4-worker cluster and 1.9x on the 16-worker cluster. |
| 2024 | TCAM-SSD proposed non-standard slice | average scan speedup across analytical queries | 17.7× | Database Analytics · queries=Query 1 and Query 2 · scale-factor=100 · scan-table-size=74 GB | TCAM-SSD: A Framework for Search-Based Computing in Solid-State DrivesSource quoteL22: For database analytics, TCAM-SSD \tSG{provides} an average speedup of \urevRW{17.7}× over a conventional system for a collection of analytical queries. |
| 2024 | TCAM-SSD proposed non-standard slice | scan speedup | 18.3× | Database Analytics · query=Query 1 · scale-factor=100 · scan-table-size=74 GB | TCAM-SSD: A Framework for Search-Based Computing in Solid-State DrivesSource quoteL755: For the database that we generate, TCAM-SSD \tRW{on average} speeds up the scan operation for Query~1 by \urevRW{18.3}×, and Query~2 by \urevRW{17.1}×, |
| 2024 | TCAM-SSD proposed non-standard slice | scan speedup | 17.1× | Database Analytics · query=Query 2 · optimization=fused-key · scale-factor=100 · scan-table-size=74 GB | TCAM-SSD: A Framework for Search-Based Computing in Solid-State DrivesSource quoteL755: For the database that we generate, TCAM-SSD \tRW{on average} speeds up the scan operation for Query~1 by \urevRW{18.3}×, and Query~2 by \urevRW{17.1}×, |
| 2024 | GriDB proposed | server time | 41.14s | Query Processing · query=#19 · shard-placement=worst-case-cross-shard | GriDB: Scaling Blockchain Database via Sharding and Off-Chain Cross-Shard MechanismSource quoteL555: \#19 │ 4892s │ 162ms │ 196000s │ 6ms │ 41.14s │ 221ms │ 2.38s |
| 2024 | E2ETune proposed | tuning time | 19.8 minutes | Database Knob Tuning · evaluation=in-schema · iterations=up to 100 | E2ETune: End-to-End Knob Tuning via Fine-tuned Generative Language ModelSource quoteL287: E2ETune emerges as the fastest knob tuning method while delivering competitive database performance improvements. It achieves the shortest tuning time across all ten benchmarks, showcasing the advantages of end-to-end modeling. For instance, in the TPC-H benchmark, HEBO takes 1,381.7 minutes; even with workload mapping, it still requires 328.7 minutes. In contrast, E2ETune completes the task in just 19.8 minutes, achieving up to a 98.6% reduction in time \(\left(\frac{1,381.7 - 19.8}{1,381.7} = 98.6%\right)\). Regarding performance, E2ETune identifies the best configurations in four benchmarks (JOB, SSB-flat, Twitter, Smallbank) and the second-best in five benchmarks (TPC-H, SSB, TPC-DS, TPC-C, Wikipedia). |
| 2024 | CONCERTO w/o ResAttn ablation non-standard slice | mean Q-Error | 2.09 | Query Cost Estimation · split: test · engine=ClickHouse · subset=held-out templates 3, 7, 11, and 6 · input_mode=probe execution · scale_factor=1 · removed_component=resource attention | CONCERTO: Complex Query Execution Mechanism-Aware Learned Cost EstimationSource quoteL349: CONCERTO w/o ResAttn │ 2.09 │ 1.97 │ 3.05 │ 3.25 │ 4.29 │ 6.52 │ 2.48 │ 1.90 │ 4.95 │ 5.62 │ 6.68 │ 7.72 |
| 2024 | QueryFormer baseline non-standard slice | mean Q-Error | 1.60 | Query Cost Estimation · split: test · engine=ClickHouse · subset=held-out templates 3, 7, 11, and 6 · input_mode=probe execution · scale_factor=1 | CONCERTO: Complex Query Execution Mechanism-Aware Learned Cost EstimationSource quoteL345: QueryFormer │ 1.60 │ 1.51 │ 2.08 │ 2.17 │ 2.37 │ 69.58 │ 2.59 │ 2.02 │ 4.88 │ 6.75 │ 8.61 │ 12.14 |
| 2024 | LR (Learned Rewrite) baseline | Mean execution time | 39.40 s | Query Optimization · scale=approximately 10 GB | LLM-R2: A Large Language Model Enhanced Rule-based Rewrite System for Boosting Query EfficiencySource quoteL282: LR │ 39.40 │ 22.00 │ 32.21 │ 159.95 │ 6.20 │ 1.62 │ 4.74 │ 32.45 │ 59.21 │ 5.14 │ 53.78 │ 300.00 |
| 2024 | Best single-column encoding scheme baseline | Size w/o diff-enc | 89.99 MB | Data Compression · column=receiptdate · encoding=best single-column · scale-factor=10 | Corra: Correlation-Aware Column CompressionSource quoteL120: \texttt{lineitem} (SF 10) │ \lreceiptdate │ 89.99 MB │ Non-hierarchical │ \lshipdate │ 37.49 MB │ \textcolor{customgreen}{58.3%} \texttt{lineitem} (SF 10) │ \lcommitdate │ 89.99 MB │ Non-hierarchical │ \lshipdate │ 59.99 MB │ \textcolor{customgreen}{33.3%} Taxi │ \taxidropoff │ 136.64 MB │ Non-hierarchical │ \taxipickup │ 94.7 MB │ \textcolor{customgreen}{30.6%} DMV │ \dmvzipcode │ 25.88 MB │ Hierarchical │ \dmvcity │ 11.96 MB │ \textcolor{customgreen}{53.7%} DMV │ \dmvcity │ 21.45 MB │ Hierarchical │ \dmvstate │ 21.05 MB │ \textcolor{customgreen}{1.8%} \texttt{message} (SF 30) │ \ldbclocationip │ 195.14 MB │ Hierarchical │ \ldbclocationcountryid │ 161.76 MB │ \textcolor{customgreen}{17.1%} Taxi │ \texttt{total\_amount} │ 66.32 MB │ Non-hierarchical │ multiple (see \S\ref{subsec:group}) │ 9.84 MB │ \textcolor{customgreen}{85.16%} |
| 2024 | vSQL baseline | server time | 4892s | Query Processing · query=#19 · shard-placement=worst-case-cross-shard | GriDB: Scaling Blockchain Database via Sharding and Off-Chain Cross-Shard MechanismSource quoteL555: \#19 │ 4892s │ 162ms │ 196000s │ 6ms │ 41.14s │ 221ms │ 2.38s |
| 2024 | SNARKs baseline | server time | 196000s | Query Processing · query=#19 · shard-placement=worst-case-cross-shard | GriDB: Scaling Blockchain Database via Sharding and Off-Chain Cross-Shard MechanismSource quoteL555: \#19 │ 4892s │ 162ms │ 196000s │ 6ms │ 41.14s │ 221ms │ 2.38s |
| 2024 | HEBO baseline | tuning time | 1,381.7 minutes | Database Knob Tuning · evaluation=in-schema · iterations=up to 100 | E2ETune: End-to-End Knob Tuning via Fine-tuned Generative Language ModelSource quoteL287: E2ETune emerges as the fastest knob tuning method while delivering competitive database performance improvements. It achieves the shortest tuning time across all ten benchmarks, showcasing the advantages of end-to-end modeling. For instance, in the TPC-H benchmark, HEBO takes 1,381.7 minutes; even with workload mapping, it still requires 328.7 minutes. In contrast, E2ETune completes the task in just 19.8 minutes, achieving up to a 98.6% reduction in time \(\left(\frac{1,381.7 - 19.8}{1,381.7} = 98.6%\right)\). Regarding performance, E2ETune identifies the best configurations in four benchmarks (JOB, SSB-flat, Twitter, Smallbank) and the second-best in five benchmarks (TPC-H, SSB, TPC-DS, TPC-C, Wikipedia). |
| 2023 | ALECE proposed | E2E Time | 3,230 s | Query Optimization · split: test · dynamic=highly skewed inserts; data-changing rate >20% · workload=dist-shift | ALECE: An Attention-based Learned Cardinality Estimator for SPJ Queries on Dynamic WorkloadsSource quoteL805: ALECE\xspace │ \boldsymbol{3,230} │ \boldsymbol{1.18} │ \boldsymbol{2.66} │ \boldsymbol{4.46} │ \boldsymbol{11.23} │ \boldsymbol{1.07} │ \boldsymbol{1.23} │ {1.29} │ \boldsymbol{1.57} |
| 2023 | Diba proposed | processing time | 300 milliseconds ms | Query Processing · w=2^10 · ht=2^11 · clock=100 MHz · query=third · data-size=1 GB | Diba: A Re-configurable Stream ProcessorSource quoteL1261: one, two, four, six, eight, or 10 GB were processed in 300 |
| 2023 | Diba proposed | processing time | 3520 milliseconds ms | Query Processing · w=2^10 · ht=2^11 · clock=100 MHz · query=third · data-size=10 GB | Diba: A Re-configurable Stream ProcessorSource quoteL1263: 3520 milliseconds, respectively. |
| 2023 | QCFE(mscn) proposed | training time | 41.399 | Query Cost Estimation · split: test · dataset-scale=10000 · train-test-split=80/20 · training-iterations=400 | QCFE: An Efficient Feature Engineering for Query Cost EstimationSource quoteL366: 0.986 │ 1.094 │ 8.547 │ 0.986 │ 1.109 │ 25.635 │ 0.998 │ 1.106 │ 27.984 │ 0.997 │ 1.086 │ 31.368 │ 0.997 │ 1.11 │ 41.399 |
| 2023 | Lero proposed | Execution Time | 0.74 hour | Query Optimization · split: test · database=PostgreSQL 13.1 · scale-factor=10 · test-queries=30 · training-queries=270 | Lero: A Learning-to-Rank Query OptimizerSource quoteL783: {\textsf{Lero}\xspace} │ {\bf 11.32} │ {\bf 0.35} │ {\bf 0.74} │ {\bf 1.47} |
| 2023 | ROSL with the proposed estimation technique proposed | COUNT estimation accuracy | 90\% | Cardinality Estimation · query=Q10 · zipf-z=0 · output-samples=3000 | Multi-Agent JoinSource quoteL770: For z=0, the estimator requires a larger but still modest sample size of 3000 (about 0.004% of the actual result) to deliver 90% accuracy. |
| 2023 | UniTune proposed | query execution time | 27.32 s | Query Optimization · query=Q19 · storage-budget=1500 MB · configuration-space=81 index, 63 knob, and 4 rewrite configurations | A Unified and Efficient Coordinating Framework for Autonomous DBMS TuningSource quoteL950: Execution Time (Sec) │ 581.41 │ 27.11 │ 27.32 │ 27.32 │ 27.32 │ 29.87 │ 29.76 |
| 2023 | Chorus | Per Query Perf | 119.04 ms | Query Processing | DProvDB: Differentially Private Query Processing with Multi-Analyst ProvenanceSource quoteL996: Chorus │ N/A │ 7380.47 ms │ 62.0 │ 119.04 ms |
| 2023 | PG (PostgreSQL built-in cardinality estimator) baseline | E2E Time | 3,377 s | Query Optimization · split: test · dynamic=highly skewed inserts; data-changing rate >20% · workload=dist-shift | ALECE: An Attention-based Learned Cardinality Estimator for SPJ Queries on Dynamic WorkloadsSource quoteL800: PG │ 3,377 │ 1.23 │ 3.94 │ 5.85 │ 10.28 │ 1.10 │ 1.39 │ 1.64 │ 3.06 |
| 2023 | MSCN baseline | mean q-error | 1.134 | Query Cost Estimation · split: test · dataset-scale=10000 · train-test-split=80/20 · training-iterations=400 | QCFE: An Efficient Feature Engineering for Query Cost EstimationSource quoteL370: 0.983 │ 1.105 │ 9.608 │ 0.979 │ 1.13 │ 27.995 │ 0.988 │ 1.126 │ 40.615 │ 0.988 │ 1.105 │ 33.314 │ 0.987 │ 1.134 │ 43.437 |
| 2023 | MSCN baseline | training time | 43.437 | Query Cost Estimation · split: test · dataset-scale=10000 · train-test-split=80/20 · training-iterations=400 | QCFE: An Efficient Feature Engineering for Query Cost EstimationSource quoteL370: 0.983 │ 1.105 │ 9.608 │ 0.979 │ 1.13 │ 27.995 │ 0.988 │ 1.126 │ 40.615 │ 0.988 │ 1.105 │ 33.314 │ 0.987 │ 1.134 │ 43.437 |
| 2023 | Bao baseline | Execution Time | 1.17 hour | Query Optimization · split: test · database=PostgreSQL 13.1 · scale-factor=10 · test-queries=30 · training-queries=270 | Lero: A Learning-to-Rank Query OptimizerSource quoteL781: {Bao} │ {15.32} │ {0.47} │ {1.17} │ {1.55} |
| 2023 | Chorus baseline | No. of Queries | 62.0 queries | Query Processing | DProvDB: Differentially Private Query Processing with Multi-Analyst ProvenanceSource quoteL996: Chorus │ N/A │ 7380.47 ms │ 62.0 │ 119.04 ms |
| 2022 | Stream (Proposed) proposed | memory | 9.8 GB | Weighted Random Sampling · query=WQX · samples=1,000,000 · scale-factor=100 | Weighted Random Sampling over JoinsSource quoteL593: WQX-\ SF=100 memory │ \color{red} 95.0 GB │ 9.8 GB │ 7.2 GB |
| 2022 | Economic (Proposed) proposed | memory | 7.2 GB | Weighted Random Sampling · query=WQX · samples=1,000,000 · scale-factor=100 | Weighted Random Sampling over JoinsSource quoteL593: WQX-\ SF=100 memory │ \color{red} 95.0 GB │ 9.8 GB │ 7.2 GB |
| 2022 | Perm-16 (permutation-based sampling) | Error rate (aggregate absolute Shapley error divided by total Shapley value) | 63% | Query Processing | On Shapley Value in Data Assemblage Under Independent UtilitySource quoteL651: \textsf{UO-UA} │ 29% │ 22% │ 63% │ 37% |
| 2022 | Index baseline (weighted generalization of Zhao et al.) baseline | memory | 95.0 GB | Weighted Random Sampling · query=WQX · samples=1,000,000 · scale-factor=100 | Weighted Random Sampling over JoinsSource quoteL593: WQX-\ SF=100 memory │ \color{red} 95.0 GB │ 9.8 GB │ 7.2 GB |
| 2021 | InFine upstageFDs proposed | Average runtime | 7.65ms | Functional Dependency Discovery | Provenance-aware Discovery of Functional Dependencies on Integrated ViewsSource quoteL813: Noticeably, \texttt{upstageFDs} can retrieve from 33.3% to 59% of the FDs in MIMIC3 in 0.75ms on average, from 58.3% to 75% in PTC in 1.12ms, from 66.7% to 100% in PTE in 1.5ms, and from 42.8.7% to 87.5% in TPC-H in 7.65ms, which are negligible times compared to \texttt{mineFDs} time and I/O time, the most time-consuming steps. Table III gives the number of FDs retrieved by each algorithm and time breakdowns. |
| 2021 | Secure Join proposed | joins runtime (server-side SJ.Dec and SJ.Match) | 3.52 s | Secure Join · threading=single-threaded · selectivity=1/100 · scale_factor=0.01 · in_clause_size=1 | Equi-Joins over Encrypted Data for Series of QueriesSource quoteL588: As expected, the runtime of performing the joins operation increases linearly with the database size. This increase however, is more noticeable for higher values of Selectivity. When the Selectivity value, shown by s in Figure \ref{fig:ScaleFac} is \frac{1}{100}, the server takes 3.52 s to run joins over tables Orders and Customers with scale factor 0.01 and 35.34 s to do the same for the tables with scale factor 0.1. However, when s=\frac{1}{12.5}, the server takes 27.88 s to run joins over Orders and Customers with scale factor 0.01 and 282.49 s to do so for the tables with scale factor 0.1. |
| 2021 | Secure Join proposed | joins runtime (server-side SJ.Dec and SJ.Match) | 35.34 s | Secure Join · threading=single-threaded · selectivity=1/100 · scale_factor=0.1 · in_clause_size=1 | Equi-Joins over Encrypted Data for Series of QueriesSource quoteL588: As expected, the runtime of performing the joins operation increases linearly with the database size. This increase however, is more noticeable for higher values of Selectivity. When the Selectivity value, shown by s in Figure \ref{fig:ScaleFac} is \frac{1}{100}, the server takes 3.52 s to run joins over tables Orders and Customers with scale factor 0.01 and 35.34 s to do the same for the tables with scale factor 0.1. However, when s=\frac{1}{12.5}, the server takes 27.88 s to run joins over Orders and Customers with scale factor 0.01 and 282.49 s to do so for the tables with scale factor 0.1. |
| 2021 | Secure Join proposed | joins runtime (server-side SJ.Dec and SJ.Match) | 282.49 s | Secure Join · threading=single-threaded · selectivity=1/12.5 · scale_factor=0.1 · in_clause_size=1 | Equi-Joins over Encrypted Data for Series of QueriesSource quoteL588: As expected, the runtime of performing the joins operation increases linearly with the database size. This increase however, is more noticeable for higher values of Selectivity. When the Selectivity value, shown by s in Figure \ref{fig:ScaleFac} is \frac{1}{100}, the server takes 3.52 s to run joins over tables Orders and Customers with scale factor 0.01 and 35.34 s to do the same for the tables with scale factor 0.1. However, when s=\frac{1}{12.5}, the server takes 27.88 s to run joins over Orders and Customers with scale factor 0.01 and 282.49 s to do so for the tables with scale factor 0.1. |
| 2021 | Secure Join proposed | joins runtime (server-side SJ.Dec and SJ.Match) | 3.50 s | Secure Join · threading=single-threaded · selectivity=1/100 · scale_factor=0.01 · in_clause_size=1 | Equi-Joins over Encrypted Data for Series of QueriesSource quoteL595: As depicted in the plots in Figure \ref{fig:IN_Size}, increasing t, results in a longer runtime for Joins. This increase, however taking place in all Selectivity experiments, is more noticeable the value of s is larger. It takes the server 3.50 s to run the joins operation over the tables Orders and Customers for t=1 and 8.75 s to do the same for t=10, when s=\frac{1}{100}. The corresponding running time for s=\frac{1}{12.5} are 27.86 s and 69.62 s. |
| 2021 | Secure Join proposed | joins runtime (server-side SJ.Dec and SJ.Match) | 8.75 s | Secure Join · threading=single-threaded · selectivity=1/100 · scale_factor=0.01 · in_clause_size=10 | Equi-Joins over Encrypted Data for Series of QueriesSource quoteL595: As depicted in the plots in Figure \ref{fig:IN_Size}, increasing t, results in a longer runtime for Joins. This increase, however taking place in all Selectivity experiments, is more noticeable the value of s is larger. It takes the server 3.50 s to run the joins operation over the tables Orders and Customers for t=1 and 8.75 s to do the same for t=10, when s=\frac{1}{100}. The corresponding running time for s=\frac{1}{12.5} are 27.86 s and 69.62 s. |
| 2021 | PPO-BiHyb proposed | inference time | 48.7 s | Dag Scheduling · split: test · problem-size=50 | A Bi-Level Framework for Learning to Solve Combinatorial Optimization on GraphsSource quoteL561: PPO-BiHyb (ours) │ 48.7 │ 110.1 │ 407.9 │ 224.6 │ 513.2 │ 1297.9 │ 272.2 |
| 2021 | PBDS (OR/disjunctive condition; 400-fragment sketch) proposed | runtime | 0.1 seconds | Query Processing · query=Q2 · condition=OR · scale-factor=SF1 · sketch-fragments=400 | Provenance-based Data Skipping (TechReport)Source quoteL1755: \Cref{fig:use-tpch-post-1gb-or} shows the runtime of queries with selective provenance sketches over a SF1 instance when translating the sketch into a disjunctive condition (OR). We only show queries whose runtime is improved compared to using binary search. The most significant improvements are for Q15 which did not benefit from PBDS\xspace for binary search and Q2 whose runtime is reduced to 0.1 seconds for \pss{400} and 0.066 seconds for \pss{10000}.} |
| 2021 | PBDS (OR/disjunctive condition; 10,000-fragment sketch) proposed | runtime | 0.075 seconds | Query Processing · query=Q10 · condition=OR · scale-factor=SF1 · sketch-fragments=10000 | Provenance-based Data Skipping (TechReport)Source quoteL1757: \BG{For the same query Q2, \pss{400} costs 0.1 seconds and PS\xspace 10000 costs 0.066 seconds since using index is quicker than the query's selection conditions. Similarly the performance of Q3, Q10, Q18 and Q19 was improved again and also Q15 even thought it can not be sped up when using binary search. However, Q10 on \pss{10000} costs 0.075 seconds higher than the cost 0.054 seconds using binary search since large number of \lstinline!OR! clauses would be expensive. |
| 2021 | PBDS (binary search; 10,000-fragment sketch) proposed | runtime | 0.054 seconds | Query Processing · split: test · query=Q10 · scale-factor=SF1 · membership-test=binary-search · sketch-fragments=10000 | Provenance-based Data Skipping (TechReport)Source quoteL1757: \BG{For the same query Q2, \pss{400} costs 0.1 seconds and PS\xspace 10000 costs 0.066 seconds since using index is quicker than the query's selection conditions. Similarly the performance of Q3, Q10, Q18 and Q19 was improved again and also Q15 even thought it can not be sped up when using binary search. However, Q10 on \pss{10000} costs 0.075 seconds higher than the cost 0.054 seconds using binary search since large number of \lstinline!OR! clauses would be expensive. |
| 2021 | Shufflecast proposed non-standard slice | Total multicast reading-time speedup | 2.7× | Multicast Communication · queries=1–22 · framework=Spark SQL | Shufflecast: An Optical, Data-rate Agnostic and Low-Power Multicast Architecture for Next-Generation Compute ClustersSource quoteL593: b) Spark distributed database: TPC-H is a widely used database benchmark of 22 business-oriented queries with high complexity and concurrent data modifications~\cite{TPCH}. We run these queries using the Spark SQL framework~\cite{chiba2016workload}. The database tables are 16~GB in size overall, and the multicast data is one of such tables with size ranging from 4~MB to 6.2~GB for the distributed database join, making a total of 48.3~GB of multicast data across queries. We compare the performance of TPC-H with and without Shufflecast keeping the same server configuration as Spark ML. Figure~\ref{fig:app_all}(b) shows the multicast reading time distribution of different multicast mechanisms across all TPC-H queries (queries 1 to 22). Shufflecast improves the distribution and gets speedup of 2.7× and 3.5× in total multicast reading time compared to Cornet and HTTP respectively. Figure~\ref{fig:app_all}(c) shows the application running time of each TPC-H query averaged over 10 runs. For certain queries (e.g., 1, 4, 6, 14, 15, 22), the amount of multicast data is either very small (under 200~MB) or non-existent, showing no visible difference between Shufflecast, Cornet, and HTTP. However, for other queries (e.g., 9, 17, 18), multicast data is large (5~GB). The improvement of total query running time is 13.7% compared to Cornet and 17% compared to HTTP (Figure~\ref{fig:app_all}(c)). |
| 2021 | PPO-Single baseline | inference time | 415.4 s | Dag Scheduling · split: test · problem-size=50 | A Bi-Level Framework for Learning to Solve Combinatorial Optimization on GraphsSource quoteL560: PPO-Single~\cite{MaoSIGCOMM19,LiuArxiv20,DaiNIPS17} │ 415.4 │ 2761.6 │ 6852.3 │ 288.4 │ 982.0 │ 1350.4 │ 3322.4 |
| 2020 | ML-AQP proposed non-standard slice | Queries with relative error below 10% | 100% | Approximate Query Processing · error-threshold=10% | ML-AQP: Query-Driven Approximate Query Processing based on Machine LearningSource quoteL591: An initial set of results is shown at Figure \ref{fig:rel-error-each}. A first impression is that both systems perform really well over a large range of queries. Please note that the results show the average relative error over each query template. Where for each query template multiple, >50, queries were executed with random predicate values as described in (\ref{sec:experimental-setup}). ML-AQP is able to accurately answer 80% of queries for \texttt{Instacart} and 100% of the selected \texttt{TPC-H} queries with relative error below 10%. We can also visually discern that ML-AQP outperforms VerdictDB for many queries. VerdictDB at 1% was not able to answer accurately queries that have a large number of groups, such as 14-ic and in some cases the groups returned by VerdictDB did not match the ones returned by the engine (3-tpch, 5-tpch)\footnote{We were not able to run query 4-tpch as an uknown error was thrown at runtime.}. For ML-AQP, queries 1-ic and 5-ic produce large relative errors. This is understandable as these queries include no predicates and are simply the results over a full scan of the table (ie are simple \texttt{SELECT AF FROM T}). The results of such queries can easily be cached. ML-AQP is not expected to answer such queries as the meta-vector m is filled with \texttt{nan} values, to which the model simply ignores as there are no patterns to be learned. |
| 2019 | BoPF proposed | Factor of improvement in average LQ completion time | 5.12 | Cluster Scheduling · workload=1 LQ and 8 TQs · comparator=DRF · cluster-size=40 nodes | BoPF: Mitigating the Burstiness-Fairness Tradeoff in Multi-Resource ClustersSource quoteL583: TPC-H │ 1.10 │ 1.37 │ 2.01 │ 5.12 |
| 2019 | Castor (Expert) proposed | Time | 4.73 ms | Query Processing · query=Q3 · variant=expert · scale-factor=1GB | Deductive Optimization of Relational Data Storage.Source quoteL1453: 3 \tnote{0} \tnote{1} │ 17.00 │ 22.30 │ 877.1 │ 966.8 │ 4.73 │ 18.3 │ 81.0 │ 4.98 │ 18.4 │ 81.0 |
| 2019 | Castor (Expert) proposed | Mem. (peak resident set size during a query) | 18.3 MB | Query Processing · query=Q3 · variant=expert · scale-factor=1GB | Deductive Optimization of Relational Data Storage.Source quoteL1453: 3 \tnote{0} \tnote{1} │ 17.00 │ 22.30 │ 877.1 │ 966.8 │ 4.73 │ 18.3 │ 81.0 │ 4.98 │ 18.4 │ 81.0 |
| 2019 | Castor (Expert) proposed | Size (layout size) | 81.0 MB | Query Processing · query=Q3 · variant=expert · scale-factor=1GB | Deductive Optimization of Relational Data Storage.Source quoteL1453: 3 \tnote{0} \tnote{1} │ 17.00 │ 22.30 │ 877.1 │ 966.8 │ 4.73 │ 18.3 │ 81.0 │ 4.98 │ 18.4 │ 81.0 |
| 2019 | O1 (Algorithm 1 without materialization; lazy) proposed | PLineItem provenance retrieval time | 0.30 ms | Query Provenance · query=Q18 · variant=lazy; no materialization · data-size=1GB | Exploring Query ResultsSource quoteL839: PLineItem │ 0.30 │ 1532.74 |
| 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 | O2 (hybrid approach; inner-block LineItem key materialized) proposed | PLineItem2 provenance retrieval time | 0.43 ms | Query Provenance · query=Q18 · variant=hybrid; inner-block LineItem key materialized · data-size=1GB · target-table=PLineItem2 | Exploring Query ResultsSource quoteL864: PLineItem2 │ 1641.52 │ 1535.22 │ 6.16 │ 0.43 |
| 2019 | Flood proposed | Total query time (TT) | 12.0 ms | Range Query · split: test · table=lineitem · selectivity=0.1% · scale-factor=50 | Learning Multi-Dimensional IndexesSource quoteL400: Flood │ 1.82 │ 1.26 │ 0.108 │ 0.0182 │ 0.128 │ 5.90 │ 5.53 │ 9.96 │ 2.02 │ 12.0 │ 3.13 │ 2.39 │ 0.717 │ 0.328 │ 1.05 │ 4.26 │ 2.77 │ 2.84 │ 0.327 │ 3.17 |
| 2019 | QPP Net (plan-based neural network) proposed non-standard slice | Percentage of test set with estimate within a factor of 1.5 of correct latency | 93% | Query Performance Prediction · split: test · cache=cold-cache · scale=100GB · execution=in isolation · test_subset=random 10% of queries | Plan-Structured Deep Neural Network Models for Query Performance PredictionSource quoteL339: Model │ R \leq 1.5 │ 1.5 < R < 2.0 │ 2.0 \geq R QPP Net │ 93% │ 6% │ 1% |
| 2019 | Hyper (specialized) baseline | Time | 22.30 ms | Query Processing · query=Q3 · variant=specialized · scale-factor=1GB | Deductive Optimization of Relational Data Storage.Source quoteL1453: 3 \tnote{0} \tnote{1} │ 17.00 │ 22.30 │ 877.1 │ 966.8 │ 4.73 │ 18.3 │ 81.0 │ 4.98 │ 18.4 │ 81.0 |
| 2019 | Hyper baseline | Mem. (peak resident set size during a query) | 877.1 MB | Query Processing · query=Q3 · scale-factor=1GB | Deductive Optimization of Relational Data Storage.Source quoteL1453: 3 \tnote{0} \tnote{1} │ 17.00 │ 22.30 │ 877.1 │ 966.8 │ 4.73 │ 18.3 │ 81.0 │ 4.98 │ 18.4 │ 81.0 |
| 2019 | Hyper baseline | Size (layout size) | 966.8 MB | Query Processing · query=Q3 · scale-factor=1GB | Deductive Optimization of Relational Data Storage.Source quoteL1453: 3 \tnote{0} \tnote{1} │ 17.00 │ 22.30 │ 877.1 │ 966.8 │ 4.73 │ 18.3 │ 81.0 │ 4.98 │ 18.4 │ 81.0 |
| 2019 | W (TODS:CWW:00; lazy, no additional materialization) baseline | PLineItem provenance retrieval time | 1532.74 ms | Query Provenance · query=Q18 · variant=lazy; no additional materialization · data-size=1GB · reference=TODS:CWW:00 | Exploring Query ResultsSource quoteL839: PLineItem │ 0.30 │ 1532.74 |
| 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 |
| 2019 | G (eager approach; provenance representation materialized) baseline | PLineItem2 provenance retrieval time | 6.16 ms | Query Provenance · query=Q18 · variant=eager; provenance representation materialized · data-size=1GB · target-table=PLineItem2 | Exploring Query ResultsSource quoteL864: PLineItem2 │ 1641.52 │ 1535.22 │ 6.16 │ 0.43 |
| 2019 | Clustered baseline | Total query time (TT) | 662 ms | Range Query · split: test · table=lineitem · selectivity=0.1% · scale-factor=50 | Learning Multi-Dimensional IndexesSource quoteL394: Clustered │ 3.18 │ 3.09 │ 0.462 │ 6.76e-4 │ 0.463 │ 447 │ 4.71 │ 655 │ 7.15e-4 │ 662 │ 478 │ 4.50 │ 207 │ 8.92e-4 │ 208 │ 186 │ 3.32 │ 144 │ 1.20e-3 │ 144 |
| 2019 | RBF (Resource-Based Features) baseline non-standard slice | Percentage of test set with estimate within a factor of 1.5 of correct latency | 88% | Query Performance Prediction · split: test · cache=cold-cache · scale=100GB · execution=in isolation · test_subset=random 10% of queries | Plan-Structured Deep Neural Network Models for Query Performance PredictionSource quoteL342: RBF │ 88% │ 6% │ 6% |
| 2018 | Afterburner (Full) proposed | total latency across all 22 queries | 6.4s | Database Query Processing · cache=warm · data_loading=in-memory · scale_factor=1 GB · compilation_overhead=included | In-Browser Split-Execution Support for Interactive Analytics in the CloudSource quoteL1214: (Single-threaded) completed all 22 queries in 4.8s, compared to 6.4s |
| 2018 | Deployment B proposed | view-query latency | 13 ms | Database Query Processing · cache=warm · deployment=B; MonetDB · scale_factor=100 GB · query_variant=Q6a; frees l_shipdate | In-Browser Split-Execution Support for Interactive Analytics in the CloudSource quoteL1278: Q6a │ l\_shipdate (2526) │ 4,362 │ 9,815 │ 2,526 │ 247 │ 13 │ 12 │ 7 │ 3 |
| 2018 | Deployment C proposed | view-query latency | 12 ms | Database Query Processing · cache=warm · deployment=C; MonetDB local · scale_factor=100 GB · query_variant=Q6a; frees l_shipdate | In-Browser Split-Execution Support for Interactive Analytics in the CloudSource quoteL1278: Q6a │ l\_shipdate (2526) │ 4,362 │ 9,815 │ 2,526 │ 247 │ 13 │ 12 │ 7 │ 3 |
| 2018 | Deployment D (Afterburner) proposed | view-query latency | 7 ms | Database Query Processing · cache=warm · deployment=D; Afterburner in browser · scale_factor=100 GB · query_variant=Q6a; frees l_shipdate | In-Browser Split-Execution Support for Interactive Analytics in the CloudSource quoteL1278: Q6a │ l\_shipdate (2526) │ 4,362 │ 9,815 │ 2,526 │ 247 │ 13 │ 12 │ 7 │ 3 |
| 2018 | Deployment D (Afterburner) proposed | breakeven query count (D vs. A) | 3 queries | Database Query Processing · deployment=D; Afterburner in browser · scale_factor=100 GB · query_variant=Q6a; frees l_shipdate · breakeven_comparison=D vs. A | In-Browser Split-Execution Support for Interactive Analytics in the CloudSource quoteL1278: Q6a │ l\_shipdate (2526) │ 4,362 │ 9,815 │ 2,526 │ 247 │ 13 │ 12 │ 7 │ 3 |
| 2018 | HR (heterogeneous replica) proposed | Time cost on loading data | 2257 s | Data Loading · rows=120 million · replicas=3 | Heterogeneous Replica for Query on CassandraSource quoteL280: 120 │ 2259 │ 2257 |
| 2018 | HR-engine (heterogeneous replica) proposed non-standard slice | Data recovery time | 6 minutes | Data Recovery · rows=18 million | Heterogeneous Replica for Query on CassandraSource quoteL287: We measure the speed of data recovery when a node falls down. We remove the data on the node and call {\it nodetool repair} to launch the origin data recovery in Cassandra. We import 18 million rows of TPC-H data set, traditional data recovery takes approximately 4 minutes to recover data, our HR-engine takes 6 minutes to recover. Considering that the node failure occurs infrequently, compared to the tremendous reduction of query latency, take a little longer to recover data is acceptable. |
| 2018 | MonetDB with reproducible double (L=4), with buffer proposed non-standard slice | total CPU time relative to built-in-double total CPU time | 102.7% | Floating Point Aggregation · query=Query 1 · buffer=with · database=MonetDB v11.25.23 · reproducible-double-L=4 | Reproducible Floating-Point Aggregation in RDBMSsSource quoteL1695: Total │ 100.0 │ 114.4 │ 102.7 │ 727.2 |
| 2018 | proposed CFD discovery method proposed | time of cleaning data with our CFDs (CC) | 123min minutes | Data Cleaning · b=9 · e=0.9 · m=4000 · n=11 · b'=4 | Mining CFD Rules on Big DataSource quoteL808: CC │ 102min │ 115min │ 123min │ 132min │ 139min |
| 2018 | MonetDB with reproducible double (L=4), without buffer ablation non-standard slice | total CPU time relative to built-in-double total CPU time | 114.4% | Floating Point Aggregation · query=Query 1 · buffer=without · database=MonetDB v11.25.23 · reproducible-double-L=4 | Reproducible Floating-Point Aggregation in RDBMSsSource quoteL1695: Total │ 100.0 │ 114.4 │ 102.7 │ 727.2 |
| 2018 | MonetDB (Single-threaded) baseline | total latency across all 22 queries | 4.8s | Database Query Processing · cache=warm · threads=single-threaded · scale_factor=1 GB | In-Browser Split-Execution Support for Interactive Analytics in the CloudSource quoteL1214: (Single-threaded) completed all 22 queries in 4.8s, compared to 6.4s |
| 2018 | TR (traditional replica mechanism) baseline | Time cost on loading data | 2259 s | Data Loading · rows=120 million · replicas=3 | Heterogeneous Replica for Query on CassandraSource quoteL280: 120 │ 2259 │ 2257 |
| 2018 | MonetDB built-in double (baseline) baseline non-standard slice | total CPU time relative to built-in-double total CPU time | 100.0% | Floating Point Aggregation · query=Query 1 · database=MonetDB v11.25.23 · workload=modified TPC-H with DOUBLE columns | Reproducible Floating-Point Aggregation in RDBMSsSource quoteL1695: Total │ 100.0 │ 114.4 │ 102.7 │ 727.2 |
| 2017 | Weld Spark SQL integration proposed non-standard slice | speedup | 6.5× | Query Processing · query=Q6 · workers=20 · data-source=Spark SQL in-memory cache · worker-type=Amazon EC2 r3.xlarge · scale-factor=800 | Weld: Rethinking the Interface Between Data-Intensive ApplicationsSource quoteL861: 6.5× for Q6. Weld\xspace's performance improvement comes largely from its ability to generate |
| 2017 | ISLA proposed | Run time for 20 runs | 31979ms | Data Aggregation · runs=20 · scale=100 GB · table=LINEITEM · records=600 million · aggregation=AVG | An Iterative Scheme for Leverage-Based Approximate AggregationSource quoteL1014: The time required to run \textsf{ISLA}, \textsf{MV}, \textsf{MVB}, \textsf{US}, and \textsf{STS} for 20 times are 31979ms, 61718ms, 70584ms, 25989ms, and |
| 2017 | US baseline | Run time for 20 runs | 25989ms | Data Aggregation · runs=20 · scale=100 GB · table=LINEITEM · records=600 million · aggregation=AVG | An Iterative Scheme for Leverage-Based Approximate AggregationSource quoteL1014: The time required to run \textsf{ISLA}, \textsf{MV}, \textsf{MVB}, \textsf{US}, and \textsf{STS} for 20 times are 31979ms, 61718ms, 70584ms, 25989ms, and |
| 2016 | WiSeDB with multiple VM types (WiSeDB 2T) proposed | cost difference from optimal schedule | 6% | Database Workload Management · vm-types=t2.medium, t2.small · vm-type-count=2 | WiSeDB: A Learning-based Workload Management Advisor for Cloud DatabasesSource quoteL394: {\bf Multiple VM Types} We also trained decision models assuming the availability of multiple VM types. Figure~\ref{fig:multi_vm} shows the cost of WiSeDB\xspace schedules against the optimal schedule with one {\tt (WiSeDB\xspace 1T)} and two {\tt (WiSeDB\xspace 2T)} VM types. The first type is the \texttt{t2.medium} EC2 type and the second is the \texttt{t2.small} type. With the TPC-H benchmark, queries that require less RAM tend to have similar performance on \texttt{t2.medium} and \texttt{t2.small} EC2 instances. Since \texttt{t2.small} instances are cheaper, it makes sense to place low-RAM queries on \texttt{t2.small} instances. The results reveal that even when the learning task is more complex (using more VM types adds more edges to the scheduling graph and thus more complexity to the problem), WiSeDB\xspace is able to learn these correlations and generate schedules that perform within 6% of the optimal on average. Additionally, the performance always improved when the application was given access to a larger number of VM types. Hence, WiSeDB\xspace is able to leverage the availability of various VM types, learn their impact on specific performance goals, and adapt its decision model to produce low-cost schedules. |
| 2014 | Uncertainty Aware Query Execution Time Prediction (proposed techniques) proposed | Spearman correlation (r_s) between estimated uncertainty and actual prediction errors | 0.9415 | Query Execution Time Prediction · hardware=PC1 · query-group=MICRO · database-size=1GB · sampling-ratio=0.1 · data-distribution=uniform | Uncertainty Aware Query Execution Time PredictionSource quoteL1379: 0.1 │ 0.9415 (0.9862) │ 0.9740 (0.8252) │ 0.7160 (0.8204) │ 0.9265 (0.9883) │ 0.7498 (0.7700) │ 0.9607 (0.9778) |
| 2014 | Uncertainty Aware Query Execution Time Prediction (proposed techniques) proposed | Spearman correlation (r_s) between estimated uncertainty and actual prediction errors | 0.7160 | Query Execution Time Prediction · hardware=PC1 · query-group=SELJOIN · database-size=1GB · sampling-ratio=0.1 · data-distribution=uniform | Uncertainty Aware Query Execution Time PredictionSource quoteL1379: 0.1 │ 0.9415 (0.9862) │ 0.9740 (0.8252) │ 0.7160 (0.8204) │ 0.9265 (0.9883) │ 0.7498 (0.7700) │ 0.9607 (0.9778) |
| 2014 | Uncertainty Aware Query Execution Time Prediction (proposed techniques) proposed | Spearman correlation (r_s) between estimated uncertainty and actual prediction errors | 0.7498 | Query Execution Time Prediction · hardware=PC1 · query-group=TPCH · database-size=1GB · sampling-ratio=0.1 · data-distribution=uniform | Uncertainty Aware Query Execution Time PredictionSource quoteL1379: 0.1 │ 0.9415 (0.9862) │ 0.9740 (0.8252) │ 0.7160 (0.8204) │ 0.9265 (0.9883) │ 0.7498 (0.7700) │ 0.9607 (0.9778) |
| 2014 | Uncertainty Aware Query Execution Time Prediction (proposed techniques) proposed | Spearman correlation (r_s) between estimated uncertainty and actual prediction errors | 0.9675 | Query Execution Time Prediction · hardware=PC1 · query-group=MICRO · database-size=10GB · sampling-ratio=0.1 · data-distribution=skewed | Uncertainty Aware Query Execution Time PredictionSource quoteL1397: 0.1 │ 0.9675 (0.9905) │ 0.9840 (0.9830) │ 0.9663 (0.9580) │ 0.9781 (0.9781) │ 0.9354 (0.9910) │ 0.9198 (0.9944) |
| 2014 | Uncertainty Aware Query Execution Time Prediction (proposed techniques) proposed | Spearman correlation (r_s) between estimated uncertainty and actual prediction errors | 0.9663 | Query Execution Time Prediction · hardware=PC1 · query-group=SELJOIN · database-size=10GB · sampling-ratio=0.1 · data-distribution=skewed | Uncertainty Aware Query Execution Time PredictionSource quoteL1397: 0.1 │ 0.9675 (0.9905) │ 0.9840 (0.9830) │ 0.9663 (0.9580) │ 0.9781 (0.9781) │ 0.9354 (0.9910) │ 0.9198 (0.9944) |
| 2014 | Uncertainty Aware Query Execution Time Prediction (proposed techniques) proposed | Spearman correlation (r_s) between estimated uncertainty and actual prediction errors | 0.9354 | Query Execution Time Prediction · hardware=PC1 · query-group=TPCH · database-size=10GB · sampling-ratio=0.1 · data-distribution=skewed | Uncertainty Aware Query Execution Time PredictionSource quoteL1397: 0.1 │ 0.9675 (0.9905) │ 0.9840 (0.9830) │ 0.9663 (0.9580) │ 0.9781 (0.9781) │ 0.9354 (0.9910) │ 0.9198 (0.9944) |