queryMultiPointHistData.sh 697 B

1234567891011121314151617181920212223242526
  1. #!/usr/bin/env bash
  2. ROOT=$(cd `dirname $0`/../../; pwd)
  3. cd $ROOT
  4. source $ROOT/shell/tsdb/common.sh
  5. storagePath="root.test1.wf01.wt01"
  6. days=1
  7. pointIndex=1
  8. pointCount=10
  9. echo "----test query range days:$days"
  10. beginDate="2017-06-01 00:00:00"
  11. echo beginDate:beginDate
  12. endDate="2017-06-01 00:00:01"
  13. echo endDate:$endDate
  14. for pointCount in 1 2 3 5 10 20 30 50 100 200 300 500 1000 2000 3000
  15. do
  16. java -cp ./lib/iotdb.jar demo.query.histQuery.QueryMultiPointHistData \
  17. --host $host --storagePath ${storagePath} --pointNamePrefix pointName1_ --pointCount $pointCount \
  18. --pointIndex $pointIndex --beginDate "$beginDate" --endDate "$endDate" \
  19. --showQueryResult 0 2>&1 | tee -a ./log/iotdb/out.log
  20. done