惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

V
Visual Studio Blog
罗磊的独立博客
小众软件
小众软件
T
Tailwind CSS Blog
宝玉的分享
宝玉的分享
博客园_首页
N
Netflix TechBlog - Medium
B
Blog
Recent Announcements
Recent Announcements
Y
Y Combinator Blog
Blog — PlanetScale
Blog — PlanetScale
L
LangChain Blog
F
Fortinet All Blogs
The GitHub Blog
The GitHub Blog
Stack Overflow Blog
Stack Overflow Blog
C
Check Point Blog
Last Week in AI
Last Week in AI
Jina AI
Jina AI
V
V2EX
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
博客园 - 叶小钗
博客园 - 【当耐特】

MariaDB.org

Trying DuckDB for Magento Analytics: An Experiment with One Million Orders - MariaDB.org MariaDB adoption is growing, and the way people get it is changing – Adoption Index 2026-09 - MariaDB.org AWS renews Diamond sponsorship of MariaDB Foundation for a fourth consecutive year - MariaDB.org Rethinking PAM - MariaDB.org From a Chocolate Wrapper to Concurrent InnoDB Page Splits - MariaDB.org Launching MariaDB's Database Survey 2026 - MariaDB.org MariaDB Plugins Beyond C++: What the Community Told Us - MariaDB.org MariaDB Connector/C Compatibility: An Update on CONC-821 - MariaDB.org MariaDB Foundation Newsletter – September 2026 - MariaDB.org MariaDB at Percona Live Amsterdam 2026: Ecosystem, Plugins, Security, and Community - MariaDB.org MariaDB Server 12.3, 11.8, 11.4 and 10.11 – Q3 2026 Maintenance Releases, and Goodbye 10.6 - MariaDB.org MariaDB Contribution Statistics, January-June 2026 - MariaDB.org Seravo becomes a Silver Sponsor of MariaDB Foundation - MariaDB.org Extending MariaDB with Native Aggregate Plugins: Laying the Groundwork for HyperLogLog - MariaDB.org MariaDB Foundation Advances TAF with HammerDB 6.0 and xt_reservoir Integration - MariaDB.org MariaDB 13.1 Feature in Focus: JSON Operators and JSON_TABLE Improvements - MariaDB.org MariaDB Foundation is pleased to welcome Auree as a Silver Sponsor. - MariaDB.org Hear Ye, Hear Ye: A Guide to MariaDB’s Governance Model - MariaDB.org Wirekite becomes Silver Sponsor of MariaDB Foundation - MariaDB.org From a Production Problem to MariaDB: Headout’s Open-Source Contribution Journey - MariaDB.org Adobe Commerce Chooses MariaDB as Its Default Database Platform - MariaDB.org ScalaHosting Becomes a Gold Sponsor of MariaDB Foundation - MariaDB.org The Queen and the "Half That Wasn't Told" - MariaDB.org IBM continues as a Platinum Sponsor of MariaDB Foundation - MariaDB.org Say the Name: MariaDB, MySQL, and the Ecosystem We Share - MariaDB.org Deploying the MariaDB Privacy-First Stack Anywhere with Terraform - MariaDB.org From PostgreSQL 12 to MariaDB 11: A Gradual Fintech Migration with 23% Lower TCO - MariaDB.org MariaDB 13.1 Feature in Focus: Validate Your Configuration Before Starting the Server - MariaDB.org MariaDB Hidden Gem: Online Schema Change without pt-osc - MariaDB.org MariaDB 13.1 Feature in Focus: BLOB, TEXT, JSON and GEOMETRY Support in the HEAP Engine - MariaDB.org
MariaDB Foundation: Bringing TPC-B Back To Life
Jonathan Miller · 2026-06-03 · via MariaDB.org

When I joined Pervasive PSQL, one of the first performance test cases I was introduced to was TPC-B. It was already implemented inside Pervasive PSQL and it quickly became one of the most important tools in my daily work. A little later, another developer and I wrote the Pervasive PSQL’s TPC-C implementation in C++. Between those two workloads, and a few others, I spent nearly five years performing change testing. (https://en.wikipedia.org/wiki/Pervasive_Software)

During that time, about seventy percent of all regressions came from TPC-B, with the remaining issues coming from ATOMICs and TPC-C. TPC-B was simple, direct, and very sensitive to performance changes. It caught issues that other workloads did not.

Moving to MySQL AB, and working on the MySQL NDB Cluster and MySQL Global Replication teams, I created a TPC-B style test that could be used inside mysql-test.

That version is still visible today:

Even though the TPC organization discontinued TPC-B, and many vendors stopped using it, the workload itself never stopped being useful.

For simple select, update, and insert sensitivity, TPC-B can still detect regressions faster than TPC-C.

Understanding TPC-B

Many MariaDB users may know sysbench or TPC-C, but not TPC-B. 

TPC-B was a transaction processing benchmark built around simple banking style operations. Its value was not complexity, but sensitivity. A small number of predictable selects, updates, and inserts could expose regressions very quickly.

Bringing TPC-B Into Modern Automation

Sysbench-lua already provides everything needed to simulate TPC-B without writing new Lua. Because of that, I added two new test cases to the TAF sysbench-lua test suite.

TPCB_KEY     Updates hits key values

TPCB_NO_KEY  Updates hit non key values

These follow the original TPC-B pattern of three point selects, three updates, and one insert. 

The only difference is whether the update hits a key or non key column. With the insert, a delete occurs first, matching the original TPC-B behavior.

This brings a piece of historical performance testing back into modern automation where it still has real value.

The TAF commit is here:   

Followup patch, correcting updates from one to three:

Acknowledgment

I want to thank Amrendra for his recent contribution to TAF. He fixed an issue with oltp_scan when selecting BMK sysbench, and improved TAF Utilities to use the correct hostname call.

TAF Is Open Source

MariaDB Foundation provides TAF as fully open source. Anyone can download it, use it, and help improve it.

The goal is simple. Help TAF grow and become the standard for benchmark automation.

TAF Backend

TPC-B is one workload. The backend is what makes those workload results comparable and actionable over time.

Work is ongoing on a backend for benchmark results. The goal is to make it easy to store performance results, compare runs, detect regressions, and automate performance reporting.

The backend parser can ingest results from a TAF plugin library or from raw text output.

Examples from taf_backend:

We are in the final development stages now, testing and documenting. The Foundation hopes to have the backend released soon.

In Closing

Try TAF. Run the new TPC-B workloads. Compare results. And open MDEV issues when changes are found.This is how we move MariaDB forward.