insertRealtimeRandomData.sh 631 B

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