Oracle Wait Interface: A Practical Guide to Performance Diagnostics & Tuning
by Richmond Shee, Kirtikumar Deshpande, K Gopalakrishnan
Active Session History
In Oracle Database 10g, the current session activity can be obtained from the V$SESSION or V$SESSION_WAIT views. The view V$SESSION_WAIT_HISTORY provides information about the last 10 wait events that the session encountered. However, for troubleshooting a performance issue, these views do not provide enough historical information about what the session did. Oracle Database 10g solves this problem with the introduction of Active Session History (ASH).
As the name suggests, Oracle provides historical information on active sessions. It samples all active sessions every second to track their state and stores this information in a buffer in the SGA.
TABLE 9-2. AWR Views (Not a Complete List)
The historical information is displayed ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access