Oracle Consulting Oracle Training Oracle Support Development
Home
Catalog
Oracle Books
SQL Server Books
IT Books
Job Interview Books
eBooks
Rampant Horse Books
911 Series
Pedagogue Books

Oracle Software
image
Write for Rampant
Publish with Rampant
Rampant News
Rampant Authors
Rampant Staff
 Phone
 800-766-1884
Oracle News
Oracle Forum
Oracle Tips
Articles by our Authors
Press Releases
SQL Server Books
image
image

Oracle 11g Books

Oracle tuning

Oracle training

Oracle support

Remote Oracle

STATSPACK Viewer

Privacy Policy

 

 
 

Inside the Real-time v$ Wait Events

The foundation concept of the ASH architecture is called the time model, and Oracle10g has introduced several important wait event v$ views.  Table 16.4 below shows some v$ equivalents to dba_hist views.

 

v$ View

dba_hist View

v$active_sess_hist

dba_hist_active_sess_history

v$sys_time_model

dba_hist_sys_time_model

v$active_session_history

dba_hist_active_sess_history

v$event_histogram

No equivalent DBA view

Table 16.4: Oracle v$ equivalents to ASH wait event tables

 

The main components of OWE interface are the dynamic performance views: v$session _wait  ; and v$session_event as shown in Figure 16.8.

 

Figure 16.8: The v$ event structures in Oracle10g

 

These v$ views are in-memory structures that feed data to the ASH tables which provide time-series wait event information. 

The ASH samples for wait events every second and tracks the waits in the new v$active_sess_hist view.  Before looking into the wrh$ and ASH tables, it will be useful to take a quick tour of the important v$ wait event views.

SEE CODE DEPOT FOR FULL SCRIPTS


This is an excerpt from my latest book "Oracle Tuning: The Definitive Reference". 

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

http://www.rampant-books.com/book_1002_oracle_tuning_definitive_reference_2nd_ed.htm

 

 

   

 Copyright © 1996 -2017 by Burleson. All rights reserved.


Oracle® is the registered trademark of Oracle Corporation. SQL Server® is the registered trademark of Microsoft Corporation. 
Many of the designations used by computer vendors to distinguish their products are claimed as Trademarks