/
nyt.sh
executable file
·53 lines (34 loc) · 919 Bytes
/
nyt.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
#!/usr/bin/env bash
pScript='./desc2.pl'
unset ORAENV_ASK
. /usr/local/bin/oraenv <<< c12
mkdir -p ./nyt
# 18c
db='//192.168.1.93/orcl.jks.com'
echo
echo "=== DESCRIBE - $db==="
echo
./flush/sh
export NYTPROF=trace=2:start=init:file=./nyt/nyt-18c-describe.out
perl -MDevel::NYTProf $pScript --describe --database $db
echo
echo "=== NO DESCRIBE - $db ==="
echo
./flush/sh
export NYTPROF=trace=2:start=init:file=./nyt/nyt-18c-no-describe.out
perl -MDevel::NYTProf $pScript --no-describe --database $db
# 19c
db='//lestrade/p01.jks.com'
echo
echo "=== DESCRIBE - $db==="
echo
./flush/sh
export NYTPROF=trace=2:start=init:file=./nyt/nyt-19c-describe.out
perl -MDevel::NYTProf $pScript --describe --database $db
echo
echo "=== NO DESCRIBE - $db ==="
echo
# 19c
./flush/sh
export NYTPROF=trace=2:start=init:file=./nyt/nyt-19c-no-describe.out
perl -MDevel::NYTProf $pScript --no-describe --database $db