QueryMultiPointHistData 716 B

12345678910111213141516171819202122232425
  1. #!/usr/bin/env bash
  2. #host=39.104.80.229
  3. host=127.0.0.1
  4. storagePath="root.test1.wf01.wt01"
  5. days=1
  6. pointIndex=1
  7. pointCount=10
  8. echo "----test query range days:$days"
  9. beginDate="2022-12-06 10:59:09"
  10. echo beginDate:beginDate
  11. #endDate=$(date -d "${beginDate} ${days} days" +"%Y-%m-%d %H:%M:%S")
  12. endDate="2022-12-06 10:59:10"
  13. echo endDate:$endDate
  14. for pointCount in 1 2 3 5 10 20 30 50 100 200 300 500 1000 2000
  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