benchmarcsql工具测试达梦TPCC(dm8+benchmarksql5)

TPCC是针对联机交易规范的处理系统
测试流程如下:
(已安装数据库)
1、解压工具包benchmarksql5.zip

[root@localhost ~]# chown -R dmdba:dinstall /home/dmdba/benchmarksql5.zip
[root@localhost ~]# su - dmdba 
上一次登录:六 2月 20 09:52:39 CST 2021pts/1 上
[dmdba@localhost ~]$unzip benchmarksql5.zip
[dmdba@localhost ~]$ ls                                                                
benchmarksql5  	benchmarksql5.zip  DMInstall.bin

2、配置props.dm
该版本自带dm数据库的驱动

[dmdba@localhost ~]$ chmod 755 root/benchmarksql5/run/*
[dmdba@localhost ~]$ cd benchmarksql5/run
[dmdba@localhost run]$ vim benchmarksql5/run/props.dm  更改以下参数

3、创建数据库测试用户

[dmdba@localhost bin]$ ./disql 
disql V8
用户名:
密码:

服务器[LOCALHOST:5236]:处于普通打开状态
登录使用时间: 9.199(毫秒)
SQL> create user user1 identified by 123456789;
操作已执行
已用时间: 81.185(毫秒). 执行号:11.
SQL> grant dba to user1;
操作已执行
已用时间: 12.436(毫秒). 执行号:12.
SQL> exit;

4、启动测试
–运行脚本创建表

[dmdba@localhost run]$ ./runSQL.sh props.dm sql.common/tableCreates.sql  

–运行脚本创索引

[dmdba@localhost run]$./runSQL.sh props.dm sql.common/indexCreates.sql  

–加载配置单装载数据

[dmdba@localhost run]$./runLoader.sh props.dm   

–运行测试

  [dmdba@localhost run]$./runBenchmark.sh props.dm   
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值