|
@@ -3,8 +3,7 @@
|
|
|
ROOT=$(cd `dirname $0`/../../../; pwd)
|
|
|
cd $ROOT
|
|
|
|
|
|
-#host=39.104.80.229
|
|
|
-host=127.0.0.1
|
|
|
+source $ROOT/shell/influxdb/common.sh
|
|
|
|
|
|
#dataCountPerPointArray=(1000 2000 3000 5000 10000 20000 30000 50000 100000)
|
|
|
dataCountPerPointArray=(1000)
|
|
@@ -12,7 +11,7 @@ dataCountPerPointArray=(1000)
|
|
|
pointCountArray=(1)
|
|
|
|
|
|
index=1
|
|
|
-beginDate="2021-06-01 00:00:00"
|
|
|
+beginDate="2017-06-01 00:00:00"
|
|
|
echo beginDate:beginDate
|
|
|
|
|
|
for(( i=0;i<${#pointCountArray[@]};i++))
|
|
@@ -25,9 +24,9 @@ do
|
|
|
dataCountPerPoint=${dataCountPerPointArray[j]}
|
|
|
pointNamePrefix="pointName${index}_"
|
|
|
echo "----test insert pointCount:${pointCount} dataCountPerPoint:${dataCountPerPoint}"
|
|
|
- java -cp ./lib/influxdb.jar demo.allInsert.InsertHistoricalRandomData \
|
|
|
+ java -cp ./lib/influxdb.jar -Xmx8000m demo.allInsert.InsertHistoricalRandomData \
|
|
|
--host $host --pointNamePrefix ${pointNamePrefix} --pointCount ${pointCount} \
|
|
|
- --dataCountPerPoint ${dataCountPerPoint} --beginDate "$beginDate" --period 15000 \
|
|
|
+ --dataCountPerPoint ${dataCountPerPoint} --beginDate "$beginDate" --period 1000 \
|
|
|
--seed 1 --mean 10 --variance 1 --debug 0 2>&1 | tee -a ./log/influxdb/out.log
|
|
|
done
|
|
|
done
|