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.
-------------------------------
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.
Database server CPU consumption is shown in the BUSY_TIME statistic in Figure 9-6 and represented in centiseconds. The BUSY_TIME statistics is the sum of any and all database server process CPU consumption during the sample interval. Based on Figure 9-6, during the reporting interval, all operating system processes consumed a total of 1,802,616 centiseconds of CPU.
Database server CPU capacity is calculated in the same manner as the Oracle CPU utilization. Placing both the requirements and capacity into the utilization formula and applying the appropriate conversion factors, we have this calculation:
©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.
|