首先是需要把benchmarksql工具解压到虚拟机
初始化设置
create tablespace TPCC datafile ‘TPCC01.dbf’ size 128 autoextend on maxsize unlimited;
create user BENCHMARKSQL identified by “123456789” default tablespace TPCC;
grant DBA to BENCHMARKSQL;
配置props.dm脚本内容
插入数据
./runLoader.sh props.dm
修改dm.ini参数
MAX_OS_MEMORY = 100 MEMORY_POOL = 1000