You were brought to this page based on an internet search
and as a free service to Oracle DBAs.
The text below is an except from the book,
Oracle Performance Firefighting, written by
Craig Shallahamer of
OraPub, Inc.
Figures and tables are not included on this page, only their reference.
To order the book in either print or PDF form, click
here.
©2009, 2010 by Craig Shallahamer. This is copyrighted material.
PleaseOut of respect for those involved in the creation of the book and also for
their familes, we ask you to respect the copyright both in intent and deed. Thank you.
-------------------------------
* CPU available is the time interval multiplied by the number of CPU cores. In Figure 4-12, the time interval is 10 minutes, which is 600 seconds (10 _ 60). The number of CPU cores is four, so the CPU power available is 2,400 seconds (600s _ 4 cores, or 4 cores _ 10 minutes _ 60 seconds / 1 minute).
Therefore, the average CPU utilization is only 7% (0.0719 = 172.50 seconds / 2,400 seconds). At only 7% CPU utilization, regardless of the number of CPU cores, the system is operating nowhere near the response-time curve elbow.
Based on v$osstat data, you also can calculate the average operating system CPU utilization. Just remember the CPU consumed requires two samples: the initial and the final. If you take only one sample, you will probably notice the bogus utilization calculation will far exceed 100%. The CPU consumed is the final BUSY_TIME value minus the initial value. The CPU time available will be the sample interval multiplied by the number of CPU cores. And don't forget to convert all time to the same unit, such as seconds.
©2009, 2010 by Craig Shallahamer. This is copyrighted material.
PleaseOut of respect for those involved in the creation of the book and also for
their familes, we ask you to respect the copyright both in intent and deed. Thank you.
|