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-DS 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-DS 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-DS 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-DS 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-DS benchmark.
Results
| Query ID | Query response time of OceanBase Database V4.3.3 in three-node deployment (unit: s) |
|---|---|
| Q1 | 0.23 |
| Q2 | 1.18 |
| Q3 | 0.14 |
| Q4 | 11.64 |
| Q5 | 1.22 |
| Q6 | 0.24 |
| Q7 | 0.27 |
| Q8 | 0.26 |
| Q9 | 0.53 |
| Q10 | 0.56 |
| Q11 | 6.99 |
| Q12 | 0.29 |
| Q13 | 0.21 |
| Q14 | 9.31 |
| Q15 | 0.43 |
| Q16 | 0.7 |
| Q17 | 0.45 |
| Q18 | 0.35 |
| Q19 | 0.18 |
| Q20 | 0.24 |
| Q21 | 0.18 |
| Q22 | 1.32 |
| Q23 | 13.09 |
| Q24 | 0.99 |
| Q25 | 0.68 |
| Q26 | 0.21 |
| Q27 | 0.34 |
| Q28 | 0.92 |
| Q29 | 0.53 |
| Q30 | 0.25 |
| Q31 | 0.71 |
| Q32 | 0.11 |
| Q33 | 0.57 |
| Q34 | 0.34 |
| Q35 | 0.86 |
| Q36 | 0.31 |
| Q37 | 0.33 |
| Q38 | 1.97 |
| Q39 | 0.84 |
| Q40 | 0.16 |
| Q41 | 0.03 |
| Q42 | 0.11 |
| Q43 | 0.59 |
| Q44 | 0.47 |
| Q45 | 0.38 |
| Q46 | 0.41 |
| Q47 | 1.19 |
| Q48 | 0.24 |
| Q49 | 0.93 |
| Q50 | 0.51 |
| Q51 | 2.94 |
| Q52 | 0.11 |
| Q53 | 0.18 |
| Q54 | 0.7 |
| Q55 | 0.11 |
| Q56 | 0.63 |
| Q57 | 0.78 |
| Q58 | 0.74 |
| Q59 | 2.67 |
| Q60 | 0.66 |
| Q61 | 0.37 |
| Q62 | 0.42 |
| Q63 | 0.19 |
| Q64 | 1.02 |
| Q65 | 0.85 |
| Q66 | 0.45 |
| Q67 | 10.62 |
| Q68 | 0.33 |
| Q69 | 0.53 |
| Q70 | 1.19 |
| Q71 | 0.5 |
| Q72 | 10.83 |
| Q73 | 0.2 |
| Q74 | 4.43 |
| Q75 | 2.09 |
| Q76 | 0.49 |
| Q77 | 0.81 |
| Q78 | 3.05 |
| Q79 | 0.61 |
| Q80 | 1.27 |
| Q81 | 0.19 |
| Q82 | 0.52 |
| Q83 | 0.62 |
| Q84 | 0.19 |
| Q85 | 0.57 |
| Q86 | 0.4 |
| Q87 | 2.12 |
| Q88 | 3.37 |
| Q89 | 0.28 |
| Q90 | 0.18 |
| Q91 | 0.12 |
| Q92 | 0.11 |
| Q93 | 0.56 |
| Q94 | 0.57 |
| Q95 | 7.13 |
| Q96 | 0.28 |
| Q97 | 1.09 |
| Q98 | 0.37 |
| Q99 | 0.73 |
| Total | 134.76 |