Skip to main content

Klustron (formerly KunlunBase) vs. OceanBase TPC-C Comparison Results

KlustronAbout 1 min

Klustron (formerly KunlunBase) vs. OceanBase TPC-C Comparison Results

The Klustron team believes in friendly communication, learning, and reference. After each release, we compare Klustron with several other common distributed database systems in terms of performance to provide reference for industry professionals. We will continue to publish the comparison results of various products. We welcome everyone to read, verify, and ask questions on our official forum.

Specifically, we compare Klustron with TiDB, CockroachDB, OceanBase in terms of sysbench, TPC-C, TPC-H, TPC-DS performance, and with Greenplum in terms of TPC-H and TPC-DS performance. Additionally, we compare Klustron-storage (the storage node of Klustron) with Percona-MySQL, PostgreSQL, OpenGauss in terms of sysbench and TPC-C performance. We welcome everyone to stay updated, share, and provide feedback on these comparisons.

Test Server Details:

IPCPUMemoryDiskOperation System
132(enp5s0)AMD Ryzen 9 5950X 16 cores 32 threads128G2T.m2 + 1T.m2 + 4THDDCentos8.3
134(enp5s0)AMD Ryzen 9 5950X 16 cores 32 threads128G2T.m2 + 1T.m2 + 4THDDCentos8.3
140(enp5s0)AMD Ryzen 9 5950X 16 cores 32 threads64G1T.m2 + 1T.m2Centos8.3

Cluster Configuration:

Klustron:
  • Cluster mode: RBR
  • Each server deploys one Cluster_mgr, Node_mgr, computing node, and metadata node
    • Two storage shards are deployed on the three servers, with one primary shard on 132 and 134 respectively.
    • Each storage shard has one master and two slave nodes.
OceanBase:
  • Each test server deploys one observer
  • One obproxy is deployed on 132 and 134 respectively.

Test Description:

  • Benchmarksql 5.0 was used in this test.
  • OceanBase modified Benchmarksql based on this articleopen in new window and used the official OceanBase jdbc driveropen in new window.
  • Both database clusters in this test had 50 warehouses loaded.
  • The test duration was 5 minutes for each test.
  • After each test, there was a 5-minute pause before proceeding to the next test.

Cluster Configurations

Klustron:
{
        "comp":[{
                        "statement_timeout":1200000,
                        "mysql_read_timeout":1200,
                        "mysql_write_timeout":1200,
                        "lock_timeout":1200000,
                        "autovacuum": "off",
                        "log_min_duration_statement":1200000
                }
        ],
        "metadata":[{
                        "lock_wait_timeout":1200,
                        "innodb_lock_wait_timeout":1200
                }
        ],
        "storage":[{
                "lock_wait_timeout":1200,
                "innodb_lock_wait_timeout":1200,
                "fullsync_timeout":1200,
                "enable_fullsync": "OFF",
                "innodb_flush_log_at_trx_commit": 0,
                "sync_binlog": 0,
                "innodb_buffer_pool_size": "32*1024*1024*1024",
                "max_binlog_size": "1*1024*1024*1024"
                }
        ]
}

OceanBase:
    writing_throttling_trigger_percentage: 100
    memory_limit_percentage: 80
    syslog_io_bandwidth_limit: 10MB
    enable_async_syslog: True
    builtin_db_data_verify_cycle: 0
    enable_monotonic_weak_read: False
    weak_read_version_refresh_interval: 0
    enable_sql_audit: False
    enable_perf_event: False
    syslog_level: PERF
    enable_syslog_recycle: true
    enable_syslog_wf: true
    max_syslog_file_count: 4

Performance Results:

threadsOceanBase-tpmCKlustron-tpmC
2526727.922538.99
5026449.7233431.78
7525716.2536090.11
10024998.1636072.49
12521698.2935211.52
15021011.1440422.41
17520230.1138191.84
20019124.7236993.18
22519829.3835779.81
25017830.1529728.55

Comparison Graph

END