TPC benchmarks

On this page 7

TPC benchmarks are standardized, audited database workloads published by the Transaction Processing Performance Council, a nonprofit consortium founded in 1988, that measure how much transaction or query throughput a complete system delivers and at what total price. In database performance work, they serve as the common reference point for comparing hardware, operating systems and database engines under the same rules.

Each benchmark defines a business scenario, a schema, a transaction or query mix, scaling rules and reporting metrics. A vendor that publishes a result must pass an independent audit and release a full disclosure report, which is what separates an official TPC result from an informal test that merely imitates the workload.

How a TPC benchmark is specified and run

A TPC benchmark is a written specification, not a software package, so each sponsor builds or licenses its own driver that follows the rules exactly. The specification fixes the data model, the population rules, the transaction profiles and the timing constraints, and it states which ACID properties must be demonstrated before any number is valid.

A run typically has a ramp-up phase, a steady-state measurement interval and checks for consistency and durability. During the measurement interval the system must meet response time limits, such as the requirement that 90 percent of New-Order transactions in TPC-C finish within a fixed bound, otherwise the throughput figure does not count.

The table below lists the main components that every audited result contains.

ComponentPurposeWho checks it
Specification complianceEnsures the workload and schema match the standardCertified TPC auditor
ACID testsProve atomicity, consistency, isolation and durabilityAuditor during the audit
Performance metricReports throughput such as tpmC or QphHAuditor and peer review
Price/performanceDivides total system cost by throughputTPC Pricing rules
Full disclosure reportDocuments configuration, tuning and codePublic challenge period
Components of an official TPC result

The main TPC benchmark families

The council maintains separate benchmarks for online transaction processing (OLTP) and decision support, plus several express and specialized kits. Older benchmarks such as TPC-A and TPC-B have been retired because they no longer reflected realistic workloads.

The following table compares the benchmarks that database engineers encounter most often.

BenchmarkWorkload typeBusiness modelPrimary metric
TPC-COLTPWholesale supplier with warehouses and districtstpmC and price per tpmC
TPC-EOLTPBrokerage firm handling customer tradestpsE
TPC-HAd hoc decision supportParts supplier with 22 business queriesQphH at a scale factor
TPC-DSDecision support and analyticsRetailer with 99 complex queriesQphDS at a scale factor
TPC-DIData integrationETL into a data warehouseThroughput of data loads
TPCx-HSBig data sortingLarge-scale sort on clustersHSph at a scale factor
Widely cited TPC benchmarks

TPC-C models five transaction types, namely New-Order, Payment, Order-Status, Delivery and Stock-Level, and its database scales with the number of warehouses. Because emulated users have keying and think times, throughput per warehouse is capped by design, which forces a sponsor to grow the data volume in proportion to the claimed performance.

TPC-H and TPC-DS use a scale factor, where a scale factor of 1 corresponds to roughly 1 GB of raw data and published results range up to tens of terabytes. Their composite metrics combine a power test, which runs queries in a single stream, and a throughput test, which runs several concurrent streams alongside data refresh functions.

Reading the metrics correctly

TPC metrics are only comparable within the same benchmark and, for analytic workloads, the same scale factor. A QphH result at 1,000 GB cannot be compared with one at 10,000 GB, and a tpmC figure says nothing about analytic query speed.

The table below explains what each common metric expresses and the trap that most often leads to misreading it.

MetricWhat it expressesCommon misreading
tpmCNew-Order transactions per minute while the full mix runsTreating it as total transactions per minute
tpsETrade-Result transactions per secondComparing it directly with tpmC
QphH@SizeComposite queries per hour at a given scale factorComparing results across scale factors
Price/performanceThree-year cost of ownership per unit of throughputAssuming it reflects current cloud prices
Watts per performanceEnergy use under TPC-Energy rulesExpecting it on every published result
Interpreting TPC metrics

Price/performance includes hardware, software licenses and maintenance for a defined period, so a fast but very expensive configuration can rank poorly on cost. Availability dates also matter, because a result may describe components that ship months after publication.

Official results versus TPC-derived tests

Many teams run TPC-derived workloads with open-source tools such as HammerDB, which implements TPROC-C and TPROC-H, or with community kits for TPC-H and TPC-DS. These tests are valuable for capacity planning and regression testing, but under the council’s fair use policy they cannot be presented as official TPC results.

The difference is substantive: derived tests often skip think times, use smaller data sets, relax durability settings or ignore the audit and pricing rules. Such shortcuts can inflate throughput by an order of magnitude compared with a compliant configuration on the same hardware.

GoalSuitable approachReason
Vendor procurement comparisonPublished audited resultsRules, pricing and disclosure are uniform
Sizing a new OLTP serverTPC-C-derived test on candidate hardwareReflects your own platform and settings
Evaluating an analytic engineTPC-DS-derived queries at realistic scaleCovers joins, aggregation and window functions
Release regression checksFixed derived workload in CIRepeatable baseline for detecting slowdowns
Predicting production latencyReplay of real trafficSynthetic mixes rarely match actual queries
Choosing the right form of benchmark

Limitations and common mistakes

The main limitation is representativeness: a TPC workload is a fixed model of a business, while real applications have their own query shapes, data skew and contention patterns. Results show what a system can do under ideal tuning by expert engineers, which often exceeds what a typical deployment achieves.

  • Benchmark-specific tuning can favor features that ordinary applications never use.
  • Stale results may describe hardware generations that are no longer sold.
  • Few cloud publications exist, so managed services are often compared only through derived tests.
  • Ignoring the full disclosure report hides important details such as storage layout and isolation settings.
  • Single-number comparisons overlook response time, cost and energy dimensions.

Used well, TPC benchmarks complement rather than replace tools such as execution plan analysis, query statistics and database tuning, because they answer how far a platform can scale, not why a specific query is slow.

Stripped to the essentials

TPC benchmarks are like an official driving test for database systems. Everyone must drive the same route, follow the same rules and have an examiner in the car, so the scores can be compared fairly.

Some tests measure how many small orders or payments a system can handle each minute. Others measure how fast it answers large reporting questions. The result also shows how much the whole setup costs, so buyers can see both speed and value. The key point is simple: an audited score is trustworthy, while a homemade imitation is only a rough guide.

Where it is applied

A regional retailer plans to replace an aging order-processing server and shortlists three hardware platforms. The database team first reads the published TPC-C and TPC-E results for comparable processor generations to see the theoretical ceiling and price/performance of each platform.

Because the exact configurations are not available for purchase, the team then runs a TPC-C-derived test with HammerDB on loaner machines, using 500 warehouses, realistic durability settings and the same database version planned for production. One platform delivers about 30 percent more New-Order throughput at similar cost, and its 90th percentile latency stays stable when connections double.

The team chooses that platform and keeps the derived workload as a regression baseline, rerunning it after every major database upgrade to catch performance drops before they reach customers.