Test environment (Alibaba Cloud ECS)
Three-node hardware configurations
Service type ECS type Number of instances Number of CPU cores Memory OceanBase Database ecs.r6.8xlarge 3 32 256 GB.
Each OBServer node has a system disk of 300 GB, a log disk of 400 GB, and a data disk of 2 TB. The disk performance level is PL1.TPC-H ecs.r6.8xlarge 1 32 256 GB
Three-node tenant specifications
CREATE RESOURCE UNIT tpch_unit max_cpu 30, memory_size '180g' CREATE RESOURCE POOL tpch_pool unit = 'tpch_unit', unit_num = 1, zone_list=('zone1','zone2','zone3'); CREATE TENANT tpch_mysql resource_pool_list=('tpch_pool'), zone_list('zone1', 'zone2', 'zone3'), primary_zone=RANDOM, locality='F@zone1,F@zone2,F@zone3' set variables ob_compatibility_mode='mysql', ob_tcp_invited_nodes='%';Software versions
Service type Software version OceanBase Database - Enterprise Edition: V4.3.3
- Community Edition: V4.3.3_CE
TPC-H V3.0.0 Operating system CentOS Linux release 7.9.2009 (Core)
Test plan
Deploy an OceanBase cluster using OceanBase Deployer (obd). Deploy the TPC-H client on a server for stress testing. There is no need to deploy the OceanBase Database Proxy (ODP). You can connect directly to a server during the test.
The 3-node cluster is deployed with a 1:1:1 configuration. After deployment, create the tenants and users needed for the TPC-H test. The
systenant is a built-in system tenant for cluster management and do not use it to perform the test. Set the tenant'sprimary_zonetoRANDOM.Data size: 100 GB.
For detailed testing procedures, see TPC-H benchmark.
Test results
| Query ID | Query response time of OceanBase Database V4.3.3 in three-node deployment (unit: s) |
|---|---|
| Q1 | 1.97 |
| Q2 | 0.30 |
| Q3 | 0.58 |
| Q4 | 0.42 |
| Q5 | 0.80 |
| Q6 | 0.06 |
| Q7 | 1.33 |
| Q8 | 0.86 |
| Q9 | 2.26 |
| Q10 | 0.72 |
| Q11 | 0.19 |
| Q12 | 0.38 |
| Q13 | 1.89 |
| Q14 | 0.24 |
| Q15 | 0.44 |
| Q16 | 0.62 |
| Q17 | 1.48 |
| Q18 | 1.45 |
| Q19 | 0.27 |
| Q20 | 0.66 |
| Q21 | 3.09 |
| Q22 | 1.18 |
| Total | 21.33 |