# TPC-H (`tpc-h`)

- **Canonical ID**: `bmk_47723a06f2acaaeb`
- **Task**: query-processing · **Modality**: unspecified
- **Coverage**: 50 papers · 126 observations
- **Tasks Evaluated**: Query Processing (`?task=query-processing`, 13 papers), Query Optimization (`?task=query-optimization`, 6 papers), Dag Scheduling (`?task=dag-scheduling`, 2 papers), Database Knob Tuning (`?task=database-knob-tuning`, 2 papers), Database Query Processing (`?task=database-query-processing`, 2 papers), Query Cost Estimation (`?task=query-cost-estimation`, 2 papers), Query Execution (`?task=query-execution`, 2 papers), Approximate Query Processing (`?task=approximate-query-processing`, 1 papers)

## Comparable Cohort Leaderboards

### Query Processing · Qmean (Q-error) ↓ (%) (2 papers)

| # | Method | Score | Year | Settings | Paper |
| ---: | --- | ---: | --- | --- | --- |
| 1 | ErrGNN+SDG | 1.18% | 2025-08-01 | - | [Bootstrapping Learned Cost Models with Synthetic SQL Queries](/work/bootstrapping-learned-cost-models-with-synthetic-sql-queries) |
| 2 | Perm-16 (permutation-based sampling) | 63% | 2022-08-01 | - | [On Shapley Value in Data Assemblage Under Independent Utility](/work/on-shapley-value-in-data-assemblage-under-independent) |

## Recent Extracted Observations

| Year | Method | Role | Metric | Score | Split | Regime | Paper | Verbatim Quote |
| --- | --- | --- | --- | ---: | --- | --- | --- | --- |
| 2026 | Template correction (primary method) | proposed | Error (geometric mean of median Q-error over test templates) | 1.10 | test-templates | one-measured-query-per-template | [When Is One Query per Template Enough? Adapting Learned Cost Models to New Hardware](/work/when-is-one-query-per-template-enough-adapting) | method reaches 1.10 on TPC-H at k = 25 and 1.19 on TPC- |
| 2026 | GenDB-V (joint storage and query optimization) | proposed | Workload time | 10.380 s | - | - | [Stop Handcrafting Your Engine! GenDB-V: Towards AI-Generated and Formally Verified Database Systems](/work/stop-handcrafting-your-engine-gendb-v-towards-ai) | 10.380 |
| 2026 | GenDB-V general-purpose engine (version 16) | proposed | Total workload execution time | 109.3 s | - | - | [Stop Handcrafting Your Engine! GenDB-V: Towards AI-Generated and Formally Verified Database Systems](/work/stop-handcrafting-your-engine-gendb-v-towards-ai) | one thread. Version 16 reduces total execution time to 109.3 s at |
| 2026 | GenDB-V general-purpose engine (version 16) | proposed | Total workload execution time | 9.16 s | - | - | [Stop Handcrafting Your Engine! GenDB-V: Towards AI-Generated and Formally Verified Database Systems](/work/stop-handcrafting-your-engine-gendb-v-towards-ai) | one thread and 9.16 s at 64 threads, achieving speedups of 3.4× and |
| 2026 | DuckDB 1.5.6 | baseline | Workload time | 367.841 s | - | - | [Stop Handcrafting Your Engine! GenDB-V: Towards AI-Generated and Formally Verified Database Systems](/work/stop-handcrafting-your-engine-gendb-v-towards-ai) | 367.841 |
| 2026 | Umbra 26.08 | baseline | Workload time | 170.103 s | - | - | [Stop Handcrafting Your Engine! GenDB-V: Towards AI-Generated and Formally Verified Database Systems](/work/stop-handcrafting-your-engine-gendb-v-towards-ai) | 170.103 |
| 2025 | Distributed TQP | proposed | workload performance (sum of warm run times for 22 queries) | 0.53 seconds s | - | - | [Terabyte-Scale Analytics in the Blink of an Eye](/work/terabyte-scale-analytics-in-the-blink) | 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. Wi |
| 2025 | Distributed TQP | proposed | workload performance (sum of warm run times for 22 queries) | 1.3 seconds s | - | - | [Terabyte-Scale Analytics in the Blink of an Eye](/work/terabyte-scale-analytics-in-the-blink) | 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. Wi |
| 2025 | Distributed TQP | proposed | total run time for all 22 queries | 1.06 seconds s | - | - | [Terabyte-Scale Analytics in the Blink of an Eye](/work/terabyte-scale-analytics-in-the-blink) | 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, |
| 2025 | Distributed TQP | proposed | workload performance (sum of warm run times for 22 queries) | 15.51 seconds s | - | - | [Terabyte-Scale Analytics in the Blink of an Eye](/work/terabyte-scale-analytics-in-the-blink) | 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  |
| 2025 | E3-Rewrite (Qwen) | proposed | Average query latency | 29.67 s | - | - | [E3-Rewrite: Learning to Rewrite SQL for Executability, Equivalence,and Efficiency](/work/e3-rewrite-learning-to-rewrite-sql-for-executability) | \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 | ErrGNN+Mech | unclear | qmedian (Q-error) | 1.20 | - | - | [Bootstrapping Learned Cost Models with Synthetic SQL Queries](/work/bootstrapping-learned-cost-models-with-synthetic-sql-queries) | 1.20 |
| 2025 | ErrGNN+SDG | unclear | qmedian (Q-error) | 1.18 | - | - | [Bootstrapping Learned Cost Models with Synthetic SQL Queries](/work/bootstrapping-learned-cost-models-with-synthetic-sql-queries) | 1.18 |
| 2025 | ErrGNN+Mech | unclear | qmean (Q-error) | 1.41 | - | - | [Bootstrapping Learned Cost Models with Synthetic SQL Queries](/work/bootstrapping-learned-cost-models-with-synthetic-sql-queries) | 1.41 |
| 2025 | ErrGNN+SDG | unclear | qmean (Q-error) | 1.34 | - | - | [Bootstrapping Learned Cost Models with Synthetic SQL Queries](/work/bootstrapping-learned-cost-models-with-synthetic-sql-queries) | 1.34 |
| 2025 | ErrGNN+Mech | unclear | qp95 (Q-error) | 2.38 | - | - | [Bootstrapping Learned Cost Models with Synthetic SQL Queries](/work/bootstrapping-learned-cost-models-with-synthetic-sql-queries) | 2.38 |
| 2025 | ErrGNN+SDG | unclear | qp95 (Q-error) | 2.37 | - | - | [Bootstrapping Learned Cost Models with Synthetic SQL Queries](/work/bootstrapping-learned-cost-models-with-synthetic-sql-queries) | 2.37 |
| 2024 | Quokka with write-ahead lineage | proposed | geometric-mean speedup | 2.1x x | - | - | [Efficient Fault Tolerance for Pipelined Query Engines via Write-ahead Lineage](/work/efficient-fault-tolerance-for-pipelined-query-engines) | \subsection{Quokka vs. Trino vs. SparkSQL} In Figure \ref{fig:systems}, we compare Quokka's performance to Trino with spooling-based fault tolerance and SparkSQ |
| 2024 | Quokka with write-ahead lineage | proposed | geometric-mean speedup | 1.9x x | - | - | [Efficient Fault Tolerance for Pipelined Query Engines via Write-ahead Lineage](/work/efficient-fault-tolerance-for-pipelined-query-engines) | \subsection{Quokka vs. Trino vs. SparkSQL} In Figure \ref{fig:systems}, we compare Quokka's performance to Trino with spooling-based fault tolerance and SparkSQ |
| 2024 | GriDB | proposed | server time | 41.14s s | - | - | [GriDB: Scaling Blockchain Database via Sharding and Off-Chain Cross-Shard Mechanism](/work/gridb-scaling-blockchain-database-via-sharding-and-off-56yz) | \#19 & 4892s & 162ms & 196000s & 6ms & 41.14s & 221ms & 2.38s |
| 2024 | vSQL | baseline | server time | 4892s s | - | - | [GriDB: Scaling Blockchain Database via Sharding and Off-Chain Cross-Shard Mechanism](/work/gridb-scaling-blockchain-database-via-sharding-and-off-56yz) | \#19 & 4892s & 162ms & 196000s & 6ms & 41.14s & 221ms & 2.38s |
| 2024 | SNARKs | baseline | server time | 196000s s | - | - | [GriDB: Scaling Blockchain Database via Sharding and Off-Chain Cross-Shard Mechanism](/work/gridb-scaling-blockchain-database-via-sharding-and-off-56yz) | \#19 & 4892s & 162ms & 196000s & 6ms & 41.14s & 221ms & 2.38s |
| 2023 | Diba | proposed | processing time | 300 milliseconds ms | - | - | [Diba: A Re-configurable Stream Processor](/work/diba-a-re-configurable-stream-processor) | one, two, four, six, eight, or 10 GB were processed in 300 |
| 2023 | Diba | proposed | processing time | 3520 milliseconds ms | - | - | [Diba: A Re-configurable Stream Processor](/work/diba-a-re-configurable-stream-processor) | 3520 milliseconds, respectively. |
| 2023 | Chorus | unclear | Per Query Perf | 119.04 ms ms | - | - | [DProvDB: Differentially Private Query Processing with Multi-Analyst Provenance](/work/dprovdb-differentially-private-query-processing) | Chorus & N/A & 7380.47 ms & 62.0 & 119.04 ms |
| 2023 | Chorus | baseline | No. of Queries | 62.0 queries | - | - | [DProvDB: Differentially Private Query Processing with Multi-Analyst Provenance](/work/dprovdb-differentially-private-query-processing) | Chorus & N/A & 7380.47 ms & 62.0 & 119.04 ms |
| 2022 | Perm-16 (permutation-based sampling) | unclear | Error rate (aggregate absolute Shapley error divided by total Shapley value) | 63% % | - | - | [On Shapley Value in Data Assemblage Under Independent Utility](/work/on-shapley-value-in-data-assemblage-under-independent) | \textsf{UO-UA} & 29% & 22% & 63% & 37% |
| 2021 | PBDS (OR/disjunctive condition; 400-fragment sketch) | proposed | runtime | 0.1 seconds s | - | - | [Provenance-based Data Skipping (TechReport)](/work/provenance-based-data-skipping-techreport) | \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 disjuncti |
| 2021 | PBDS (OR/disjunctive condition; 10,000-fragment sketch) | proposed | runtime | 0.075 seconds s | - | - | [Provenance-based Data Skipping (TechReport)](/work/provenance-based-data-skipping-techreport) | \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 condition |
| 2021 | PBDS (binary search; 10,000-fragment sketch) | proposed | runtime | 0.054 seconds s | test | - | [Provenance-based Data Skipping (TechReport)](/work/provenance-based-data-skipping-techreport) | \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 condition |
| 2019 | Castor (Expert) | proposed | Time | 4.73 ms | - | - | [Deductive Optimization of Relational Data Storage.](/work/deductive-optimization-of-relational-data-storage-g5p4) | 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 | - | - | [Deductive Optimization of Relational Data Storage.](/work/deductive-optimization-of-relational-data-storage-g5p4) | 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 | - | - | [Deductive Optimization of Relational Data Storage.](/work/deductive-optimization-of-relational-data-storage-g5p4) | 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 (specialized) | baseline | Time | 22.30 ms | - | - | [Deductive Optimization of Relational Data Storage.](/work/deductive-optimization-of-relational-data-storage-g5p4) | 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 | - | - | [Deductive Optimization of Relational Data Storage.](/work/deductive-optimization-of-relational-data-storage-g5p4) | 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 | - | - | [Deductive Optimization of Relational Data Storage.](/work/deductive-optimization-of-relational-data-storage-g5p4) | 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 | speedup | 6.5× | - | - | [Weld: Rethinking the Interface Between Data-Intensive Applications](/work/weld-rethinking-the-interface-between-data-intensive) | 6.5× for Q6. Weld\xspace's performance improvement comes largely from its ability to generate |
