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.

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

The trap begins when we hold the report in our hands and we think we hold both the cause and effect before us. We start believing that the SQL was run in isolation and is unaffected by anything and everything else occurring on the system. For this to be true, the database server would need to be completely dedicated to that specific SQL. All other database server activity and operating system activity would need to halt while your SQL ran.

Here's a very simple yet crystal-clear example. When a SQL statement reads 1,000 blocks from disk, is it because the SQL statement is not tuned, the buffer cache is too small for the table, or other SQL statements replaced cached blocks with other blocks our SQL is not interested in? The answer is possibly, possibly, and possibly.

To think that a single SQL statement is unaffected by everything else on the system goes against the very essence of why Oracle is an awesome database and why operating systems were invented. Both Oracle and operating systems exist, in part, to share scarce resources. Somehow, the technology is supposed to cause balance and fairness for all the requests for computing resources. But when we look at a profiled session, we start forgetting all of this and begin to think in isolation.

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