Skip to main content

Sysbench benchmark results

This section presents database cluster performance benchmark results performed using the Sysbench tool, aiming to provide a reference for the processing capabilities of database engines across different compute configurations (flavors).

The results are provided for reference purposes only and do not represent guaranteed performance.

1. Benchmark sysbench overview

Purpose:

  • Evaluate OLTP (Read/Write) performance of supported database engines.
  • Observe performance scaling behavior when increasing CPU and memory resources.
  • Provide reference data to assist customers in selecting appropriate instance sizes.

Benchmarked database engines:

The database engines are included in this benchmark: PostgreSQL, MySQL, MariaDB, MongoDB and Redis.

Metrics:

  • Sysbench Read : Total number of read queries executed during the test.
  • Sysbench Write : Total number of write queries executed during the test.
  • QPS (Queries Per Second) : Average number of queries processed per second.
  • TPS (Transactions Per Second) : Average number of completed transactions per second.

Higher QPS and TPS values indicate higher throughput under the tested workload.

2. Benchmark results by database engine

2.1. PostgreSQL

Test environment:

ParameterValue
Benchmark toolSysbench (OLTP Read/Write)
Number of tables64
Rows per table1000000
Workload typeRead/Write
Thread countConfigured per instance size
PostgreSQL versionPostgreSQL 17

Result:

Flavor (vCPU/RAM)Thread countSysbench ReadSysbench WriteQPSTPS
2C4G6425956007415906177.66308.88
2C8G6424812767089295905.53295.27
4C8G6431890189111347589.71379.48
8C16G644829286137973811496.20574.79
8C32G645679842162273213519.46675.94
16C32G646448036184219915350.46767.49
16C64G646926948197903116489.02824.41

2.2. MySQL

Test environment:

ParameterValue
Benchmark toolSysbench (OLTP Read/Write)
Number of tables64
Rows per table1000000
Workload typeRead/Write
Thread countConfigured per instance size
MySQL versionMySQL 8.0.42

Result:

Flavor (vCPU/RAM)Thread countSysbench ReadSysbench WriteQPSTPS
4C8G166814500194700016224.39811.22
8C16G329748144278518423209.291160.46
8C32G329423834269252422430.671121.53
16C32G649786238279606823289.481164.47

2.3. MariaDB

Test environment:

ParameterValue
Benchmark toolSysbench (OLTP Read/Write)
Number of tables64
Rows per table1000000
Workload typeRead/Write
Thread countConfigured per instance size
MySQL versionMariaDB 10.6

Result:

Flavor (vCPU/RAM)Thread countSysbench ReadSysbench WriteQPSTPS
4C8G1610573514211134125174.341258.72
8C16G328923236209462821245.251062.26
8C32G328491182208638820216.521010.83
16C32G6410267208256803224444.581222.23
16C64G6410789884271924125688.301284.42

2.4. MongoDB

Test environment:

ParameterValue
Benchmark toolSysbench (OLTP Read/Write)
Number of documents1.000.000
Number of operations1.000.000
Workload typeRead/Write
Thread count (YCSB threads)Cấu hình tương ứng với từng flavor
MongoDB versionMongoDB 6.0.6

Result:

Flavor (vCPU/RAM)Thread countSysbench ReadSysbench WriteQPSTPS
2C4G85001954998053372.363372.36
2C8G85000224999784004.934004.93
4C8G164997725002285023.815023.81
8C16G325002934997076417.546417.54
8C32G325003724996285921.645921.64
16C32G644998655001358532.798532.79
16C64G6449998950001112972.0212972.02

2.5. Redis

Test environment:

ParameterValue
Benchmark toolSysbench (OLTP Read/Write)
Number of Key1.000.000
Workload typeRead/Write
Redis versionRedis 7.2.1

Result:

Flavor (vCPU/RAM)Sysbench ReadSysbench WriteTotal QPSP99 latencyAVG latency
2C4G686002940598005.2528.933.10
2C8G683462929697641.6130.853.92
4C8G679482912697074.2635.336.77
8C16G686552942898083.0328.033.41
8C32G678112906796878.2935.845.77
16C32G679642913297096.0733.544.89
16C64G683292928997617.7331.744.42

3. Analysis & Recommendations

  • Increasing CPU and memory generally improves throughput.
  • Each database engine exhibits different scaling characteristics.
  • Performance gains may diminish at higher configurations depending on workload and system limits.

Important:

  • Benchmark results are workload-specific and provided for reference only.
  • Actual performance may vary depending on:
    • Application workload characteristics.
    • Database schema and indexing.
    • Read/write ratio.
    • Storage and network configuration.

Customers are strongly encouraged to test with their own workloads before deploying to production.

Recommendations:

Use these benchmark results as guidance when selecting database engines and instance sizes. For optimal performance, validate configuration choices through application-specific performance testing.