Oracle Performance Firefighting
by Craig Shallahamer

Get the book here



Craig Shallahamer's Blog

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.
Please—Out 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.

-------------------------------

Figure 4-2 shows a four-CPU core subsystem in three different situations. Situation A is very busy CPU subsystem with two processes waiting in the queue. Situation B looks like a very idle CPU subsystem with only one active transaction. However, situation B could also represent a problem. If the transaction being serviced in situation B is a relatively long transaction, why are the other CPUs not participating, but instead standing idle? This is a scalability issue, and as mentioned in Chapter 3's discussion of serialization, everyone-from the businesspeople to the operating system vendors-gets involved, so this situation never occurs.

Situation C in Figure 4-2 is truly unfortunate. Because there is only one queue, there should never be a situation where processes are waiting in the queue while there are idle CPU cores. Can you imagine standing in a fast food restaurant line, and even though two servers are available, they look at you and tell you to wait? Absurd indeed, and if you ever see this occur (on a computer system), contact your operating system vendor!

* User time: This is when a core is spending time processing code, such as SQL*Plus, the oracle executable, or Perl scripts. Normally, Oracle database CPU subsystems spend about 60% to 90% of their active time in what is called user mode.

©2009, 2010 by Craig Shallahamer. This is copyrighted material.
Please—Out 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.


Know what's important before it's too late!

OraPub's
Performance Training

is like no other...





More Class Pics...
Get student testimonials!