<?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: Oracle CPU time</title>
	<atom:link href="/2011/07/21/oracle-cpu-time/feed/" rel="self" type="application/rss+xml" />
	<link>http://dboptimizer.com/2011/07/21/oracle-cpu-time/</link>
	<description>database performance, SQL tuning and data visualizatoin</description>
	<lastBuildDate>Sat, 03 Mar 2018 05:02:37 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.6</generator>
	<item>
		<title>By: AWR reports: interpreting CPU usage &#124; Oracle Diagnostician</title>
		<link>http://dboptimizer.com/2011/07/21/oracle-cpu-time/#comment-154074</link>
		<dc:creator>AWR reports: interpreting CPU usage &#124; Oracle Diagnostician</dc:creator>
		<pubDate>Tue, 03 Feb 2015 11:17:39 +0000</pubDate>
		<guid isPermaLink="false">http://dboptimizer.com/?p=1294#comment-154074</guid>
		<description><![CDATA[[&#8230;] CPU time represents time spent on CPU and does not include time waiting for CPU. Unfortunately, the latter quantity is not accessible via AWR (but there are indirect ways of extracting in via ASH, see here). [&#8230;]]]></description>
		<content:encoded><![CDATA[<p>[&#8230;] CPU time represents time spent on CPU and does not include time waiting for CPU. Unfortunately, the latter quantity is not accessible via AWR (but there are indirect ways of extracting in via ASH, see here). [&#8230;]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kyle Hailey</title>
		<link>http://dboptimizer.com/2011/07/21/oracle-cpu-time/#comment-150009</link>
		<dc:creator>Kyle Hailey</dc:creator>
		<pubDate>Wed, 19 Jun 2013 18:19:38 +0000</pubDate>
		<guid isPermaLink="false">http://dboptimizer.com/?p=1294#comment-150009</guid>
		<description><![CDATA[&quot;WAIT&quot; is wait for non-CPU , non-COMMIT, non-I/O 
&quot;WAIT&quot; is other stuff like latches, locks, buffer access etc
wait for CPU is CPU_ORA_WAIT
your database load profile from the data you gave its

CPU_ORA 2.937
CPU_ORA_WAIT 4.913
COMMIT .502
READIO 21.447
WAIT 3.248

if we add all those numbers up we get 33 or so, meaning over that period of time there were 33 session active on average.
Of that 33, there were 21 on average were waiting for  I/O, so that&#039;s your BIG bottleneck.
Your next biggest area is CPU wait , CPU_ORA_WAIT, which is almost 5. You shouldn&#039;t be waiting for CPU so that&#039;s a problem. Your machine doesn&#039;t have enough CPU to handle the load.
As far as WAIT and COMMIT goes, they are small compared to your other problems. Don&#039;t worry about them unless a particular session you care about is stuck on those mainly. You can see that by going to the &quot;Top Activity&quot; screen in Enterprise manager (or using a tool like DB Optimizer from Embarcadero)]]></description>
		<content:encoded><![CDATA[<p>&#8220;WAIT&#8221; is wait for non-CPU , non-COMMIT, non-I/O<br />
&#8220;WAIT&#8221; is other stuff like latches, locks, buffer access etc<br />
wait for CPU is CPU_ORA_WAIT<br />
your database load profile from the data you gave its</p>
<p>CPU_ORA 2.937<br />
CPU_ORA_WAIT 4.913<br />
COMMIT .502<br />
READIO 21.447<br />
WAIT 3.248</p>
<p>if we add all those numbers up we get 33 or so, meaning over that period of time there were 33 session active on average.<br />
Of that 33, there were 21 on average were waiting for  I/O, so that&#8217;s your BIG bottleneck.<br />
Your next biggest area is CPU wait , CPU_ORA_WAIT, which is almost 5. You shouldn&#8217;t be waiting for CPU so that&#8217;s a problem. Your machine doesn&#8217;t have enough CPU to handle the load.<br />
As far as WAIT and COMMIT goes, they are small compared to your other problems. Don&#8217;t worry about them unless a particular session you care about is stuck on those mainly. You can see that by going to the &#8220;Top Activity&#8221; screen in Enterprise manager (or using a tool like DB Optimizer from Embarcadero)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ajay</title>
		<link>http://dboptimizer.com/2011/07/21/oracle-cpu-time/#comment-150007</link>
		<dc:creator>Ajay</dc:creator>
		<pubDate>Wed, 19 Jun 2013 18:02:52 +0000</pubDate>
		<guid isPermaLink="false">http://dboptimizer.com/?p=1294#comment-150007</guid>
		<description><![CDATA[1 quick question about WAIT=3.248 and COMMIT=.502
I will get into details of wait from db side but in this output, How do I interpret it ? Is it on avg 3.2 sessions are waiting for CPU ? Is there any direct relation of wait number and commit numbers in output with CPU_TOTAL or OS_CPU or any other columns ?
what should do I infer looking at wait and commit numbers in above output]]></description>
		<content:encoded><![CDATA[<p>1 quick question about WAIT=3.248 and COMMIT=.502<br />
I will get into details of wait from db side but in this output, How do I interpret it ? Is it on avg 3.2 sessions are waiting for CPU ? Is there any direct relation of wait number and commit numbers in output with CPU_TOTAL or OS_CPU or any other columns ?<br />
what should do I infer looking at wait and commit numbers in above output</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ajay</title>
		<link>http://dboptimizer.com/2011/07/21/oracle-cpu-time/#comment-149977</link>
		<dc:creator>Ajay</dc:creator>
		<pubDate>Wed, 19 Jun 2013 14:13:00 +0000</pubDate>
		<guid isPermaLink="false">http://dboptimizer.com/?p=1294#comment-149977</guid>
		<description><![CDATA[Thanks for your help. I will dig more on cause of wait events.]]></description>
		<content:encoded><![CDATA[<p>Thanks for your help. I will dig more on cause of wait events.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kyle Hailey</title>
		<link>http://dboptimizer.com/2011/07/21/oracle-cpu-time/#comment-149174</link>
		<dc:creator>Kyle Hailey</dc:creator>
		<pubDate>Fri, 14 Jun 2013 21:36:18 +0000</pubDate>
		<guid isPermaLink="false">http://dboptimizer.com/?p=1294#comment-149174</guid>
		<description><![CDATA[Your CPU demand is greater than your CPU capabilities. You database + OS is demanding 10.3 CPUs on average by your machine only had 8, so you are CPU starved.
What the waits are I don&#039;t know. This article is mainly about CPU.
For wait analysis check out the Top Activity chart in Enterprise Manager
or use DB Optimizer from Embarcadero. The following URL
https://sites.google.com/site/embtdbo/profiler
explains more about waits and load]]></description>
		<content:encoded><![CDATA[<p>Your CPU demand is greater than your CPU capabilities. You database + OS is demanding 10.3 CPUs on average by your machine only had 8, so you are CPU starved.<br />
What the waits are I don&#8217;t know. This article is mainly about CPU.<br />
For wait analysis check out the Top Activity chart in Enterprise Manager<br />
or use DB Optimizer from Embarcadero. The following URL<br />
<a href="https://sites.google.com/site/embtdbo/profiler" rel="nofollow">https://sites.google.com/site/embtdbo/profiler</a><br />
explains more about waits and load</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ajay</title>
		<link>http://dboptimizer.com/2011/07/21/oracle-cpu-time/#comment-149156</link>
		<dc:creator>Ajay</dc:creator>
		<pubDate>Fri, 14 Jun 2013 19:19:20 +0000</pubDate>
		<guid isPermaLink="false">http://dboptimizer.com/?p=1294#comment-149156</guid>
		<description><![CDATA[Thanks for detailed explanation/help along with numbers. Request you few more clarifications
Database is bottlenecked on I/O. - I agree and understand it.
What numbers shows that my system has CPU contention ? If my CPU usage is 68% then why rest of 32% is not used before declaring as CPU contention ?
CPU_ORA_WAIT is 4.913 - why db is not getting cpu even though I have 32% free cpu ?
How do I interpret WAIT=3.248 and COMMIT=.502  ? I mean what does it indicate ?]]></description>
		<content:encoded><![CDATA[<p>Thanks for detailed explanation/help along with numbers. Request you few more clarifications<br />
Database is bottlenecked on I/O. &#8211; I agree and understand it.<br />
What numbers shows that my system has CPU contention ? If my CPU usage is 68% then why rest of 32% is not used before declaring as CPU contention ?<br />
CPU_ORA_WAIT is 4.913 &#8211; why db is not getting cpu even though I have 32% free cpu ?<br />
How do I interpret WAIT=3.248 and COMMIT=.502  ? I mean what does it indicate ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kyle Hailey</title>
		<link>http://dboptimizer.com/2011/07/21/oracle-cpu-time/#comment-149054</link>
		<dc:creator>Kyle Hailey</dc:creator>
		<pubDate>Fri, 14 Jun 2013 03:52:32 +0000</pubDate>
		<guid isPermaLink="false">http://dboptimizer.com/?p=1294#comment-149054</guid>
		<description><![CDATA[@Ajay : 

From your first post

CPU_TOTAL     10.361    
CPU_OS             2.511   
CPU_ORA           2.937  
CPU_ORA_WAIT 4.913        
COMMIT             .502 
READIO           21.447 
WAIT                3.248

68%  is about 2/3 ( 2/3 = 66.6667 %) 
so 2/3 of 8 CPUs is    (2*8)/3 = 5.3
the CPU reported  is 2.5 for CPU_OS and 2.9 for CPU_ORA making a total of 5.4 which is about 5.3 

CPU_OS is CPU used by processes not part of the database you are looking at
CPU_ORA is the CPU being used by the database you are looking at
CPU_ORA_WAIT is the CPU that the database you are looking at wants but isn&#039;t getting

in your stats most of the time is spent waiting on I/O. on average 21 oracle processes are waiting for I/O
Your system  has some CPU contention but the database is much more bottlenecked on I/O wait]]></description>
		<content:encoded><![CDATA[<p>@Ajay : </p>
<p>From your first post</p>
<p>CPU_TOTAL     10.361<br />
CPU_OS             2.511<br />
CPU_ORA           2.937<br />
CPU_ORA_WAIT 4.913<br />
COMMIT             .502<br />
READIO           21.447<br />
WAIT                3.248</p>
<p>68%  is about 2/3 ( 2/3 = 66.6667 %)<br />
so 2/3 of 8 CPUs is    (2*8)/3 = 5.3<br />
the CPU reported  is 2.5 for CPU_OS and 2.9 for CPU_ORA making a total of 5.4 which is about 5.3 </p>
<p>CPU_OS is CPU used by processes not part of the database you are looking at<br />
CPU_ORA is the CPU being used by the database you are looking at<br />
CPU_ORA_WAIT is the CPU that the database you are looking at wants but isn&#8217;t getting</p>
<p>in your stats most of the time is spent waiting on I/O. on average 21 oracle processes are waiting for I/O<br />
Your system  has some CPU contention but the database is much more bottlenecked on I/O wait</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ajay</title>
		<link>http://dboptimizer.com/2011/07/21/oracle-cpu-time/#comment-149011</link>
		<dc:creator>Ajay</dc:creator>
		<pubDate>Thu, 13 Jun 2013 21:43:51 +0000</pubDate>
		<guid isPermaLink="false">http://dboptimizer.com/?p=1294#comment-149011</guid>
		<description><![CDATA[Small correction in previous post. Its 8 CPU instead of 12

NAME                                 TYPE        VALUE
------------------------------------ ----------- ------------------------------
cpu_count                            integer     8
parallel_threads_per_cpu             integer     2
resource_manager_cpu_allocation      integer     8

CLASS                  S
---------------- -------
CPU_ORA_CONSUMED     2.7
CPU_ORA_DEMAND       8.6
CPU_OS               5.0
Commit               0.4
User I/O            18.9
Wait                 2.2

Basically I want to know. How much cpu is used by db processes, os processes, waiting on IO and how is the system]]></description>
		<content:encoded><![CDATA[<p>Small correction in previous post. Its 8 CPU instead of 12</p>
<p>NAME                                 TYPE        VALUE<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212; &#8212;&#8212;&#8212;&#8211; &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br />
cpu_count                            integer     8<br />
parallel_threads_per_cpu             integer     2<br />
resource_manager_cpu_allocation      integer     8</p>
<p>CLASS                  S<br />
&#8212;&#8212;&#8212;&#8212;&#8212;- &#8212;&#8212;-<br />
CPU_ORA_CONSUMED     2.7<br />
CPU_ORA_DEMAND       8.6<br />
CPU_OS               5.0<br />
Commit               0.4<br />
User I/O            18.9<br />
Wait                 2.2</p>
<p>Basically I want to know. How much cpu is used by db processes, os processes, waiting on IO and how is the system</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ajay</title>
		<link>http://dboptimizer.com/2011/07/21/oracle-cpu-time/#comment-149009</link>
		<dc:creator>Ajay</dc:creator>
		<pubDate>Thu, 13 Jun 2013 21:37:52 +0000</pubDate>
		<guid isPermaLink="false">http://dboptimizer.com/?p=1294#comment-149009</guid>
		<description><![CDATA[This post is very interesting but I could not understand it completely so need your help in interpreting results
I am on 11.2.0.2 HP-UX Itanium with 12 CPU&#039;s
1]
METRIC_NAME                         VALUE METRIC_UNIT
------------------------------ ---------- -------------------------
Host CPU Utilization (%)       68.0972937 % Busy/(Idle+Busy)
CPU Usage Per Sec              293.686119 CentiSeconds Per Second
CPU Usage Per Txn              2.42678109 CentiSeconds Per Txn
Database CPU Time Ratio        9.17658878 % Cpu/DB_Time
Background CPU Usage Per Sec   59.8417409 CentiSeconds Per Second
Host CPU Usage Per Sec         540.916584 CentiSeconds Per Second

2]
 CPU_TOTAL     CPU_OS    CPU_ORA CPU_ORA_WAIT     COMMIT     READIO       WAIT
---------- ---------- ---------- ------------ ---------- ---------- ----------
    10.361      2.511      2.937        4.913       .502     21.447      3.248

How Do I co-relate numbers ?
CPU_TOTAL = There are on average 10 sessions running on cpu ?
I did not understand other columns in 2] and how do they corelate to 68% Host CPU utilization
Pls help.]]></description>
		<content:encoded><![CDATA[<p>This post is very interesting but I could not understand it completely so need your help in interpreting results<br />
I am on 11.2.0.2 HP-UX Itanium with 12 CPU&#8217;s<br />
1]<br />
METRIC_NAME                         VALUE METRIC_UNIT<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212; &#8212;&#8212;&#8212;- &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
Host CPU Utilization (%)       68.0972937 % Busy/(Idle+Busy)<br />
CPU Usage Per Sec              293.686119 CentiSeconds Per Second<br />
CPU Usage Per Txn              2.42678109 CentiSeconds Per Txn<br />
Database CPU Time Ratio        9.17658878 % Cpu/DB_Time<br />
Background CPU Usage Per Sec   59.8417409 CentiSeconds Per Second<br />
Host CPU Usage Per Sec         540.916584 CentiSeconds Per Second</p>
<p>2]<br />
 CPU_TOTAL     CPU_OS    CPU_ORA CPU_ORA_WAIT     COMMIT     READIO       WAIT<br />
&#8212;&#8212;&#8212;- &#8212;&#8212;&#8212;- &#8212;&#8212;&#8212;- &#8212;&#8212;&#8212;&#8212; &#8212;&#8212;&#8212;- &#8212;&#8212;&#8212;- &#8212;&#8212;&#8212;-<br />
    10.361      2.511      2.937        4.913       .502     21.447      3.248</p>
<p>How Do I co-relate numbers ?<br />
CPU_TOTAL = There are on average 10 sessions running on cpu ?<br />
I did not understand other columns in 2] and how do they corelate to 68% Host CPU utilization<br />
Pls help.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: vivek</title>
		<link>http://dboptimizer.com/2011/07/21/oracle-cpu-time/#comment-56904</link>
		<dc:creator>vivek</dc:creator>
		<pubDate>Sun, 28 Apr 2013 15:24:32 +0000</pubDate>
		<guid isPermaLink="false">http://dboptimizer.com/?p=1294#comment-56904</guid>
		<description><![CDATA[Hi Chris,

Thanks for the awesome report scripts, i have one query, i want historic CPU usage group by dbusers or osuser, as i have users that fall in different consumer groups.

Your expertise help will really help me.

thanks]]></description>
		<content:encoded><![CDATA[<p>Hi Chris,</p>
<p>Thanks for the awesome report scripts, i have one query, i want historic CPU usage group by dbusers or osuser, as i have users that fall in different consumer groups.</p>
<p>Your expertise help will really help me.</p>
<p>thanks</p>
]]></content:encoded>
	</item>
</channel>
</rss>
