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.
-------------------------------
Now that I've laid the architectural foundation, let's see how this is combined into the flow of redo.
A good word picture of redo flow is a river. Changes made to database buffers can be thought of as a storm. The rain comes pouring down in the form of change vectors, which are consolidated into redo entries. Space is allocated in the redo log buffer for the redo entries. Then the redo entries are copied into the redo log buffer. Finally, the redo buffer contents are written into an online redo log group. To summarize, there is redo creation, redo space allocation, redo copying, and redo writing. Anywhere in this flow of redo, contention can occur. And as with an overflowing river, we need to ensure Oracle's redo requirements do not exceed the IO subsystem's capacity. Otherwise, a flood of performance problems will develop.
Any time there is a redo-related performance problem, you will find the issues will be concentrated into one of these main redo areas: redo creation, space allocation, redo copying, and redo writing. As I present the various performance-hindering situations, pay close attention to where in the redo flow the problems occur. Understanding and visualizing the redo flow blockage will help you and your colleagues avoid nonsensical solutions (guessing) and also communicate your ideas better to others.
©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.
|