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.
-------------------------------
What I like so much about this story is that the DBAs understood the problem and took their analysis to the next level. After demanding that the vendor make the change and being turned down, most DBAs would just start complaining and whining. The problem might never be resolved, forcing a system with much more CPU power to be purchased.
Another way to quickly implement bind variable usage is to have Oracle automatically transform the SQL. Oracle will effectively take non-bind variable SQL and transform it into bind variable SQL.2 Suppose you notice a SQL statement like the one shown here.
If you know your application SQL well, you may be aware that this exact SQL does not actually exist anywhere in the application. In fact, if you checked the SQL the application submits to Oracle, it may look like this:
©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.
|