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.

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

We can mathematically determine batch process segment elapsed time by simply dividing the required resource time by the available parallelism. For example, suppose a CPU-intensive batch process segment consumes 120 seconds of CPU. When run serially, this process takes 120 seconds. After some analysis, it was determined the process could be split into three parallel streams without any Oracle concurrency issues. The anticipated elapsed time becomes 40 seconds. The formula is as follows:

For this example, 120 seconds of CPU is required and three parallel streams are available, so the anticipated elapsed time is 40 seconds. If we looked at the average CPU utilization, it would now be around 75% busy, because only three of the four available CPU cores are being used.

The used and available parallelism are obviously very important. Just because four CPU cores or 100 IO devices exist does not mean they can be used. In our example, there are four CPU cores available, but the application developers were able to create only three parallelism streams. And, of course, if the application creates ten parallel streams, yet only four cores are available, the CPU subsystem will become a bottleneck, operating deep in the elbow of the response-time curve.

©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!