queryMultiPointLastData.sh 658 B

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