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

    g_log_id,
    SYSDATE,
    l_owner,
    get_job,
    'IN PROGRESS',
    SYSDATE,
    l_instance_id,
    l_session_id
  );

  COMMIT;
END start_log;
-- -----------------------------------------------------------------

-- -----------------------------------------------------------------
PROCEDURE end_log AS
-- -----------------------------------------------------------------
  PRAGMA AUTONOMOUS_TRANSACTION;
BEGIN
  UPDATE job_run_details
  SET    status          = 'COMPLETE',
         actual_end_date = SYSDATE,
         run_duration    = NUMTODSINTERVAL(SYSDATE - actual_start_date,
'DAY'),
         cpu_used        = get_cpu_used
  SEE CODE DEPOT FOR FULL SCRIPT     
  COMMIT;
END end_log;
-- -----------------------------------------------------------------


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.