queryMultiPointLastData.sh 659 B

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