12345678910111213141516171819 |
- #!/usr/bin/env bash
- ROOT=$(cd `dirname $0`/../../../; pwd)
- cd $ROOT
- source $ROOT/shell/iotdb/common.sh
- storagePath="root.test1.wf01.wt01";
- pointIndex=1
- pointCount=10
- for pointCount in 1 2 3 5 10 20 30 50 100 200 300 500 1000 2000 3000 5000 10000 20000
- do
- #API规定Limit上限1000,多的需要更改iotdb配置
- echo "----test query points last data pointIndex:${pointIndex} pointCount:${pointCount}"
- java -cp ./lib/iotdb.jar demo.query.last.QueryMultiPointLastData \
- --host $host --storagePath ${storagePath} --pointNamePrefix pointName1_ --pointIndex ${pointIndex} --pointCount ${pointCount} \
- --showQueryResult 0 2>&1 | tee -a ./log/iotdb/out.log
- done
|