repeat.sim 1.5 KB
Newer Older
S
slguan 已提交
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71
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 clog -v 0
system sh/cfg.sh -n dnode1 -c numOfTotalVnodes -v 4
system sh/cfg.sh -n dnode1 -c tables -v 4

system sh/exec.sh -n dnode1 -s start

sleep 3000
sql connect
print ============================ dnode1 start

sql create database d1
sql create table d1.t1(ts timestamp, i int)

sql create database d2
sql create table d2.t1(ts timestamp, i int)

sql create database d3
sql create table d3.t1(ts timestamp, i int)

sql create database d4
sql create table d4.t1(ts timestamp, i int)

sleep 3000

sql drop database d1
sql drop database d2
sql drop database d3
sql drop database d4
sleep 3000

sql create database d5
sql create table d5.t1(ts timestamp, i int)

sql create database d6
sql create table d6.t1(ts timestamp, i int)

sql create database d7
sql create table d7.t1(ts timestamp, i int)

sql create database d8
sql create table d8.t1(ts timestamp, i int)

sleep 3000

sql drop database d5
sql drop database d6
sql drop database d7
sql drop database d8

sleep 3000

sql create database d9;
sql create table d9.t1(ts timestamp, i int)

sql create database d10;
sql create table d10.t1(ts timestamp, i int)

sql create database d11
sql create table d11.t1(ts timestamp, i int)

sql create database d12
sql create table d12.t1(ts timestamp, i int)

sql drop database d9
sql drop database d10
sql drop database d11
sql drop database d12