- #!/usr/bin/env bash
- ROOT=$(cd `dirname $0`/../../; pwd)
- cd $ROOT
- source $ROOT/shell/tsdb/common.sh
- pointCountArray=(1 2 3 5 10 20 30 50 100 200)
- for(( i=0;i<${#pointCountArray[@]};i++))
- do
- echo "----test query realtime data pointCount:${pointCountArray[i]}"
- java -cp ./lib/influxdb.jar demo.query.histQuery.QueryMultiPointHistData \
- --host $host --pointNamePrefix pointName1_ --pointCount ${pointCountArray[i]} \
- --beginDate "2017-06-01 00:00:00" --endDate "2017-06-01 00:00:01" --pointIndex 1 \
- --showQueryResult 0 2>&1 | tee -a ./log/influxdb/out.log
- done
|