12345678910111213141516171819202122232425262728 |
- #!/usr/bin/env bash
- ROOT=$(cd `dirname $0`/../../../; pwd)
- cd $ROOT
- source $ROOT/shell/iotdb/common.sh
- storagePath="root.test1.wf01.wt01"
- days=1
- pointIndex=1
- pointCount=10
- echo "----test query range days:$days"
- beginDate="2022-12-06 10:59:09"
- echo beginDate:beginDate
- #endDate=$(date -d "${beginDate} ${days} days" +"%Y-%m-%d %H:%M:%S")
- endDate="2022-12-06 10:59:10"
- echo endDate:$endDate
- for pointCount in 1 2 3 5 10 20 30 50 100 200 300 500 1000 2000
- do
- java -cp ./lib/iotdb.jar demo.query.histQuery.QueryMultiPointHistData \
- --host $host --storagePath ${storagePath} --pointNamePrefix pointName1_ --pointCount $pointCount \
- --pointIndex $pointIndex --beginDate "$beginDate" --endDate "$endDate" \
- --showQueryResult 0 2>&1 | tee -a ./log/iotdb/out.log
- done
|