File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change 11
11
12
12
# Changes
13
13
#
14
+ # bengsig 29-sep-2023 - No ash if no awr
14
15
# bengsig 7-aug-2023 - Also mute59 in graphs
15
16
# bengsig 1-aug-2023 - Add oltpxcset markers from oltpxcrun
16
17
# bengsig 9-may-2023 - --oltp-xc option to turn on external control
@@ -358,7 +359,7 @@ if test $oltpxc = no || oltpxcset | grep -q stopnow=0
358
359
then
359
360
360
361
# copy the ash data from systemdb to results db
361
- rwloadsim -u -A 2 -q ashstep2.rwl $runnumber $runperiod &
362
+ test $doawr -ne 0 && rwloadsim -u -A 2 -q ashstep2.rwl $runnumber $runperiod &
362
363
363
364
# copy the ping.csv file to resultsdb
364
365
rwloadsim -u -A 1 -q pingcsv2res.rwl $runnumber &
386
387
test -x ./coreextra-$RWLOLTP_NAME .sh && ./coreextra-$RWLOLTP_NAME .sh $runnumber
387
388
else
388
389
# copy the ash data from systemdb to results db
389
- rwloadsim -u -A 2 -q ashstep2.rwl $runnumber $runperiod &
390
+ test $doawr -ne 0 && rwloadsim -u -A 2 -q ashstep2.rwl $runnumber $runperiod &
390
391
# and make the awr reports
391
392
test $doawr -ne 0 && rwloadsim -u -A 1 -q makeawr.rwl $runnumber &
392
393
# and the the truncate
Original file line number Diff line number Diff line change 2
2
# Licensed under the Universal Permissive License v 1.0
3
3
# as shown at https://oss.oracle.com/licenses/upl/
4
4
5
+ # bengsig 29-sep-2023 - no ashstep if no doawr
5
6
# bengsig 26-apr-2023 - Make sure ashstep1 is performed
6
7
# bengsig 25-oct-2022 - External control
7
8
# bengsig 15-sep-2022 - Use new file open syntax
@@ -232,7 +233,7 @@ $if !xc_enabled $then
232
233
$endif
233
234
234
235
# Create the SQL that will collact top ash data
235
- threads 1
236
+ threads doawr != 0
236
237
for wait 1 stop runperiod loop
237
238
null;
238
239
$if xc_enabled $then if xc_stopnow=1 or xc_stopnow=2 then break; end if; $endif
You can’t perform that action at this time.
0 commit comments