Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more
Download
Standard view
Full view
of .
Save to My Library
Look up keyword
Like this
9Activity
0 of .
Results for:
No results containing your search query
P. 1
Oracle tuning Waits Related

Oracle tuning Waits Related

Ratings: (0)|Views: 106 |Likes:
Published by shubhrobhattacharya

More info:

Published by: shubhrobhattacharya on Sep 18, 2009
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as DOC, PDF, TXT or read online from Scribd
See more
See less

03/16/2013

pdf

text

original

 
Explanation of Waits:
SQL> desc v$system_event;Name------------------------EVENT TOTAL_WAITS TOTAL_TIMEOUTS TIME_WAITEDAVERAGE_WAIT TIME_WAITED_MICROv$system_event This view displays the count (total_waits) of all wait events since startup of theinstance.If timed_statistics is set to true, the sum of the wait times for all events arealso displayed in the column time_waited. The unit of time_waited is one hundreth of a second.Since 10g, an additional column (time_waited_micro) measures wait times inmillionth of a second.total_waits where event='buffer busy waits' is equal the sum of count inv$waitstat.v$enqueue_stat can be used to break down waits on the enqueue wait event. Whilethis view totals all events in an instance, v$session
select event, total_waits, time_waited from v$system_event where eventlike '%file%'Order by total_waits desc;
column c1 heading 'Event|Name' format a30column c2 heading 'Total|Waits' format 999,999,999column c3 heading 'Seconds|Waiting' format 999,999column c4 heading 'Total|Timeouts' format 999,999,999column c5 heading 'Average|Wait|(in secs)' format 99.999ttitle 'System-wide Wait Analysis|for current wait events'select event c1, total_waits c2, time_waited / 100 c3, total_timeouts c4, average_wait/100 c5from sys.v_$system_event where event not in ('dispatcher timer','lock element cleanup','Null event','parallel query dequeue wait','parallel query idle wait - Slaves','pipe get','PL/SQL lock timer','pmon timer','rdbms ipc message','slave wait','smon timer','SQL*Net break/reset to client','SQL*Net message from client',

Activity (9)

You've already reviewed this. Edit your review.
1 hundred reads
irukulapati liked this
sunny_dba liked this
brijesh1747 liked this
Tomy Mathew liked this
sharmakaushal liked this
junaid9900 liked this
Palash Sarkar liked this

You're Reading a Free Preview

Download
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->