Skip to content

TPC-H Benchmark

Note

Conformance is a work in progress. This page reflects the current implementation status to provide transparent insight into Opteryx’s capabilities and development progress.

Note

Performance benchmarks should always be viewed with healthy skepticism. Benchmarks tend to be optimized for specific characteristics and workload patterns, and may not represent all factors that should be considered when comparing systems in real-world scenarios.

The Transaction Processing Performance Council (TPC) publishes industry-standard benchmarks for evaluating database and computer system performance. TPC-H is a decision support benchmark comprising a suite of complex, business-oriented queries. It simulates real-world analytical workloads that scan large volumes of data, perform intensive joins and aggregations, and answer critical business questions.

Why We Use TPC-H

We use TPC-H to evaluate Opteryx's capabilities in handling complex analytical queries typical of decision support systems. The benchmark helps us:

  • Identify feature gaps - Understand which SQL features need implementation or improvement
  • Validate functionality - Ensure query correctness and completeness
  • Track compatibility - Monitor progress toward supporting industry-standard SQL patterns
  • Guide development - Prioritize features based on real-world query patterns

Query Results

Query Modified Pass Issue
query1 no yes -
query2 yes no Multiway CROSS JOINs
query3 no no Multiway CROSS JOINs
query4 yes yes Support EXISTS
query5 no no Multiway CROSS JOINs
query6 no yes -
query7 no no Multiway CROSS JOINs
query8 no no Multiway CROSS JOINs
query9 no no Multiway CROSS JOINs
query10 no no Multiway CROSS JOINs
query11 yes no Multiway CROSS JOINs
query12 no no TPC-H 12 failure
query13 yes yes Non-Equi JOINs
query14 no no Temporal Clauses
query15 yes no Multiway CROSS JOINs
query16 no no Implied Aliases & IN Subquery
query17 no no Reimplement CTEs
query18 yes no Multiway CROSS JOINs
query19 no yes -
query20 no no IN Subquery
query21 yes no Non-Equi JOINs
query22 yes no Reimplement CTEs

query doesn't complete within a reasonable time

Notes on Query Modifications

All queries have been modified to refer to the location of the datasets. The Modified column in the above table indicates where the SQL has been rewritten to replace unsupported functionality with supported functionality. This primarily occurs where the original query created a view or a temporary table—both of these have been replaced with Common Table Expression (CTE) definitions.

Testing and Reproducibility

The test suite for this benchmark is maintained in the Opteryx Benchmarking repository. This allows for transparent verification of results and provides a framework for tracking progress as new features are implemented.

Legal Notice

TPC-H is Copyright © 1993-2022 Transaction Processing Performance Council.
The full TPC-H specification in PDF format can be found here.

TPC, TPC Benchmark, TPC-H are trademarks of the Transaction Processing Performance Council.