Call (800) 766-1884 for Oracle support & training
Free Oracle Tips


Oracle Consulting Support
Oracle Upgrades
Use New Oracle Features
Oracle Replication Support
Oracle Training
Remote Oracle DBA
System Documentation
Oracle Tips
Oracle Performance
 

Free Oracle Tips


 

HTML Text

BC Oracle tuning

Oracle training

Oracle support

Remote Oracle

 

 

   
  Oracle Tips by Burleson

Chapter 1 Oracle Instance Internals Scripts

Monitoring Waits

Waits occur when Oracle experiences contention for a specific resource. Tuning should involve monitoring waits, latches, and locks. We have already looked at latches and locks, lets look at the third member of this trio, waits. The v$waitstat DPT is the place to start.

The v$waitstat table is the usual source of wait information for the average tuner. This table has a very basic structure:

EXADB>DESC v$waitstat

 Name                              Null?    Type
 --------------------------------- -------- ------------
 CLASS                                      VARCHAR2(18)
 COUNT                                      NUMBER
 TIME                                       NUMBER

The class column contains the name of the particular type of wait. The count column gives the total number of these types of waits that have occurred since the last database startup. The final column, time, gives the total elapsed time in centa-seconds (1/100 seconds) that the waits have consumed according to Oracle’s internal determinations.

A typical select on a large instance may look like so:

EXADB>SELECT * FROM v$waitstat WHERE count>0;

CLASS                  COUNT       TIME
------------------ ---------- ----------


The above text is an excerpt from:
 

Mike Ault’s Oracle Internals Monitoring & Tuning Scripts
 

Written by the world's top DBA and author of over 20 Oracle books, Mike Ault shares his secrets for Oracle DBA management scripts.  This handy reference is indispensable for all Oracle professionals who must quickly automate and manage their Oracle databases with scripts.

This stellar book comes complete with an online code depot full of over 200 pre-tested Oracle DBA scripts, and covers all areas of Oracle database administration including data files, tablespace, table and index management scripts.  Based on more than 20 years full-time experience, Mike Ault brings his expertise to the public with this fantastic book.  Your time savings from a single script is worth the price of this great book.


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

http://rampant-books.com/book_2003_2_audit.htm

 


Download your Oracle scripts now:

www.oracle-script.com

The definitive Oracle Script collection for every Oracle professional DBA


 

  
 

Oracle performance tuning software 
 
 
 
 

Oracle performance tuning book

 

 
 
 
Oracle performance Tuning 10g reference poster
 
 
 
Oracle training in Linux commands
 
Oracle training Excel
 
Oracle training & performance tuning books
 

 

   

Copyright © 1996 -  2011 by Burleson Enterprises. All rights reserved.

Oracle® is the registered trademark of Oracle Corporation.