TPC-H · Query Processing
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 21 of 21 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 |
| 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 | 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 |
| 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 | 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 |
| 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. |
| 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. |
| 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 |
| 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 |