What is measure of "Waits" value in AWR Report?
Event
Waits
%Time -outs
Total Wait Time (s)
Avg wait (ms)
Waits /txn
SQL*Net more data from dblink
406,747
466
1
184.13
db file scattered read
28,659
330
12
12.97
SQL*Net message from dblink
30,115
254
8
13.63
log file parallel write
21,021
177
8
9.52
Hi All
As below example, I have question What is measure of "Waits" value in "Wait Events" section in AWR report?
Because "Waits" value is high but "Total Wait Time (s)" is low. example "SQL*Net message from dblink" has 30,115 "Waits" but "Total Wait Time (s)" less than "db file scattered read" has 28,659 "Waits".
Could you please explain more about "Waits" value?
Thank you
Hiko
taohiko wrote:
Event
Waits
%Time -outs
Total Wait Time (s)
Avg wait (ms)
Waits /txn
SQL*Net more data from dblink
406,747
466
1
184.13
db file scattered read
28,659
330
12
12.97
SQL*Net message from dblink
30,115
254
8
13.63
log file parallel write
21,021
177
8
9.52
Hi All
As below example, I have question What is measure of "Waits" value in "Wait Events" section in AWR report?
It's simply a count ... of the number of times the system had to "WAIT" on the specified event.
Because "Waits" value is high but "Total Wait Time (s)" is low. example "SQL*Net message from dblink" has 30,115 "Waits" but "Total Wait Time (s)" less than "db file scattered read" has 28,659 "Waits".
Look at "AVG wait time". In the one case, there were fewer occurrences of the event, but the average wait time per event was greater.
If I buy 3 hamburgers and pay $1000 each
or I buy 500 hamburgers and pay $1.00 each,
why do 3 hamburgers cost more than 500 hamburgers?
Could you please explain more about "Waits" value?
"Waits" is the number of times the system had to wait on the named event, during the sampling period.
"Total Wait Time" is the total time (measured in seconds) spent waiting on all occurrences of the specified event, during the sampling period.
"Avg" wait" is the average time (measured in milliseconds) spent on each occurrence of the specified event, during the sampling period.
It seems pretty self-evident. You count how many times something happens (waits), you measure the time spent doing that something (total wait time), and you divide the total time spent (total wait time) by the number of times it happened (waits) to find out the average time spent on each occurrence of that something.
Thank you
Hiko
Similar Messages
-
hi,
We are using 11.2.0.3.0 on solaris 10 facing slow performance, following are the Wait Events in AWR report, need assistance to overcome it. Also if any specific document to analyze AWR report and to pin point the performance bottleneck.
Foreground Wait Events
Avg
%Time Total Wait
wait
Waits % DB
Event
Waits -outs Time (s)
(ms)
/txn time
direct path read
308,729
0
21,191
69
58.0 39.5
db file sequential read
208,754
0
3,742
18
39.2
7.0
cursor: pin S
19,541,899
0
2,561
0 3,668.5
4.8
Background Wait Events
Avg
%Time Total Wait
wait
Waits % bg
Event
Waits -outs Time (s)
(ms)
/txn time
log file parallel write
26,479
0
942
36
5.0 40.3
db file parallel write
216,823
0
809
4
40.7 34.6
control file sequential re
11,673
0
56
5
2.2
2.4
control file parallel writ
6,280
0
35
6
1.2
1.5
direct path read
534
0
26
49
0.1
1.1You need to identify if you are excessively running Parallel Query -- too many queries being parallelised and doing direct path reads bypassing the buffer cache.
In 11gR2, you might also find full table scans of large tables becoming direct path reads.
See this thread : https://forums.oracle.com/thread/2552571
Hemant K Chitale -
How to measure CPU utilization from Oracle AWR
Hi All,
How to measure the cpu usage % from the AWR reports.
Oracle : 10.2.0.3
OS : AIX 5300-12-02
I see the top 5 waited events listing CPU time in it.
Top 5 Timed Events Avg %Total
~~~~~~~~~~~~~~~~~~ wait Call
Event Waits Time (s) (ms) Time Wait Class
CPU time 98,655 40.0
Is it mean that the CPU utilization is full to its 100%. Is there any other way to measure how much an oracle instance is utilizing the CPU ?
Please advice.
TIA,
NvHi,
Check this script, if possible run in toad.
col LastCallET format 99,999
col cpumins format 99,999
col status format a1 trunc
col module format a20
col username format a15
col logontime format a12
col machine format a15 trunc
col sid format 9999
select * from (
select 'P',s.sid, s.status, t.value/100/60 cpumins ,
floor(last_call_et/60) "LastCallET",
to_char(s.logon_time,'mm/dd hh24:mi') logontime,
s.username,s.process, p.spid, s.module , s.machine, s.sql_hash_value
from v$sesstat t, v$session s, v$process p
where t.statistic# = 12
and s.sid = t.sid
and s.paddr = p.addr
and s.type = 'USER'
and s.sql_hash_value != 1425819161
union
select 'N',s.sid, s.status, t.value*-1/100/60 cpumins ,
floor(last_call_et/60) "LastCallET",
to_char(s.logon_time,'mm/dd hh24:mi') logontime,
s.username,s.process, p.spid, s.module , s.machine, s.sql_hash_value
from v$sesstat t, v$session s, v$process p
where t.statistic# = 12
and s.sid = t.sid
and s.paddr = p.addr
and s.type = 'USER'
and s.sql_hash_value != 1425819161
and t.value < 0
order by 4 desc)
where rownum < 11
Regards,
Satya. -
Hi All,
Not very much experienced in performance tunning that why need your help, i generate AWR report for different times what to check, i started with top 5 events and trying to understand the portion of the report. Can anyone help me to understand the same
In case if AWR requires for the 3 snap shot i will provide the sameHi,
If you have a performance issue on your system look for causes of that performance issue in the AWR. eg. compare the awr report for the period with bad performance with that of a one taken when performance was good. AWR taken during bad time would have "things" that weren't in the awr taken when performance was good or have "high values" for some "things". Start from that point and drill down.
If you don't have performance issues then confirm everything is running as it shoud be. Compare several awr reports and there shoulnd't me "anything" out of the ordinary.
You can start with
Instance Efficiency Percentages (Target 100%)
Top 5 Timed Foreground Events
Time Model Statistics
There are no hard and fast rules as to how you go about interpreting an awr. It depends on type of problem you have, your system, your applicaiton, time of day etc.
http://www.dba-oracle.com/t_rac_statspack_awr_report_tips.htm -
In AWR report, what is "Batched IO (bound) vector count" ?
Hi All,
Oracle v11.2, Linux, 64bit.
I am looking at AWR report, in section, Instance Activity Stats.
First stat is "Batched IO (bound) vector count". What does that stand for? I tried searching in documentation.
Actually, in Instance Activity Stats, first few lines are, Batched IO (bound) vector count, Batched IO (full) vector count, Batched IO (space) vector count, Batched IO block miss count, Batched IO double miss count. Where can I find the details/meaning for these statistics ??
Thanks in advanceThis is an idle wait event. For the description of it, see below
http://download.oracle.com/docs/cd/B19306_01/server.102/b14237/waitevents003.htm#sthref3197
Tanel has written good posts for the same.Check them out as well,
http://blog.tanelpoder.com/2008/02/07/sqlnet-message-to-client-wait-gotcha/
http://blog.tanelpoder.com/2008/02/10/sqlnet-message-to-client-vs-sqlnet-more-data-to-client/
HTH
Aman....
Edited by: Aman.... on Nov 3, 2008 11:02 PM added Tanel's links. -
Measure performance of disk from AWR
We are using Oracle 10.2.0.4.0 on Linux platform.
This is a development database. After replacing the disk for database, my manager has asked me to find if the new disk is performing slow or fast. Can i gauge disk performance from AWR report by comparing the reports with old and new disks. I think I can use IO STATS section for comparison using average reads and writes per second. Is this a correct way?Top 5 Timed Events (On new disk)
Event
Waits
Time(s)
Avg Wait(ms)
% Total Call Time
Wait Class
db file sequential read
639,846
5,530
9
76.9
User I/O
Can you please tell me as what is the average wait time. Is it the time taken by disk to serve one request. In Old disk, this time is 4 (ms). Does this suggest that the performance of old disk is better than this new one. -
What is "reliable message" wait event?
Hi, all.
What is "reliable message" wait event?
The wait class is "Other", not "Idle".
From time to time, I can see "reliable message" wait event
in the Top 5 Timed Events section from AWR reports.
In addition, what is "CPU time" in the Top 5 Timed Events section?
Thanks and Regards.
Message was edited by:
user507290Dear Yas.
Thanks for your reply.
The database is 2 node RAC database (10.2.0.2.0) on 32 bit windows 2003 EE SP1.
Does "AQ" mean Streams AQ???
Can I disable Streams AQ facility??
Thanks and Regards.
Message was edited by:
user507290
Message was edited by:
user507290 -
Awr report showing "Undo segment recovery" in top 1st wait event.
Hi all.
Today evening oracle.exe is hitting 100% cpu in windows server 2003.
In the awr report "undo segment recovery" listed in the top 5 wait event (1st place) and
also in the enterprise manager it shows the details like,
ACTION 1:
Action Investigate the cause for high "undo segment recovery" waits. Refer to Oracle's "Database Reference" for the description of this wait event. Use given SQL for further investigation.
Rationale The SQL statement with SQL_ID "0x63ctfjb1m1j" was found waiting for "undo segment recovery" wait event.
SQL Text UPDATE PF_SubjectVEChapterPage SET NeedsRecalcState = NULL, NeedsUnsignState = ...
SQL ID 0x63ctfjb1m1j
Rationale The SQL statement with SQL_ID "0x6uvufcw5umh" was found waiting for "undo segment recovery" wait event.
SQL Text
SQL ID 0x6uvufcw5umh
Rationale The SQL statement with SQL_ID "2dvmt5mhr3m10" was found waiting for "undo segment recovery" wait event.
SQL Text UPDATE PF_SubjectVEChapterPage SET NeedsRecalcState = NULL, NeedsUnsignState = ...
SQL ID 2dvmt5mhr3m10
Rationale The SQL statement with SQL_ID "gx5pummu20jzb" was found waiting for "undo segment recovery" wait event.
SQL Text UPDATE PF_SubjectVEChapterPage SET NeedsRecalcState = NULL, NeedsUnsignState = ...
SQL ID gx5pummu20jzb
Rationale The SQL statement with SQL_ID "1rxk3vt41zg1u" was found waiting for "undo segment recovery" wait event.
SQL Text
SQL ID 1rxk3vt41zg1u
ACTION 2:
Investigate the cause for high "undo segment recovery" waits in Module "dllhost.exe".
ACTION 3:
Investigate the cause for high "undo segment recovery" waits in Service "SYS$USERS".
I'm not sure what action i need to take exactly.Please provide your valuable suggestions to proceed further.
Thanks, Muhammed Thameem.http://download.oracle.com/docs/cd/A97630_01/server.920/a96536/apa5.htm
"undo segment recovery
PMON is rolling back a dead transaction. The wait continues until rollback finishes.
Wait Time: 3 seconds
Parameters:
segment# -> The ID of the rollback segment that contains the transaction that is being rolled back
tx flags -> The transaction flags (options) set for the transaction that is being rolled back? -
RAC specific Wait events in AWR
DB version: 10.2.0.4
OS : Solaris x86
What are the most frequent RAC specific Wait events that appear in AWR reports ?Hi Pete,
This depends on your environment. You can identify them as follows:
Monitoring Oracle RAC Statistics and Wait Events
http://download.oracle.com/docs/cd/E11882_01/rac.112/e16795/monitor.htm#i1010220
ASH Report for Oracle RAC: Top Cluster Events
The ASH report Top Cluster Events section is part of the Top Events report that is specific to Oracle RAC. The Top Cluster Events report lists events that account for the highest percentage of session activity in the cluster wait class event along with the instance number of the affected instances. You can use this information to identify which events and instances caused a high percentage of cluster wait events.
http://download.oracle.com/docs/cd/E11882_01/rac.112/e16795/monitor.htm
Regards,
Levi Pereira
<font size="1" color="red">Please close your thread when you get the solution to your problem.</font><br>
<font size="1" color="red">Mark the replies answered "helpful" answer and/or "correct" answer that will help others with same problem.</font><br>
<font size="1" color="red">Thanks for doing your part to make this community as valuable as possible for everyone!</font><br> -
I'm trying to download a audiobook I got this morning with iTunes. However, the book is frozen on "waiting" status, what is the audiobook "waiting" for?
Hello Jose,
I would be concerned too if the audiobook I purchased from iTunes was not downloading on my iPhone. I have a few suggestions to get it downloaded to your iPhone.
First, I recommend checking to see if the download was interrupted:
If your download was interrupted using your iPhone, iPad, or iPod touch
From the Home screen, tap the iTunes app.
For iPhone or iPod touch, tap More > Downloads. For iPad, tap Downloads.
Enter your account name and password if prompted.
Tap the blue download arrow to resume.
iTunes: How to resume interrupted iTunes Store downloads
http://support.apple.com/kb/ht1725
If the audiobook still does not download, I recommend signing out and back into the iTunes Store on your iPhone:
Changing your Apple ID account
Tap Settings > iTunes & App Stores, then tap the Apple ID signed in.
Sign out of the current Apple ID account and then sign in with another account or create a new Apple ID.
The last step states to sign in with another account, but for the situation you described, I recommend just signing in with your same Apple ID.
You can find the full article here:
iOS: Changing the signed-in iTunes Store Apple ID account
http://support.apple.com/kb/HT1311
If you are still not able to download the audiobook, you can report an issue with this purchase using the steps in this article:
How to report an issue with your iTunes Store, App Store, Mac App Store, or iBookstore purchase
http://support.apple.com/kb/ht1933
Best,
Sheila M. -
What is use of Acquisiton value in functional location in PM module?
Hello,
what is use of Acquisiton value in functional location in PM module?
Regards,
Ram Rathode.HI Ram,
You can do an F4 to get the description of a field.
Please go through following for your reference:
Acquisition Value of an Asset
Assets table for Acquisition value and Equipment number
http://help.sap.com/saphelp_erp60_sp/helpdata/en/01/d544ef4ab311d189740000e8322d00/frameset.htm
http://help.sap.com/erp2005_ehp_05/helpdata/EN/c1/376976449a11d188fe0000e8322f96/frameset.htm
Please award if useful.
Thanks,
Ravi -
Negative Values of Library Cache Hit Ratio in AWR Report
Hi all,
We are getting Negative values of Library cache hit ratio in AWR Report of 11g(11.2.0.3) with Solaris[tm] OE (64-bit).
Please suggest us why it shows negative value.
Instance Efficiency Percentages (Target 100%)
Buffer Nowait %: 99.87 Redo NoWait %: 99.99
Buffer Hit %: 92.17 In-memory Sort %: 100.00
Library Hit %: -3,321.23 Soft Parse %: 81.95
Execute to Parse %: 92.88 Latch Hit %: 95.11
Parse CPU to Parse Elapsd %: 87.25 % Non-Parse CPU: 81.39
Regards,
Madhan
Edited by: user12078989 on Jul 25, 2012 7:40 AMHi Aman,
DB not restarted during this time.. we don't have production access. we will get awr report automatically from customer daily. also i am getting issue in our local environment v$rowcache view gets values is negative for dc_users and dc_tablespaces parameter may be it's related production issue... -
What is the sql waiting for 9000+ sec ??
http://download.oracle.com/docs/cd/B19
306_01/server.102/b14237/dynviews_2094.htm#REFRN30229
Edited by: S2K on Dec 23, 2009 12:09 PM
Edited by: S2K on Dec 23, 2009 12:38 PMskvaish1 wrote:
Hi,
Sorry I inferred as Simple view. You may increase the PGA to 500M or 1024M which may help you on HASH JOINS but it will be helpful on next session. Existing session will not get affected. Also you have to work on your query to reduce so many FULL table scans. I an not sure if you have updated statistics on the involved tables.
He's spent 9,946 seconds on the CPU without waiting - so sizing of the PGA to avoid spilling workareas to disk is not his problem and messing about with the PGA_AGGREGATE_TARGET is unlikely to help.
The most obvious guess is that the aggregate subquery with full tablescan indicated by the last three lines and the FILTER at line two (id 1) really is happening the 266 thousand times indicated by the ROWS in line 3 (id 2). (And it's happening in memory.)
Regards
Jonathan Lewis
http://jonathanlewis.wordpress.com
http://www.jlcomp.demon.co.uk
To post code, statspack/AWR report, execution plans or trace files, start and end the section with the tag {noformat}{noformat} (lowercase, curly brackets, no spaces) so that the text appears in fixed format.
"Science is more than a body of knowledge; it is a way of thinking"
Carl Sagan -
What is the request state value to shutdown VM using hyper-v?
As we know request state value 3 is used to turnoff VM , what is the request state value to shutdown hyper-v VM ? Is there any different ways to shutdown hyper v VM using C# wmi?
Regards
VenkiThis forum is for Windows Embedded Standard 8. Please post to the hyper-V forum is here:
https://social.technet.microsoft.com/Forums/windowsserver/en-US/home?forum=winserverhyperv
www.annabooks.com / www.seanliming.com / Book Author - Pro Guide to WE8S, Pro Guide to WES 7, Pro Guide to POS for .NET -
What if I've waited to restore my phone?
What if I've waited to restore my phone, and have things on there that I'd like to keep?
You can restore from the backups that you made in icloud
iCloud: Backup and restore overview
Maybe you are looking for
-
I have an external hard drive and want to know how to transfer files to my new lap top Window 7
I have an external hard drive and I want to transfer my i-tune files to my new laptop....Anyone done this? What must I do?Thanks
-
"no" symbol issues with itunes 10.5 (can't drag music into itunes)
When I first downloaded itunes 10.5 I was having issues clicking on the different topics on the left hand side such as movies, music, etc, i'd ALWAYS get a "no symbol" (circle with a line through it), but when I right clicked it worked I downloaded s
-
AI not printing parts of file in color
Hello, My problem is Adobe Illustrator will not print certain parts of a flyer I created in color. The Left side picture prints ok but the text "Art Department" prints in b&w.
-
IMessage receipt opens compose new
When my phone is locked and i receive an imessage, instead of the received message opening a new message compose screen opens. Just began happening ... any way to correct this problem?
-
I have a mif file from which I need to create a 1 level index. I have numerous data which contains a colon; so the MText tag looks something like this - <MText `Accredited: Representative'> Now, I know that the function of a colon is "Separates level