Oceanbase-py

Latest version: v0.0.1.2

Safety actively analyzes 682361 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 10 of 30

27.03

TPC-DS 测试

**测试方案:**

* 使用 OBD 部署 OceanBase 数据库集群。客户端需要部署在一台机器上, 作为客户端的压力机器。您无需部署 ODP,测试时直连任意一台机器即可。
* 3 节点的 OceanBase 集群部署规模为 1:1:1,部署成功后先新建跑 TPCDS 测试的租户及用户(sys 租户是管理集群的内置系统租户,请勿直接使用 sys 租户进行测试),设置租户的 Primary Zone 为 RANDOM。先执行数据装载,然后多次顺序执行 99 个 SQL 后取均值。
* 测试数据量:100GB。

**租户信息:**

* MAX_CPU = 26
* MEMORY_SIZE = 70g

**参数调优:**

sql
sys
ALTER system flush plan cache GLOBAL;
ALTER system SET enable_sql_audit=false;
ALTER system SET enable_perf_event=false;
ALTER system SET syslog_level='PERF';
ALTER system SET enable_record_trace_log=false;

测试租户
SET GLOBAL ob_sql_work_area_percentage = 80;
SET GLOBAL ob_query_timeout = 36000000000;
SET GLOBAL ob_trx_timeout = 36000000000;
SET GLOBAL max_allowed_packet = 67108864;
SET GLOBAL parallel_servers_target = 624;


**测试结果:**

| Query | V4.1(s) | V4.2(s) |
| --- | --- | --- |

14.55

11.22

9.76

9.59

8.0

Page 10 of 30

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.