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.
-------------------------------
In the preceding formula, I purposely included the conversion factors. Notice that all the time units cancel out, leaving us with a raw numeric without any reference to time. I could have carried the CPU core's metric to the final value of 94%, since 94% of the CPU core capacity was utilized, but since we normally don't represent utilization like this, it could cause some confusion.
It is important to understand this calculation is not the operating system CPU utilization, which can be gathered using an operating system command such as vmstat. What we calculated with this utilization formula is Oracle's CPU consumption related to the database server CPU capacity. This is commonly called the Oracle CPU utilization.
Besides gathering operating system CPU utilization using standard operating system commands such as vmstat and sar, starting with Oracle Database 10g, both operating system CPU consumption and CPU capacity details are available through the v$osstat view. We still need the sample interval, which is 149.97 minutes, as shown in Figure 9-2.
©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.
|