安装
wget http://download.oracle.com/otn-pub/java/jdk/7u40-b43/jdk-7u40-linux-x64.rpm #注意此处到官网下载后上传,需要验证
wget http://ftp.heanet.ie/mirrors/www.apache.org/dist/maven/maven-3/3.1.1/binaries/apache-maven-3.1.1-bin.tar.gz
tar -zxf apache-maven-3.1.1-bin.tar.gz
ln -s /soft/apache-maven-3.1.1 /usr/local/maven
[root@db3v soft]# cat /etc/profile.d/maven.sh
export M2_HOME=/usr/local/maven
export PATH=${M2_HOME}/bin:$

参数解释
Core workload package properties
The property files used with the core workload generator can specify values for the following properties:
fieldcount: the number of fields in a record (default: 10)
fieldlength: the size of each field (default: 100)
readallfields: should reads read all fields (true) or just one (false) (default: true)
readproportion: what proportion of operations should be reads (default: 0.95)
updateproportion: what proportion of operations should be updates (default: 0.05)
insertproportion: what proportion of operations should be inserts (default: 0)
scanproportion: what proportion of operations should be scans (default: 0)
readmodifywriteproportion: what proportion of operations should be read a record, modify it, write it back (default: 0)
requestdistribution: what distribution should be used to select the records to operate on – uniform, zipfian or latest (default: uniform)
maxscanlength: for scans, what is the maximum number of records to scan (default: 1000)
scanlengthdistribution: for scans, what distribution should be used to choose the number of records to scan, for each scan, between 1 and maxscanlength (default: uniform)
insertorder: should records be inserted in order by key (“ordered”), or in hashed order (“hashed”) (default: hashed)

压力测试

posted on 2016-09-05 16:12  高权  阅读(465)  评论(0编辑  收藏  举报