How To Read AWR Reports - Oracle 11g DBA
How To Read AWR Reports - Oracle 11g DBA
Report Header
This section is self explanatory which provides database name, id, instance if RAC , platform information and snap interval. (database
workload time duration in review).
This report is for instance number 2 of my RAC environment. So if you need to the analysis on RAC environment, you need to do
it separately of all the instances in the RAC to see if all the instances are balanced the way they should be.
Begin End
Buffer Cache: 5,888M 5,888M Std Block Size: 8K
Shared Pool Size: 8,704M 8,704M Log Buffer: 138,328K
Load Profile
This section provides the snapshot of the database workload occurred during the snapshot interval.
oraclewindow.blogspot.com/2013/05/how-to-read-awr-reports.html 1/17
7/2/23, 12:10 How to read AWR reports | Oracle 11g DBA
W/A MB processed: 1,940,807.0 789,918.9
Logons: 4.3 1.7
Executes: 127.6 51.9
Rollbacks: 0.0 0.0
Transactions: 2.5
DB time(s):
Its the amount of time oracle has spent performing database user calls. Note it does not include background processes.
DB CPU(s):
Its the amount of CPU time spent on user calls. Same as DB time it does not include background process. The value is in microseconds
Redo size:
For example, the table below shows that an average transaction generates about 19,000 of redo data along with around 48,000 redo per
second.
Logical reads:
Consistent Gets+ DB blocks Gets = Logical reads
Block Changes:
The number of block modified during the sample interval
Physical reads:
No of block request causing I/O operation
Physical writes:
Number of physical writes performed
User calls:
Number of user queries generated
Parses:
The total of all parses; both hard and soft.
Hard Parses:
The parses requiring a completely new parse of the SQL statement. These consume both latches and shared pool area.
Soft Parses:
Soft parses are not listed but derived by subtracting the hard parses from parses. A soft parse reuses a previous hard parse; hence it consumes
far fewer resources.
Sorts:
No of sorts performed
Logons:
No of logons during the interval
Executes:
No of SQL Executes
Transactions:
No of transactions per second
---------------------------------------------------------------------------
Load Profile
The load profile provides an at-a-glance look at some specific operational statistics. You can compare these statistics
with a baseline snapshot report to determine if database activity is different. Values for these statistics are presented in
two formats. The first is the value per second (for example, how much redo was generated per second) and the second
is the value per transaction (for example, 1,024 bytes of redo were generated per transaction).
Statistics presented in the load profile include such things as:
Redo size - An indication of the amount of DML activity the database is experiencing.
oraclewindow.blogspot.com/2013/05/how-to-read-awr-reports.html 2/17
7/2/23, 12:10 How to read AWR reports | Oracle 11g DBA
Logical and physical reads - A measure of how many IO's (Physical and logical) that the database is performing.
User calls - Indicates how many user calls have occurred during the snapshot period. This value can give you
some indication if usage has increased.
Parses and hard parses - Provides an indication of the efficiency of SQL re-usage.
Sorts - This number gives you an indication of how much sorting is occurring in the database.
Logons - Indicates how many logons occurred during the snapshot period.
Executes - Indicates how many SQL statements were executed during the snapshot period.
Transactions - Indicates how many transactions occurred during the snapshot period.
Additionally, the load profile section provides the percentage of blocks that were changed per read, the percentage of
recursive calls that occurred, the percentage of transactions that were rolled back and the number of rows sorted per
sort operation.
These statistics include several buffer related ratios including the buffer hit percentage and the library hit percentage.
Also, shared pool memory usage statistics are included in this section.
If the the value are low like in the above case of 3.40 and 0.01 means that there could be a parsing problem. You may need to look
at bind variable issues or shared pool sizing issue.
Redo NoWait%:
In-memory Sort %:
This can tell you how efficient is you sort_area_size, hash_area_size or pga_aggrigate_target are. If you dont have adequate sizes of
sort,hash and pga parameters, then you in-memory sort per cent will go down
Soft parse %:
with 98.20 % for the soft parse meaning that about 1.72 % (100 -soft parse) is happening for hard parsing. You might want to look
at you bind variables issues.
Latch Hit %:
should be close to 100.
% Non-Parse CPU:
oraclewindow.blogspot.com/2013/05/how-to-read-awr-reports.html 3/17
7/2/23, 12:10 How to read AWR reports | Oracle 11g DBA
Most of our statements were already parsed so we weren't doing a lot of re parsing. Re parsing is high on CPU and should be
avoided.
-------------------------------------------------------------------------------------------------------------------------------
Begin End
Memory Usage %: 73.86 75.42
% SQL with executions>1: 92.61 93.44
% Memory for SQL w/exec>1: 94.33 94.98
Memory Usage % is the shared pool usage. So here we have use 73.86 per cent of our shared pool and out of that almost 94 percent
is being re-used. if Memory Usage % is too large like 90 % it could mean that your shared pool is tool small and if the percent is in
50 for example then this could mean that you shared pool is too large
---------------------------------------------------------------------------------------------------------------------------------------
Top 5 Timed Foreground Events
This section provides insight into what events the Oracle database is spending most of it's time on (see wait events).
Each wait event is listed, along with the number of waits, the time waited (in seconds), the average wait per event (in
microseconds) and the associated wait class
its critical to look into this section. If you turn off the statistic parameter, then the Time(s) wont appear. Wait analysis should be
done with respect to Time(s) as there could be million of waits but if that happens for a second or so then who cares. Therefore,
time is very important component.
So you have several different types of waits. So you may see the different waits on your AWR report. So lets discuss the most
common waits.
oraclewindow.blogspot.com/2013/05/how-to-read-awr-reports.html 4/17
7/2/23, 12:10 How to read AWR reports | Oracle 11g DBA
GC Events
Undo Events
What Next?
======================================================================
======================================================================
RAC Statistics
If you are running on a RAC cluster, then the AWRRPT.SQL report will provide various RAC statistics including statistics
on the number of RAC instances, as well as global cache and enqueue related performance statistics. Here is an
example of the RAC statistics part of the report:
Begin End
----- -----
Number of Instances: 2 2
W i l dW i E S i i
oraclewindow.blogspot.com/2013/05/how-to-read-awr-reports.html 7/17
7/2/23, 12:10 How to read AWR reports | Oracle 11g DBA
Avg
%Time Total Wait wait
Wait Class Waits -outs Time (s) (ms)
-------------------- ---------------- ------ ---------------- ------- ----
System I/O 8,142 .0 25 3
Other 439,596 99.6 3 0
User I/O 112 .0 0 3
Cluster 443 .0 0 0
Concurrency 216 .0 0 0
Commit 16 .0 0 2
Network 3,526 .0 0 0
Application 13 .0 0 0
-------------------------------------------------------------
In this report the system I/O wait class has the largest number of waits (total of 25 seconds) and an average wait of 3
milliseconds.
Wait events are normal occurrences, but if a particular sub-system is having a problem performing (e.g. the disk sub-
system) this fact will appear in the form of one or more wait events with an excessive duration. The wait event report
then provides some insight into the detailed wait events. Here is an example of the wait event report (we have
eliminated some of the bulk of this report, because it can get quite long). Note that this section is sorted by wait time
(listed in microseconds).
Avg
%Time Total Wait wait
Event Waits -outs Time (s) (ms)
---------------------------- -------------- ------ ----------- ------- ---
control file parallel write 1,220 .0 18 15
control file sequential read 6,508 .0 6 1
CGS wait for IPC msg 422,253 100.0 1 0
change tracking file synchro 60 .0 1 13
db file parallel write 291 .0 0 1
db file sequential read 90 .0 0 4
reliable message 136 .0 0 1
log file parallel write 106 .0 0 2
lms flush message acks 1 .0 0 60
oraclewindow.blogspot.com/2013/05/how-to-read-awr-reports.html 8/17
7/2/23, 12:10 How to read AWR reports | Oracle 11g DBA
gc current block 2-way 200 .0 0 0
change tracking file synchro 59 .0 0 1
In this example our control file parallel write waits (which occurs during writes to the control file) are taking up 18
seconds total, with an average wait of 15 milliseconds per wait. Additionally we can see that we have 1.6 waits per
transaction (or 15ms * 1.6 per transaction = 24ms).
Statistic Total
-------------------------------- --------------------
BUSY_TIME 128,749
IDLE_TIME 1,314,287
IOWAIT_TIME 18,394
NICE_TIME 54
SYS_TIME 31,633
USER_TIME 96,586
LOAD 0
RSRC_MGR_CPU_WAIT_TIME 0
PHYSICAL_MEMORY_BYTES 3,349,528
NUM_CPUS 4
CPU time
Buffer gets
Physical reads
Executions
Parse calls
Sharable memory
Version count
In this report we find a SQL statement that seems to be churning through 309 buffers per execution. While the
execution times are not terrible we might want to look closer into the SQL statement and try to see if we could tune it (in
fact this is Oracle issued SQL that we would not tune anyway).
Tablespace
------------------------------
oraclewindow.blogspot.com/2013/05/how-to-read-awr-reports.html 10/17
7/2/23, 12:10 How to read AWR reports | Oracle 11g DBA
Av Av Av Av Buffer Av
Reads Reads/s Rd(ms) Blks/Rd Writes Writes/s Waits Wt(
-------------- ------- ------ ------- ------------ -------- ---------- ---
SYSAUX
1 0 0.0 1.0 159 0 13
UNDOTBS2
1 0 10.0 1.0 98 0 0
SYSTEM
1 0 10.0 1.0 46 0 0
AUD
1 0 0.0 1.0 1 0 0
CDOL2_INDEX
1 0 10.0 1.0 1 0 0
CDOL_DATA
1 0 10.0 1.0 1 0 0
DBA_DEF
1 0 10.0 1.0 1 0 0
UNDOTBS1
1 0 10.0 1.0 1 0 0
USERS
1 0 10.0 1.0 1 0 0
USER_DEF
1 0 10.0 1.0 1 0 0
If the tablespace IO report seems to indicate a tablespace has IO problems, we can then use the file IO stat report
allows us to drill into the datafiles of the tablespace in question and determine what the problem might be. Here is an
example of the File IO stat report:
Tablespace Filename
------------------------ -------------------------------------------------
Av Av Av Av Buffer Av
Reads Reads/s Rd(ms) Blks/Rd Writes Writes/s Waits Wt(
-------------- ------- ------ ------- ------------ -------- ---------- ---
AUD +ASM01/a109/datafile/aud.296.604081931
1 0 0.0 1.0 1 0 0
CDOL2_INDEX +ASM01/a109/datafile/cdol2_index_001.dbf
1 0 10.0 1.0 1 0 0
CDOL_DATA +ASM01/a109/datafile/cdol_data_001.dbf
1 0 10.0 1.0 1 0 0
DBA_DEF +ASM01/a109/datafile/dba_def.294.604081931
1 0 10.0 1.0 1 0 0
SYSAUX +ASM01/a109/datafile/sysaux.299.604081927
1 0 0.0 1.0 159 0 13
SYSTEM +ASM01/a109/datafile/system.301.604081919
1 0 10.0 1.0 46 0 0
UNDOTBS1 +ASM01/a109/datafile/undotbs1.300.604081925
1 0 10.0 1.0 1 0 0
UNDOTBS2 +ASM01/a109/datafile/undotbs2.292.604081931
1 0 10.0 1.0 98 0 0
USERS +ASM01/a109/datafile/users.303.604081933
1 0 10.0 1.0 1 0 0
USER_DEF +ASM01/a109/datafile/user_def.291.604081933
1 0 10.0 1.0 1 0 0
-------------------------------------------------------------
oraclewindow.blogspot.com/2013/05/how-to-read-awr-reports.html 11/17
7/2/23, 12:10 How to read AWR reports | Oracle 11g DBA
The buffer pool statistics report follows. It provides a summary of the buffer pool configuration and usage statistics as
seen in this example:
Free Writ
Number of Pool Buffer Physical Physical Buff Comp
P Buffers Hit% Gets Reads Writes Wait Wait
--- ---------- ---- -------------- ------------ ----------- ---- ---- ----
D 64,548 100 72,465 0 355 0 0
-------------------------------------------------------------
In this case, we have a database where all the buffer pool requests came out of the buffer pool and no physical reads
were required. We also see a few (probably very insignificant in our case) buffer busy waits.
Est
Phys
Size for Size Buffers for Read Estimated
P Est (M) Factor Estimate Factor Physical Reads
--- -------- ------ ---------------- ------ ------------------
D 48 .1 5,868 4.9 803,496
D 96 .2 11,736 4.0 669,078
D 144 .3 17,604 3.3 550,831
D 192 .4 23,472 2.8 462,645
D 240 .5 29,340 2.3 379,106
D 288 .5 35,208 1.8 305,342
D 336 .6 41,076 1.4 238,729
D 384 .7 46,944 1.2 200,012
D 432 .8 52,812 1.1 183,694
D 480 .9 58,680 1.0 172,961
D 528 1.0 64,548 1.0 165,649
D 576 1.1 70,416 1.0 161,771
oraclewindow.blogspot.com/2013/05/how-to-read-awr-reports.html 12/17
7/2/23, 12:10 How to read AWR reports | Oracle 11g DBA
D 624 1.2 76,284 1.0 159,728
D 672 1.3 82,152 1.0 158,502
D 720 1.4 88,020 1.0 157,723
D 768 1.5 93,888 0.9 157,124
D 816 1.5 99,756 0.9 156,874
D 864 1.6 105,624 0.9 156,525
D 912 1.7 111,492 0.9 156,393
D 960 1.8 117,360 0.9 155,388
-------------------------------------------------------------
In this example we currently have 528GB allocated to the SGA (represented by the size factor column with a value of
1.0. It appears that if we were to reduce the memory allocated to the SGA to half of the size of the current SGA (freeing
the memory to the OS for other processes) we would incur an increase of about 1.8 times the number of physical IO's
in the process.
PGA Reports
The PGA reports provide some insight into the health of the PGA. The PGA Aggr Target Stats report provides
information on the configuration of the PGA Aggregate Target parameter during the reporting period.
The PGA Aggregate Target Histogram report provides information on the size of various operations (e.g. sorts). It will
indicate if PGA sort operations occurred completely in memory, or if some of those operations were written out to disk.
Finally the PGA Memory Advisor, much like the buffer pool advisory report, provides some insight into how to properly
size your PGA via the PGA_AGGREGATE_TARGET database parameter. The PGA Memory Advisor report is shown
here:
oraclewindow.blogspot.com/2013/05/how-to-read-awr-reports.html 13/17
7/2/23, 12:10 How to read AWR reports | Oracle 11g DBA
Pool Size Size Est LC Saved Saved Time Time
Size(M) Factr (M) Mem Obj (s) Factr (s) Factr Ob
---------- ----- -------- ------------ ------- ------ ------- ------ -----
192 .4 54 3,044 ####### .8 ####### 382.1 22,4
240 .5 92 5,495 ####### .9 ####### 223.7 22,5
288 .6 139 8,122 ####### .9 53,711 102.5 22,5
336 .7 186 12,988 ####### 1.0 17,597 33.6 22,5
384 .8 233 17,422 ####### 1.0 7,368 14.1 22,5
432 .9 280 23,906 ####### 1.0 3,553 6.8 22,5
480 1.0 327 28,605 ####### 1.0 524 1.0 22,5
528 1.1 374 35,282 ####### 1.0 1 .0 22,5
576 1.2 421 40,835 ####### 1.0 1 .0 22,5
624 1.3 468 46,682 ####### 1.0 1 .0 22,5
672 1.4 515 52,252 ####### 1.0 1 .0 22,5
720 1.5 562 58,181 ####### 1.0 1 .0 22,5
768 1.6 609 64,380 ####### 1.0 1 .0 22,5
816 1.7 656 69,832 ####### 1.0 1 .0 22,5
864 1.8 703 75,168 ####### 1.0 1 .0 22,5
912 1.9 750 78,993 ####### 1.0 1 .0 22,5
960 2.0 797 82,209 ####### 1.0 1 .0 22,5
-------------------------------------------------------------
In this example, our SGA Target size is currently set at 1056MB. We can see from this report that if we increased the
SGA target size to 2112MB, we would see almost no performance improvement (about a 98 second improvement
overall). In this case, we may determine that adding so much memory to the database is not cost effective, and that the
memory can be better used elsewhere.
Memory Advisory
Memory advisory reports for the streams pool and the java pool also appear in the report (assuming you are using the
streams pool). These reports take on the same general format as the other memory advisor reports.
oraclewindow.blogspot.com/2013/05/how-to-read-awr-reports.html 14/17
7/2/23, 12:10 How to read AWR reports | Oracle 11g DBA
to data block waits. We might then want to pursue tuning remedies to these waits if the waits are significant enough.
Here is an example of the buffer wait statistics report:
Enqueue Activity
The Enqueue activity report provides information on enqueues (higher level Oracle locking) that occur. As with other
reports, if you see high levels of wait times in these reports, you might dig further into the nature of the enqueue and
determine the cause of the delays. Here is an example of this report section:
Latch Activity
The latch activity report provides information on Oracle's low level locking mechanism called a latch. From this report
you can determine if Oracle is suffering from latching problems, and if so, which latches are causing the greates
amount of contention on the system. Here is a partial example of the latch activity report (it is quite long):
oraclewindow.blogspot.com/2013/05/how-to-read-awr-reports.html 15/17
7/2/23, 12:10 How to read AWR reports | Oracle 11g DBA
FAL request queue 75 0.0 N/A 0 0
FAL subheap alocation 75 0.0 N/A 0 0
FIB s.o chain latch 14 0.0 N/A 0 0
FOB s.o list latch 93 0.0 N/A 0 0
JS broadcast add buf lat 826 0.0 N/A 0 0
JS broadcast drop buf la 826 0.0 N/A 0 0
In this example our database does not seem to be experiencing any major latch problems, as the wait times on the
latches are 0, and our get miss pct (Pct Get Miss) is 0 also.
There is also a latch sleep breakdown report which provides some additional detail if a latch is being constantly moved
into the sleep cycle, which can cause additional performance issues.
The latch miss sources report provides a list of latches that encountered sleep conditions. This report can be of further
assistance when trying to analyze which latches are causing problems with your database.
Additional Reports
Several segment related reports appear providing information on:
Segments with ITL waits
oraclewindow.blogspot.com/2013/05/how-to-read-awr-reports.html 16/17
7/2/23, 12:10 How to read AWR reports | Oracle 11g DBA
These reports help provide more detailed information on specific segments that might be experiencing performance
problems.
The dictionary cache and library cache statistics reports provide performance information on the various areas in the
data dictionary cache and the library cache.
The process memory summary, SGA memory summary, and the SGA breakdown difference reports provide summary
information on how memory allocated to the database is allocated amongst the various components. Other memory
summary reports may occur if you have certain optional components installed (such as streams).
The database parameter summary report provides a summary of the setting of all the database parameters during the
snapshot report. If the database parameters changed during the period of the report, then the old and new parameters
will appear on the report.
oraclewindow.blogspot.com/2013/05/how-to-read-awr-reports.html 17/17