Oracle Training Oracle Support Development Oracle Apps

 
 Home
 E-mail Us
 Oracle Articles
New Oracle Articles


 Oracle Training
 Oracle Tips

 Oracle Forum
 Class Catalog


 Remote DBA
 Oracle Tuning
 Emergency 911
 RAC Support
 Apps Support
 Analysis
 Design
 Implementation
 Oracle Support


 SQL Tuning
 Security

 Oracle UNIX
 Oracle Linux
 Monitoring
 Remote s
upport
 Remote plans
 Remote
services
 Application Server

 Applications
 Oracle Forms
 Oracle Portal
 App Upgrades
 SQL Server
 Oracle Concepts
 Software Support

 Remote S
upport  
 Development  

 Implementation


 Consulting Staff
 Consulting Prices
 Help Wanted!

 


 Oracle Posters
 Oracle Books

 Oracle Scripts
 Ion
 Excel-DB  

Don Burleson Blog 


 

 

 


 

 

 

 

Scheduling Oracle export jobs

For complete details on scheduling Oracle jobs, se Dr. Tim Hall's book "Oracle Job Scheduling".

Also see scheduling Oracle import and export jobs.

For scheduling DBA maintenance scripts, see the scripts in the bestselling book "Oracle Tuning: The Definitive Reference":

In this article, Fuchs Hanspeter show how to avoid embedding the Oracle “system” password in a scheduled export job by skipping a shell script and cron, and using the dbms_scheduler utility instead.

Below we see that the export is scheduled with a call to the create_job procedure:

BEGIN
DBMS_SCHEDULER.CREATE_JOB_CLASS (
   job_class_name             =>  'backup', 
   resource_consumer_group    =>  'DEFAULT_CONSUMER_GROUP',
   comments                   =>  'Backup, Export etc');
END;
/
 
BEGIN
DBMS_SCHEDULER.CREATE_JOB (
   job_name           =>  'full_export',
   job_type           =>  'STORED_PROCEDURE',
   job_action         =>  'SP_FULLEXPORT.EXP',
   start_date         =>  '30-MAR-06 07.00.00 PM Europe/Zurich',
   repeat_interval    =>  'FREQ=DAILY;BYHOUR=19',
   end_date           =>  '30-MAR-22 07.00.00 PM Europe/Zurich',
   job_class          =>  'backup',
   comments           =>  'Full Export');
END;
/
 
BEGIN
  DBMS_SCHEDULER.ENABLE ('full_export');
END;
/

Scheduling Oracle exports with the internal scheduler also has the benefit or re-starting if the database is down during the scheduled export time, and a Cron will not re-schedule a missed job.

 
 
 
Get the Complete
Oracle Utility Information 

The landmark book "Advanced Oracle Utilities The Definitive Reference"  contains over 600 pages of filled with valuable information on Oracle's secret utilities. This book includes scripts and tools to hypercharge Oracle 11g performance and you can buy it for 30% off directly from the publisher.
 


 

 
 

��  
 
 
Oracle Training at Sea
 
 
 
 
oracle dba poster
 

 
Follow us on Twitter 
 
Oracle performance tuning software 
 
Oracle Linux poster
 
 
 

 

Burleson is the American Team

Note: This Oracle documentation was created as a support and Oracle training reference for use by our DBA performance tuning consulting professionals.  Feel free to ask questions on our Oracle forum.

Verify experience! Anyone considering using the services of an Oracle support expert should independently investigate their credentials and experience, and not rely on advertisements and self-proclaimed expertise. All legitimate Oracle experts publish their Oracle qualifications.

Errata?  Oracle technology is changing and we strive to update our BC Oracle support information.  If you find an error or have a suggestion for improving our content, we would appreciate your feedback.  Just  e-mail:  

and include the URL for the page.


                    









Burleson Consulting

The Oracle of Database Support

Oracle Performance Tuning

Remote DBA Services


 

Copyright © 1996 -  2017

All rights reserved by Burleson

Oracle ® is the registered trademark of Oracle Corporation.

Remote Emergency Support provided by Conversational