insertRealtimeRandomData.sh 584 B

12345678910111213141516171819
  1. #!/usr/bin/env bash
  2. ROOT=$(cd `dirname $0`/../../../; pwd)
  3. cd $ROOT
  4. #host=39.104.80.229
  5. host=127.0.0.1
  6. storagePath="root.test1.wf01.wt01"
  7. clear
  8. #for pointCount in 1000 2000 3000 5000 10000 20000 30000 50000 100000 200000 300000
  9. for pointCount in 1000
  10. do
  11. echo "----test insert dataCountPerPoint:${pointCount}"
  12. java -cp ./lib/iotdb.jar demo.insert.InsertRealtimeRandomData \
  13. --host $host --storagePath ${storagePath} --pointNamePrefix pointName1_ --pointCount $pointCount --seed 1 \
  14. --mean 10 --variance 1 --debug 0 2>&1 | tee -a ./log/iotdb/out.log
  15. sleep 1 #1 second
  16. done