Call now: 252-767-6166  
Oracle Training Oracle Support Development Oracle Apps

 E-mail Us
 Oracle Articles
New Oracle Articles

 Oracle Training
 Oracle Tips

 Oracle Forum
 Class Catalog

 Remote DBA
 Oracle Tuning
 Emergency 911
 RAC Support
 Apps Support
 Oracle Support

 SQL Tuning

 Oracle UNIX
 Oracle Linux
 Remote s
 Remote plans
 Application Server

 Oracle Forms
 Oracle Portal
 App Upgrades
 SQL Server
 Oracle Concepts
 Software Support

 Remote S


 Consulting Staff
 Consulting Prices
 Help Wanted!


 Oracle Posters
 Oracle Books

 Oracle Scripts

Don Burleson Blog 








  Oracle Database Tips by Donald Burleson

Users with top time waited 

Figure 5.3 shows that the single userid with the most time waited is MIGUELMA; with close to 100 hours.  That may seem absurd, but knowing this user runs batch jobs and is logged in for days at a time clears up that misunderstanding. 

Also, note the top two users have both spent time waiting for the same thing, library cache pin.  Remember, latch free waits appeared in Figure 5.1 with over 2 million waits.  One cause of "latch free" waits is the "library cache pin" so this confirms the information seen earlier.   

Now that what is being waited on is known, the question becomes why? One reason this could be happening is the shared pool is improperly configured or sized.  Another possible cause is failure to use bind variables.

There are also bugs that can cause this behavior.  Among them is bug #2997330 which offers this suggestion: "Oracle support must be contacted if the problem persists, without a visible reason." 

The next action to take in this case would be to examine the code this user is running.  This can be easily done with the SID that is shown in the previous output and the show_session_sql.sql script.  

* show_session_sql.sql 

-- *************************************************

-- Copyright 2003 by Rampant TechPress

-- This script is free for non-commercial purposes

-- with no warranties.  Use at your own risk.


-- To license this script for a commercial purpose,

-- contact

-- *************************************************

/* show_session_sql.sql */






   HASH_VALUE in (






See Code Depot

The above book excerpt is from:

Oracle Wait Event Tuning

High Performance with Wait Event Iinterface Analysis 

ISBN 0-9745993-7-9  

Stephen Andert

Oracle Training at Sea
oracle dba poster

Follow us on Twitter 
Oracle performance tuning software 
Oracle Linux poster


Burleson is the American Team

Note: This Oracle documentation was created as a support and Oracle training reference for use by our DBA performance tuning consulting professionals.  Feel free to ask questions on our Oracle forum.

Verify experience! Anyone considering using the services of an Oracle support expert should independently investigate their credentials and experience, and not rely on advertisements and self-proclaimed expertise. All legitimate Oracle experts publish their Oracle qualifications.

Errata?  Oracle technology is changing and we strive to update our BC Oracle support information.  If you find an error or have a suggestion for improving our content, we would appreciate your feedback.  Just  e-mail:  

and include the URL for the page.


Burleson Consulting

The Oracle of Database Support

Oracle Performance Tuning

Remote DBA Services


Copyright © 1996 -  2020

All rights reserved by Burleson

Oracle ® is the registered trademark of Oracle Corporation.