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.

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

It is common to catch a session in the middle of a wait. For example, refer back to Figure 2-6 or Figure 2-7. If we just happened to query from v$session_wait while that session was waiting for the operating system to return the multiblock request, we would see that specific Oracle session posting a db file scattered read.

In addition to the real-time feature, v$session_wait also provides additional details that are lost when the wait details are summarized in the v$session_event and v$system_event views. This detailed information is contained in parameter columns: p1, p2, and p3. These parameter columns also have associated text and raw columns, providing even more information. These parameters are event-dependent; that is, their contents depend on the wait event. For example, if the wait event is db file scattered read, then p1 and p2 contain the first block's file number and block number, respectively, and p3 contains the number of blocks requested. But if the wait event is latch free, then p2 contains the latch number, which can be joined with v$latchname to determine the latch for which the session is waiting. Note that starting with Oracle Database 10g, v$session contains all the v$session_wait columns. Table 2-2 lists some of the important columns in this view.

WAITED UNKNOWN TIME: Last wait time is unknown; perhaps instance parameter timed_statistics is false

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