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

 
 Home
 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
 Analysis
 Design
 Implementation
 Oracle Support


 SQL Tuning
 Security

 Oracle UNIX
 Oracle Linux
 Monitoring
 Remote s
upport
 Remote plans
 Remote
services
 Application Server

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

 Remote S
upport  
 Development  

 Implementation


 Consulting Staff
 Consulting Prices
 Help Wanted!

 


 Oracle Posters
 Oracle Books

 Oracle Scripts
 Ion
 Excel-DB  

Don Burleson Blog 


 

 

 


 

 

 
 

The _diag_daemon parameter and Oracle freezing

Oracle Database Tips by Donald BurlesonApril 16, 2015

 

Question:    My database hangs every so often, everything slows down, and then it re-started.  What are some of the common causes of Oracle freezing?

Answer:  Oracle can lock-up for many reasons, usually locking or an administrative activity:

  • Server issues - Server RAM swapping (page-in), disk enqueues, and network latency can cause Oracle hanging issues.
     

  • Locks and latches - These can make individual tasks. DDL, DML and SQL statement "freeze".
     

  • AMM resize operations - For some databases, AMM resizing can cause performance issues.
     

  • Bitmap Freelist management - Automatic segment space management has some overhead.
     

  • Redo log switches - Redo log space requests and offloading the log buffer can cause intermittent slowdowns.
     

  • Process failures - Oracle Oracle DIAG background process can cause freezing while it writes dump information.

Regarding process failures, Tony Jambu has noted in the IOUG SELECT Journal (volume 15, #2) that process failures can cause Oracle to halt, while dumps are bring collected.  Tony notes the _diag_daemon undocumented parm (only to be used at the direction of Oracle technical support).  Tony notes that:

  • Processes failure can hang an instance for minutes

  • Process failures and more common on instances with a large SGA

  • It's prominent on large SGA RAC databases where each node must take a dump

  • Process failures appear in the alert log with messages containing "Trace dumping is performing"

  • The undocumented _diag_daemon parameter can turn-off the dump collection processing, freeing-up the hanging of the instance

Here is a script to test for your current value of _diag_daemon:

COLUMN parameter           FORMAT a37
COLUMN description         FORMAT a30 WORD_WRAPPED
COLUMN "Session Value"     FORMAT a10
COLUMN "Instance Value"    FORMAT a10

SELECT 
     a.ksppinm  "Parameter", 
     a.ksppdesc "Description",
     b.ksppstvl "Session Value",
     c.ksppstvl "Instance Value"
FROM
     x$ksppi a,
     x$ksppcv b,
     x$ksppsv c
WHERE
     a.indx = b.indx
     AND a.indx = c.indx
     AND a.ksppinm LIKE '/_diag%' escape '/'
/
 

If you like Oracle tuning, you might enjoy my book "Oracle Tuning: The Definitive Reference", with 950 pages of tuning tips and scripts. 

You can buy it direct from the publisher for 30%-off and get instant access to the code depot of Oracle tuning scripts.


 

 

��  
 
 
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.