forked from rc2sql/rc2sql
-
Notifications
You must be signed in to change notification settings - Fork 0
/
exps_suspb.sh
executable file
·55 lines (43 loc) · 1.25 KB
/
exps_suspb.sh
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
to=400
real=10
ulimit -s 1048576
. "./functions.sh"
prefix="/home/rcsql"
seeds="6 7 8 9 10 11"
./amazon/gen_test "/home/rcsql/z_6" 1 0 "${real}" 2 1 0
./amazon/gen_test "/home/rcsql/z_7" 1 0 "${real}" 2 1 0
./amazon/gen_test "/home/rcsql/z_8" 1 1 "${real}" 2 1 0
./amazon/gen_test "/home/rcsql/z_9" 1 1 "${real}" 2 1 0
./amazon/gen_test "/home/rcsql/z_10" 2 0 "${real}" 2 1 0
./amazon/gen_test "/home/rcsql/z_11" 2 0 "${real}" 2 1 0
cp /home/rcsql/z_11.sig /home/rcsql/z_6.sig
cp /home/rcsql/z_11.sig /home/rcsql/z_7.sig
cp /home/rcsql/z_11.sig /home/rcsql/z_8.sig
cp /home/rcsql/z_11.sig /home/rcsql/z_9.sig
for i in 6 8 10
do
ln -sf amazon/Gift_Cards.db z_${i}.db
ln -sf amazon/Gift_Cards.log z_${i}.log
ln -sf amazon/init_gift.psql z_${i}.psql
ln -sf amazon/init_gift.msql z_${i}.msql
done
for i in 7 9 11
do
ln -sf amazon/Musical_Instruments.db z_${i}.db
ln -sf amazon/Musical_Instruments.log z_${i}.log
ln -sf amazon/init_music.psql z_${i}.psql
ln -sf amazon/init_music.msql z_${i}.msql
done
for i in {6..11}
do
init > /dev/null
done
line "\\tool" run01APSQL
line "\\toolnonopt" run01SPSQL
line "\\vgtool" run02APSQL
line "\\vgtoolnonopt" run02SPSQL
echo "\\hline"
#line "\\ail" run03
line "\\ddd" run04DDD
line "\\ldd" run04LDD
line "\\mpreg" run05