system sh/stop_dnodes.sh system sh/ip.sh -i 1 -s up system sh/deploy.sh -n dnode1 -m 192.168.0.1 -i 192.168.0.1 system sh/cfg.sh -n dnode1 -c numOfTotalVnodes -v 10 system sh/cfg.sh -n dnode2 -c numOfTotalVnodes -v 10 system sh/cfg.sh -n dnode3 -c numOfTotalVnodes -v 10 system sh/cfg.sh -n dnode1 -c cacheBlockSize -v 200 system sh/cfg.sh -n dnode2 -c cacheBlockSize -v 200 system sh/cfg.sh -n dnode3 -c cacheBlockSize -v 200 print ========= start dnodes system sh/exec.sh -n dnode1 -s start sleep 3000 print ======== step1 sql create database db tables 4; sql use db $tbPrefix = t $i = 0 while $i < 1000 sql create table st (ts timestamp, i int) tags(j int); $tb = $tbPrefix . $i $tb = $tb . a $tb1 = $tb . 1 sql create table $tb1 using st tags(1) sql insert into $tb1 values(now, 1); $tb1 = $tb . 2 sql create table $tb1 using st tags(1) sql insert into $tb1 values(now, 1); $tb1 = $tb . 3 sql create table $tb1 using st tags(1) sql insert into $tb1 values(now, 1); $tb1 = $tb . 5 sql create table $tb1 using st tags(1) sql insert into $tb1 values(now, 1); $tb1 = $tb . 5 sql create table $tb1 using st tags(1) sql insert into $tb1 values(now, 1); $tb1 = $tb . 6 sql create table $tb1 using st tags(1) sql insert into $tb1 values(now, 1); $tb1 = $tb . 7 sql create table $tb1 using st tags(1) sql insert into $tb1 values(now, 1); $tb1 = $tb . 8 sql create table $tb1 using st tags(1) sql insert into $tb1 values(now, 1); sql drop table st sleep 1000 print times $i $i = $i + 1 endw print ======== step2 sleep 1000 sql drop database db sql show databases if $rows != 0 then return -1 endi