« Check Waits Script | Main | Checkup Reserved Size Usage »

RAC, Performance Issues and Hangs

Performance Issues and Hangs



Is the problem due to a slow/hung query or is the entire database affected?  Try running the following SQL statement in SQL*Plus: 



select inst_id, sid, state, event, seconds_in_wait seconds



from gv$session_wait



where seconds_in_wait > 5



and event not in ('rdbms ipc message','smon timer','pmon timer',



'SQL*Net message from client','lock manager wait for remote message',



'ges remote message', 'client message', 'SQL*Net more data from client',



'pipe get', 'Null event', 'PX Idle Wait', 'single-task message',



'PX Deq: Execution Msg', 'KXFQ: kxfqdeq - normal deqeue', 'listen endpoint status',



'slave wait','wakeup time manager');



If the query does not return, you may have a hung database.



If the query returns no rows, you may have database performance issues.



If the query returns rows, you may have hung sessions.

TrackBack

TrackBack URL for this entry:
http://blogs.oracle.com/mte1521/mt-tb.cgi/4399

Post a comment

(If you haven't left a comment here before, you may need to be approved by the site owner before your comment will appear. Until then, it won't appear on the entry. Thanks for waiting.)

About This Entry

This page contains a single entry from the blog posted on May 16, 2006 3:22 AM.

The previous post in this blog was Check Waits Script.

The next post in this blog is Checkup Reserved Size Usage.

Many more can be found on the main index page or by looking through the archives.

Top Tags

Powered by
Movable Type and Oracle