repeat.sim 1.4 KB
Newer Older
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
system sh/stop_dnodes.sh
system sh/deploy.sh -n dnode1 -i 1
system sh/cfg.sh -n dnode1 -c wallevel -v 0
system sh/cfg.sh -n dnode1 -c maxtablesPerVnode -v 4

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

sleep 2000
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 2000

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

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 2000

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

sleep 2000

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

system sh/exec.sh -n dnode1 -s stop -x SIGINT