For Oracle support & training call (800) 766-1884
Free Oracle Tips

Home
Oracle Tips
Oracle Code Depot
Oracle Monitoring
Oracle Consulting
Oracle Training
Oracle News
Oracle Forum
Oracle Support





 

Free Oracle Tips

image

 
HTML Text

Free Oracle App Server Tips

image

 
HTML Text


Privacy Policy

Redneck

Dress Code

Oracle tuning

Oracle training

Oracle support

Remote Oracle


 

   
  Oracle Tips by Burleson

Easy Oracle Automation
Chapter 7 -
Application and SQL Management

Task Operations

BEGIN
             DBMS_SQLTUNE.EXECUTE_TUNING_TASK (task_name =>
‘dba_tuning_task_v1’ );
END;
/

For the Senior DBA or those who prefer the hands-on approach, use the dbms_advisor.create_task procedure.  To view the tasks associated with any specific user or application schema, use the following command:

SELECT TASK_NAME FROM DBA_ADVISOR_LOG WHERE OWNER = ‘owner’ ;

Similarly, the dba_advisor_log can be used to find the status of a tuning task:

SELECT TASK_NAME FROM DBA_ADVISOR_LOG WHERE task_name = ‘dba_tuning_task_v1’ ;

The execution progress can be checked with the v$session_longops view, which gives the status of various operations that run longer than six seconds (in absolute time). Table 7.1 describes the columns available in this view.


The above text is an excerpt from:

Easy Oracle Automation
Oracle10g Automatic Storage, Memory and Diagnostic Features

ISBN 0-9745993-6-0

by Dr. Arun Kumar R.
 


For more details and scripts, see my new book " Oracle Tuning: The Definitive Reference", over 900 pages of BC's favorite tuning tips & scripts. 

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

  
 

 
 
 
 
Oracle performance tuning software
 
 

 

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

 

Fast-Track Oracle Support
PO Box 511
Kittrell, NC 27544


Email BC: