insertRealtimeRandomData.sh 466 B

1234567891011121314
  1. #!/usr/bin/env bash
  2. #host=39.104.80.229
  3. host=127.0.0.1
  4. #for pointCount in 1000 2000 3000 5000 10000 20000 30000 50000 100000 200000 300000
  5. for pointCount in 30000
  6. do
  7. echo "----test insert dataCountPerPoint:${pointCount}"
  8. java -cp ./lib/tsdb.jar demo.allInsert.InsertRealtimeRandomData \
  9. --host=$host --pointNamePrefix=pointName_ --pointCount=$pointCount --seed=1 \
  10. --mean=10 --variance=1 --debug=0 2>&1 | tee -a ./log/tsdb/out.log
  11. sleep 1 #1 second
  12. done