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.

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

Most applications use what I call interim tables (sometimes incorrectly referred to as temporary tables), which exist in the middle between Oracle temporary segments and data segments. Interim tables typically hold data only during batch processing operations that have limited or no recovery requirements. Doesn't it seem silly then to create, copy, buffer, and write all that redo? And if you are used to using large PL/SQL tables (or arrays), you know that a session can exceed its available heap memory limits. Global temporary tables address these questions by having specific characteristics of both temporary segments and data segments. For example, while a global temporary table contains rows and can have associated indexes, like temporary segments, the amount of redo generated is significantly less than with traditional data segments.

While developers have some amount of control over the use of interim segments, many applications, along with their massive redo generation requirements, are simply transitioned over to the DBAs, who are told to somehow just make them perform. Global temporary tables give the DBA a near-application-level tool, which can be used to possibly avoid significant and painful application changes.

Global temporary tables share many standard data segment and temporary segment characteristics, such as the following:

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