oracle
订阅专栏
这个测试案例的优点是不用造数据,但要创建用户和表空间
create user soe identified by soe;
create tablespace soe datafile ‘/home/oracle/dingjia/guangxi/soe.dbf’ size 100M autoextend on maxsize unlimited;
grant connect,resource to soe;
alter user soe quota unlimited on soe ;
alter user soe default tablespace soe;
./charbench -c ../configs/Stress_Test.xml -u soe -p soe -r stresstest1.xml -stats full -dbap dingjia -dbau "sys as sysdba" -uc 4 -rt 0:01 -cs //localhost/guangxi
测试50个用户的时候,tps值最高53000.