Skip to content

Commit b6cbe84

Browse files
Aleksa-delclaude
andauthored
Blog: Project Spotlight: HammerDB (#274)
Project Spotlight post on HammerDB, the open source benchmarking tool hosted by the TPC, with a preview of the December 3 webinar with Steve Shaw. Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
1 parent f1770f8 commit b6cbe84

2 files changed

Lines changed: 69 additions & 0 deletions

File tree

87.5 KB
Loading
Lines changed: 69 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,69 @@
1+
---
2+
title: "Project Spotlight: HammerDB, the Benchmark That Doesn't Pick a Winner"
3+
description: "HammerDB is an open source benchmarking tool hosted by the TPC that runs the same workloads against MySQL, MariaDB, PostgreSQL and more. What it does, how it helps find bottlenecks, what's new in v6.0, and a December 3 webinar with its creator Steve Shaw."
4+
date: 2026-12-01
5+
tags:
6+
- Project Spotlight
7+
- Webinar
8+
author: "Maria Nesterova"
9+
author_page: "/resources/member-directory/maria-nesterova"
10+
image: "cover.jpg"
11+
hero_image: false
12+
---
13+
14+
"Which database is the fastest?" Ask five vendors and you get five benchmarks, and each one shows the vendor winning. Not because anybody lies. Each test uses a different workload, different hardware, different settings. The numbers just can't be compared.
15+
16+
This is the problem [HammerDB](/resources/software/hammerdb/) was built for. In this Project Spotlight we look at what it does, why it matters for the MySQL ecosystem, and what changed in the new version.
17+
18+
## What HammerDB is
19+
20+
HammerDB is an open source (GPL v3) database load-testing and benchmarking tool, created by [Steve Shaw](/resources/member-directory/people/steve-shaw/). It is hosted and sponsored by the Transaction Processing Performance Council, the TPC, the same organization behind the well-known TPC-C and TPC-H benchmarks. The code lives on GitHub under [TPC-Council/HammerDB](https://github.com/TPC-Council/HammerDB).
21+
22+
The main idea is simple: **one workload, many databases**. HammerDB runs the same tests against [MySQL](/resources/software/mysql-server/), [MariaDB](/resources/software/mariadb-server/), PostgreSQL, Oracle, SQL Server and IBM Db2. Since version 6.1, also [VillageSQL](/resources/software/villagesql/).
23+
24+
It has two workloads:
25+
26+
- **TPROC-C**, a transactional (OLTP) workload derived from TPC-C. It reports **NOPM** (new orders per minute) and TPM (transactions per minute).
27+
- **TPROC-H**, an analytical workload derived from TPC-H.
28+
29+
"Derived from" is important. HammerDB results are not official audited TPC results. You don't need a lab and an auditor, you can run it on your own test server.
30+
31+
You can use it through a GUI, a command line or a web service, on Windows or Linux (x86-64 and ARM64), or from Docker.
32+
33+
## It's a hardware benchmark, folks
34+
35+
There is a nice story on the HammerDB blog. The best published TPC-C result today belongs to Alibaba Cloud PolarDB: more than two billion transactions per minute, on 2,340 database nodes, with a total system cost of around 225–250 million US dollars.
36+
37+
The HammerDB team often quotes a line Kevin Closson wrote about audited TPC-C results back in 2007: *"It's a hardware benchmark folks."* The idea: if a database uses the CPUs well, more throughput is mostly a question of more hardware.
38+
39+
But most of us don't have 250 million dollars. So the more interesting question is different: **what happens when the database stops scaling and a lot of the CPU is still free?** That's not a hardware problem anymore. That is database engineering.
40+
41+
## Finding the bottleneck
42+
43+
This is the question HammerDB has been working on together with MariaDB's engineers. HammerDB testing helped find where the database stopped scaling, the engineers worked on things like index locking, buffer pool synchronization and internal contention, and HammerDB measured whether the changes really helped. Steve will talk more about it at the webinar.
44+
45+
I like it because it shows the real job of a benchmark. Not "who wins". It's "where is the bottleneck, and did our fix work".
46+
47+
## What's new in v6.0
48+
49+
HammerDB v6.0 came out at the end of June 2026, and several new features are directly for MySQL and MariaDB users:
50+
51+
- **Active Session History for MySQL and MariaDB.** Before, this was available for Oracle and PostgreSQL. Now, during a run, you can see where database time goes (CPU, locks, I/O, mutexes, row locks) and drill down to the waits and SQL behind it. So you get more than a final number. You see *why*.
52+
- **Full automation for MySQL, MariaDB and PostgreSQL.** HammerDB can take a branch, tag or commit from source code, build it, run the workload and produce a result, with no manual steps. It can be triggered by a web service call, a command, or a GitHub webhook.
53+
- **Performance profile comparison.** Compare a new run with a baseline at each load level, with a threshold that marks the comparison as pass or fail. Useful for regression checks and release validation.
54+
- **Response time percentiles.** Latency, not only throughput.
55+
- **Result artifacts.** A result file that keeps the workload, database version, configuration, system details and metrics together. You can share it through the TPC-Council community results repository on GitHub, where the TPC-OSS subcommittee reviews it. These are community results, not audited TPC results, but the whole process is open.
56+
57+
## Meet Steve Shaw on December 3
58+
59+
If you want to hear all this from the person who built it, Steve Shaw joins us for a webinar: **"What Is the Fastest Database? Open-Source Benchmarking with HammerDB"**.
60+
61+
Steve will talk about how to get benchmark numbers that other people can trust and repeat, walk through the v6.0 features, and explain how open benchmarking helps engineers find and fix real bottlenecks, as it has for MariaDB.
62+
63+
Bring your questions. Especially the "but in my benchmark, X was faster" ones.
64+
65+
**December 3, 2026 · 10:00 AM ET / 16:00 CET · online**
66+
67+
[**Register here**](https://us06web.zoom.us/webinar/register/WN_vxFUnMo2T8W82JYzm9j8fA) · [Webinar page](/community/webinars/fastest-database-hammerdb/)
68+
69+
Can't wait until Thursday? HammerDB is on [GitHub](https://github.com/TPC-Council/HammerDB) and [hammerdb.com](https://www.hammerdb.com/). Run a TPROC-C test against your own MySQL server and come to the webinar with real numbers.

0 commit comments

Comments
 (0)