TiDB Community Server

This is a PingCAP TiDB Community Server benchmark facilitated using the sysbench OLTP database benchmarks.

To run this test with the Phoronix Test Suite, the basic command is: phoronix-test-suite benchmark tidb.

Project Site

pingcap.com

Source Repository

github.com

Test Created

7 September 2023

Test Maintainer

Michael Larabel 

Test Type

System

Average Install Time

5 Minutes, 37 Seconds

Average Run Time

17 Minutes, 11 Seconds

Accolades

10k+ Downloads

Supported Platforms


Public Result Uploads *Reported Installs **Reported Test Completions **Test Profile Page ViewsOpenBenchmarking.orgEventsTiDB Community Server Popularity Statisticspts/tidb2023.092023.102023.112023.122024.012024.022024.032024.042024.052024.062024.072024.082024.092024.102024.11400800120016002000
* Uploading of benchmark result data to OpenBenchmarking.org is always optional (opt-in) via the Phoronix Test Suite for users wishing to share their results publicly.
** Data based on those opting to upload their test results to OpenBenchmarking.org and users enabling the opt-in anonymous statistics reporting while running benchmarks from an Internet-connected platform.
Data updated weekly as of 23 November 2024.
oltp_read_write25.9%oltp_update_non_index27.0%oltp_point_select24.4%oltp_update_index22.8%Test Option PopularityOpenBenchmarking.org
3219.1%1619.8%25614.4%6416.9%12820.6%19.2%Threads Option PopularityOpenBenchmarking.org

Revision History

pts/tidb-1.0.3   [View Source]   Thu, 07 Sep 2023 19:03:19 GMT
Cleanup after test runs.

pts/tidb-1.0.2   [View Source]   Thu, 07 Sep 2023 15:00:07 GMT
Initial commit of TiDB database benchmark using sysbench.


Performance Metrics

Analyze Test Configuration:

TiDB Community Server 7.3

Test: oltp_update_non_index - Threads: 128

OpenBenchmarking.org metrics for this test profile configuration based on 86 public results since 11 September 2023 with the latest data as of 26 November 2023.

Below is an overview of the generalized performance for components where there is sufficient statistically significant data based upon user-uploaded results. It is important to keep in mind particularly in the Linux/open-source space there can be vastly different OS configurations, with this overview intended to offer just general guidance as to the performance expectations.

Component
Percentile Rank
# Compatible Public Results
Queries Per Second (Average)
95th
10
78732 +/- 27
81st
3
65185 +/- 972
79th
6
64079 +/- 5207
Mid-Tier
75th
< 61888
62nd
10
58545 +/- 2639
62nd
3
58094 +/- 3286
Median
50th
52865
45th
3
46029 +/- 653
38th
4
41723 +/- 300
Low-Tier
25th
< 28849
22nd
6
28390 +/- 850
OpenBenchmarking.orgDistribution Of Public Results - Test: oltp_update_non_index - Threads: 12886 Results Range From 11846 To 78761 Queries Per Second1184613185145241586317202185411988021219225582389725236265752791429253305923193133270346093594837287386263996541304426434398245321466604799949338506775201653355546945603357372587116005061389627286406765406667456808469423707627210173440747797611877457787963691215

Based on OpenBenchmarking.org data, the selected test / test configuration (TiDB Community Server 7.3 - Test: oltp_update_non_index - Threads: 128) has an average run-time of 33 minutes. By default this test profile is set to run at least 3 times but may increase if the standard deviation exceeds pre-defined defaults or other calculations deem additional runs necessary for greater statistical accuracy of the result.

OpenBenchmarking.orgMinutesTime Required To Complete BenchmarkTest: oltp_update_non_index - Threads: 128Run-Time1122334455Min: 14 / Avg: 32.65 / Max: 57

Based on public OpenBenchmarking.org results, the selected test / test configuration has an average standard deviation of 0.2%.

OpenBenchmarking.orgPercent, Fewer Is BetterAverage Deviation Between RunsTest: oltp_update_non_index - Threads: 128Deviation246810Min: 0 / Avg: 0.16 / Max: 2

Tested CPU Architectures

This benchmark has been successfully tested on the below mentioned architectures. The CPU architectures listed is where successful OpenBenchmarking.org result uploads occurred, namely for helping to determine if a given test is compatible with various alternative CPU architectures.

CPU Architecture
Kernel Identifier
Verified On
Intel / AMD x86 64-bit
x86_64
(Many Processors)
ARMv8 64-bit
aarch64
ARMv8 Neoverse-N1, ARMv8 Neoverse-N1 128-Core