queryMultiPointLastData 633 B

1234567891011121314151617
  1. #!/usr/bin/env bash
  2. #host=39.104.80.229
  3. host=127.0.0.1
  4. storagePath="root.test1.wf01.wt01";
  5. pointIndex=1
  6. pointCount=10
  7. for pointCount in 1 2 3 5 10 20 30 50 100 200 300 500 1000 2000 3000 5000 10000 20000
  8. #for pointCount in 5000
  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