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

 

   
 

ss

Oracle Tips by Burleson 

Structure of dba_advisor_tasks 

dba_advisor_tasks also maintains the status of each task.  The status is set to one of the following six values:

INITIAL - Initial state of the task; no recommendations are present since nothing has been done.

EXECUTING - Task is currently running.

INTERRUPTED - Task analysis was interrupted by the user.  If recommendations are present, they can be viewed and reported on at this time.

COMPLETED - Task successfully completed the analysis operation.  Recommendation data can be viewed and reported.

CANCELLED – Task has been cancelled.

FATAL ERROR - An error occurred during the analysis operation.  If recommendations are available, they can be examined and reported on at this time.

Something that may be beneficial when added to the database monitoring procedures is a routine check to see if any tasks have a status of FATAL ERROR.  Upon finding any, determine why the error occurred.   

Figure 10.11 – Sample errors in dba_advisor_tasks 

* show_addm_tasks_in_error.sql

-- *************************************************

-- Copyright © 2003 by Rampant TechPress

-- This script is free for non-commercial purposes

-- with no warranties.  Use at your own risk.

--

-- To license this script for a commercial purpose,

-- contact rtp AT rampant.cc

-- ************************************************* 

/* show_addm_tasks_in_error.sql */

column ADVISOR_NAME   format a10 WRAP head ADVISOR|NAME

column DESCRIPTION    format a40

column STATUS_MESSAGE format a40

select

   task_name,

   description,

   advisor_name,

   status,

   status_message

from

   dba_advisor_tasks

where:

See Code Depot


The above book excerpt is from:

Oracle Wait Event Tuning

High Performance with Wait Event Iinterface Analysis 

ISBN 0-9745993-7-9  

Stephen Andert 

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

Linux Oracle commands syntax poster

ION Oracle tuning software

Oracle data dictionary reference poster



Oracle Forum

BC Oracle consulting support training

BC remote Oracle DBA   

 

   

 Copyright © 1996 -2016 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