<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Another use case for WaitProf &#8211; diagnosing &#8220;events in waitclass Other&#8221;</title>
	<atom:link href="http://blog.tanelpoder.com/2008/06/21/another-use-case-for-waitprof-diagnosing-events-in-waitclass-other/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.tanelpoder.com/2008/06/21/another-use-case-for-waitprof-diagnosing-events-in-waitclass-other/</link>
	<description>Oracle troubleshooting, internals and performance tuning</description>
	<lastBuildDate>Thu, 11 Mar 2010 20:28:36 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: lscheng</title>
		<link>http://blog.tanelpoder.com/2008/06/21/another-use-case-for-waitprof-diagnosing-events-in-waitclass-other/comment-page-1/#comment-2623</link>
		<dc:creator>lscheng</dc:creator>
		<pubDate>Sat, 26 Sep 2009 16:33:52 +0000</pubDate>
		<guid isPermaLink="false">http://tanelpoder.wordpress.com/2008/06/21/another-use-case-for-waitprof-diagnosing-events-in-waitclass-other/#comment-2623</guid>
		<description>Aha, I thought Oracle count as CPU usage when it is waiting in the runqueue (for the time model)

So in ASH it can actually get wrong CPU usage

Great, thanks for the tips!</description>
		<content:encoded><![CDATA[<p>Aha, I thought Oracle count as CPU usage when it is waiting in the runqueue (for the time model)</p>
<p>So in ASH it can actually get wrong CPU usage</p>
<p>Great, thanks for the tips!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tanel Poder</title>
		<link>http://blog.tanelpoder.com/2008/06/21/another-use-case-for-waitprof-diagnosing-events-in-waitclass-other/comment-page-1/#comment-2620</link>
		<dc:creator>Tanel Poder</dc:creator>
		<pubDate>Sat, 26 Sep 2009 14:37:38 +0000</pubDate>
		<guid isPermaLink="false">http://tanelpoder.wordpress.com/2008/06/21/another-use-case-for-waitprof-diagnosing-events-in-waitclass-other/#comment-2620</guid>
		<description>So, things like ASH &amp; v$session_wait are not good for determining CPU usage. In fact, if you want to get the correct picture, use vmstat or an OS tool.</description>
		<content:encoded><![CDATA[<p>So, things like ASH &#038; v$session_wait are not good for determining CPU usage. In fact, if you want to get the correct picture, use vmstat or an OS tool.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tanel Poder</title>
		<link>http://blog.tanelpoder.com/2008/06/21/another-use-case-for-waitprof-diagnosing-events-in-waitclass-other/comment-page-1/#comment-2619</link>
		<dc:creator>Tanel Poder</dc:creator>
		<pubDate>Sat, 26 Sep 2009 14:36:59 +0000</pubDate>
		<guid isPermaLink="false">http://tanelpoder.wordpress.com/2008/06/21/another-use-case-for-waitprof-diagnosing-events-in-waitclass-other/#comment-2619</guid>
		<description>Yes as if an Oracle session is not waiting for anything then it ought to be on CPU (or at least try to be on it).

The exceptions are instrumentation bugs where Oracle actually is waiting for some syscall to complete without reporting it in wait event and also suspended processes.

Regarding your other question - Oracle does not report more CPU usage than actually used if you query the right views (like V$SYS_TIME_MODEL DB CPU or even V$SYSSTAT session cpu usage). The data you see in these views comes straight from OS, Oracle asks CPU usage info via times() syscalls on Unixes.

Now if we talk about v$session_wait, ASH etc, yes they can account more CPU usage than there&#039;s CPU time available, because Oracle thinks even CPU scheduling latency is CPU usage.</description>
		<content:encoded><![CDATA[<p>Yes as if an Oracle session is not waiting for anything then it ought to be on CPU (or at least try to be on it).</p>
<p>The exceptions are instrumentation bugs where Oracle actually is waiting for some syscall to complete without reporting it in wait event and also suspended processes.</p>
<p>Regarding your other question &#8211; Oracle does not report more CPU usage than actually used if you query the right views (like V$SYS_TIME_MODEL DB CPU or even V$SYSSTAT session cpu usage). The data you see in these views comes straight from OS, Oracle asks CPU usage info via times() syscalls on Unixes.</p>
<p>Now if we talk about v$session_wait, ASH etc, yes they can account more CPU usage than there&#8217;s CPU time available, because Oracle thinks even CPU scheduling latency is CPU usage.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: lscheng</title>
		<link>http://blog.tanelpoder.com/2008/06/21/another-use-case-for-waitprof-diagnosing-events-in-waitclass-other/comment-page-1/#comment-2602</link>
		<dc:creator>lscheng</dc:creator>
		<pubDate>Thu, 24 Sep 2009 05:24:05 +0000</pubDate>
		<guid isPermaLink="false">http://tanelpoder.wordpress.com/2008/06/21/another-use-case-for-waitprof-diagnosing-events-in-waitclass-other/#comment-2602</guid>
		<description>Hi Tanel

I have observed in your script that when process is waiting you use CPU / runqueue to show as wait event.

Do you know if in a CPU bounded system Oracle can account more DB CPU time than it actually uses? i.e Can Oracle report more CPU usage (in Oracle statistics such as DB CPU or CPU Used by this session) than it really uses?</description>
		<content:encoded><![CDATA[<p>Hi Tanel</p>
<p>I have observed in your script that when process is waiting you use CPU / runqueue to show as wait event.</p>
<p>Do you know if in a CPU bounded system Oracle can account more DB CPU time than it actually uses? i.e Can Oracle report more CPU usage (in Oracle statistics such as DB CPU or CPU Used by this session) than it really uses?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Log Buffer #103: a Carnival of the Vanities for DBAs</title>
		<link>http://blog.tanelpoder.com/2008/06/21/another-use-case-for-waitprof-diagnosing-events-in-waitclass-other/comment-page-1/#comment-444</link>
		<dc:creator>Log Buffer #103: a Carnival of the Vanities for DBAs</dc:creator>
		<pubDate>Fri, 27 Jun 2008 16:34:52 +0000</pubDate>
		<guid isPermaLink="false">http://tanelpoder.wordpress.com/2008/06/21/another-use-case-for-waitprof-diagnosing-events-in-waitclass-other/#comment-444</guid>
		<description>[...] his Core IT for geeks and pros, Tanel Poder expounds another use case for WaitProf. He begins, &#8220;I recently diagnosed a performance issue where the &#8216;events in waitclass [...]</description>
		<content:encoded><![CDATA[<p>[...] his Core IT for geeks and pros, Tanel Poder expounds another use case for WaitProf. He begins, &#8220;I recently diagnosed a performance issue where the &#8216;events in waitclass [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: tanelp</title>
		<link>http://blog.tanelpoder.com/2008/06/21/another-use-case-for-waitprof-diagnosing-events-in-waitclass-other/comment-page-1/#comment-443</link>
		<dc:creator>tanelp</dc:creator>
		<pubDate>Fri, 20 Jun 2008 18:04:49 +0000</pubDate>
		<guid isPermaLink="false">http://tanelpoder.wordpress.com/2008/06/21/another-use-case-for-waitprof-diagnosing-events-in-waitclass-other/#comment-443</guid>
		<description>Thanks! Yep, normally you shouldn&#039;t see any significant waits from the Other group (that&#039;s why they all are consolidated there), but there are always some corner cases...</description>
		<content:encoded><![CDATA[<p>Thanks! Yep, normally you shouldn&#8217;t see any significant waits from the Other group (that&#8217;s why they all are consolidated there), but there are always some corner cases&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bradd Piontek</title>
		<link>http://blog.tanelpoder.com/2008/06/21/another-use-case-for-waitprof-diagnosing-events-in-waitclass-other/comment-page-1/#comment-442</link>
		<dc:creator>Bradd Piontek</dc:creator>
		<pubDate>Fri, 20 Jun 2008 17:59:16 +0000</pubDate>
		<guid isPermaLink="false">http://tanelpoder.wordpress.com/2008/06/21/another-use-case-for-waitprof-diagnosing-events-in-waitclass-other/#comment-442</guid>
		<description>Awesome post. I have been seeing just about every 10g database we have with a warning for the &#039;OTHER&#039; wait group in Grid control. I knew there were a ton of waits aggregated under it, but at least now I have some ammunition into diving into the true issues, if they exist.</description>
		<content:encoded><![CDATA[<p>Awesome post. I have been seeing just about every 10g database we have with a warning for the &#8216;OTHER&#8217; wait group in Grid control. I knew there were a ton of waits aggregated under it, but at least now I have some ammunition into diving into the true issues, if they exist.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
