HOL 18c AWR Diff - Upgrade Your Database: Index
HOL 18c AWR Diff - Upgrade Your Database: Index
HOL 18c AWR Diff - Upgrade Your Database: Index
mikedietrichde.com
In this part of the lab you will create AWR diff reports. Those
reports give you a first indication about issues you may see (or
performance improvements). It is important to compare periods
which had roughly the same load and duration.
Index
1. Generate Load
1. Generate Load
. upgr18
cd /home/oracle/scripts
sqlplus / as sysdba
@/home/oracle/scripts/snap.sql
1 of 7 24/06/18, 15:54
HOL 18c AWR Diff – Upgrade your Database about:reader?url=https://mikedietrichde.com/hands-on-lab/hol-18...
@/home/oracle/scripts/snap.sql
@?/rdbms/admin/awrddrpt.sql
SQL> @?/rdbms/admin/awrddrpt.sql
Hit RETURN
2 of 7 24/06/18, 15:54
HOL 18c AWR Diff – Upgrade your Database about:reader?url=https://mikedietrichde.com/hands-on-lab/hol-18...
pair of snapshots
Type: 2
Hit RETURN
Now you need to define the first snapshot interval – please fill in the
snapshot IDs you have noted down during the first HammerDB run:
3 of 7 24/06/18, 15:54
HOL 18c AWR Diff – Upgrade your Database about:reader?url=https://mikedietrichde.com/hands-on-lab/hol-18...
20:00 1
70 18 Jun 2018
21:00 1
71 18 Jun 2018
23:17 1
72 19 Jun 2018
00:25 1
68
First Begin Snapshot Id specified: 68
69
4 of 7 24/06/18, 15:54
HOL 18c AWR Diff – Upgrade your Database about:reader?url=https://mikedietrichde.com/hands-on-lab/hol-18...
localhost.lo
Type: 2
Hit RETURN
5 of 7 24/06/18, 15:54
HOL 18c AWR Diff – Upgrade your Database about:reader?url=https://mikedietrichde.com/hands-on-lab/hol-18...
74 19 Jun 2018
11:15 1
72
73
Hit RETURN
<<< Wait until the HTML output has been generated >>>
exit
In your xterm start Mozilla Firefox with the awr diff report:
6 of 7 24/06/18, 15:54
HOL 18c AWR Diff – Upgrade your Database about:reader?url=https://mikedietrichde.com/hands-on-lab/hol-18...
snapshot IDs
Browse also through the SQL statistics and see if you find
remarkable differences between the two runs.
Edit
7 of 7 24/06/18, 15:54