Databases 4 min read

MySQL TPS Capacity Benchmarks by Server Specs: From 4-Core to 64-Core Reference Guide

This article defines TPS versus QPS, illustrates a multi-SQL transaction example, and provides a concrete reference table mapping MySQL server configurations (4-core/8GB through 64-core+) to typical OLTP TPS ranges (1,000–50,000+), concluding with architectural guidance for scaling beyond 10,000 TPS.

Mike Chen Rui
Mike Chen Rui
Mike Chen Rui
MySQL TPS Capacity Benchmarks by Server Specs: From 4-Core to 64-Core Reference Guide

TPS vs QPS Definition

TPS (Transactions Per Second) measures completed transactions per second. In databases, one transaction may contain multiple SQL statements, so TPS does not equal QPS. If a transaction has only one SQL, TPS ≈ QPS; if it has multiple SQLs, TPS is typically lower than QPS.

Concrete Transaction Example: Order Placement

A single order transaction comprises four operations wrapped in one atomic unit:

Decrement inventory: UPDATE stock SET num = num - 1 WHERE goods_id = 101; Create order record: INSERT INTO orders (order_id, user_id, price) VALUES (...); Write audit log: INSERT INTO log (action, time) VALUES (...); Commit: COMMIT; The entire sequence counts as 1 transaction for TPS measurement.

MySQL TPS Reference Ranges by Hardware Spec

The author provides a conservative estimation for typical OLTP workloads:

4-core / 8 GB : 1,000 – 5,000 TPS

8-core / 16 GB : 3,000 – 10,000 TPS

16-core / 32 GB : 5,000 – 20,000 TPS

32-core / 64 GB : 10,000 – 30,000 TPS

64-core and above : 20,000 – 50,000+ TPS

Practical Estimation Guidelines

For ordinary business, assume a single MySQL instance handles 1,000–5,000 TPS as a conservative baseline.

Well-tuned, high-spec single nodes can reach 5,000–20,000 TPS .

When sustained write throughput exceeds 10,000 TPS , the author advises against relying solely on vertical scaling. Instead, evaluate: sharding (分库分表), caching layers, message queues for async processing, and hotspot splitting.

Reasoning Chain

The article moves from definition (TPS vs QPS) → concrete multi-SQL transaction illustration → hardware-dependent benchmark ranges → capacity planning rules of thumb → architectural pivot point at 10k TPS where horizontal strategies become necessary. The numbers serve as reference anchors, not guarantees, and the final recommendation emphasizes system-level design over hardware upgrades alone.

Original Source

Signed-in readers can open the original source through BestHub's protected redirect.

Sign in to view source
Republication Notice

This article has been distilled and summarized from source material, then republished for learning and reference. If you believe it infringes your rights, please contactadmin@besthub.devand we will review it promptly.

architectureshardingMySQLcapacity planningBenchmarkdatabase performanceOLTPTPS
Mike Chen Rui
Written by

Mike Chen Rui

Over 10 years as a senior tech expert at top-tier companies, seasoned interview officer, currently at leading firms like Alibaba.

0 followers
Reader feedback

How this landed with the community

Sign in to like

Rate this article

Was this worth your time?

Sign in to rate
Discussion

0 Comments

Thoughtful readers leave field notes, pushback, and hard-won operational detail here.