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

Home Home
Oracle Monitoring
Growth Monitoring
Emergency DBA Support
Installs & Upgrades
Oracle Migration
Oracle Support Plan
Oracle SQL Tuning
Oracle Performance Tuning

 Our Remote DBA Clients

 

Free Oracle Tips


 
HTML Text

Free Oracle App Server Tips


 
HTML Text

 

   
  Oracle Tips by Burleson

Oracle Job Scheduling

Chapter 5 - Monitoring Oracle Job Execution

Monitoring Jobs Prior to 10g

To do this, schema objects must be created to hold the history records.  This achieved by using the job_run_details_schema.sql script as shown below.

job_run_details_schema.sql

-- *************************************************
-- Copyright © 2005 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 info@rampant.cc
-- *************************************************
conn sys/password as sysdba

grant select on v_$session to job_user;
grant select on dba_jobs_running to job_user;
grant select on v_$sesstat to job_user;
grant select on v_$statname to job_user;

conn job_user/job_user

create table job_run_details (
  log_id              NUMBER,
  log_date            DATE,
  owner               VARCHAR2(30),
  job                 NUMBER,
  status              VARCHAR2(30),
  error#              NUMBER,


The above text is an excerpt from:


Oracle Job Scheduling
Creating Robust Task Management with dbms_job and Oracle10g dbms_scheduler

ISBN 0-9744486-6-4

by Dr. Timothy S. Hall
 

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


    Need an Oracle Health Check?

Does your boss blame you for an Oracle performance problem? 
Need to prove that your database is properly optimized?

BC Oracle performance guru's can quickly verify every aspect of your Oracle database and provide a complete certification that your database is fully optimized.

Burleson Oracle consulting & training



 

 

WISE Oracle monitoring software
 

 

Oracle forum for DBA 

 

Rampant TechPress Oracle book publisher

image 

  

 

E-mail us for BC Oracle support:   

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

Oracle® is the registered trademark of Oracle Corporation.