Solved

Difference between Jobs and Scheduler Jobs

Posted on 2011-03-18
2
523 Views
Last Modified: 2012-05-11

We are trying to build the Team Foundation Server to maintain the versions of the scripts and in that process, we are generating scripts for the Database objects.

When I generate the scripts for "JOBS" and "SCHEDULED JOBS" from TOAD, I see different scripts.

Do we need both of these.  What is the difference between these "JOBS" and "SCHEDULED JOBS". Do I have to generate them separately or generating one should be good.

Please advise asap

Thanks

0
Comment
Question by:d27m11y
2 Comments
 
LVL 73

Accepted Solution

by:
sdstuber earned 250 total points
ID: 35170352
JOBS are created by DBMS_JOBS package

SCHEDULED JOBS are created by DBMS_SCHEDULER

DBMS_SCHEDULER has a much more sophisticated set of functionality than DBMS_JOBS and can do anything that DBMS_JOBS can do and is intended to replace DBMS_JOBS.

However, there is one important limitation.  DBMS_SCHEDULER autocommits all actions with each call.  DBMS_JOBS does not.

If that distinction isn't important to you than you should use DBMS_SCHEDULER since it is the direction of Oracle's future scheduling plans.


0
 
LVL 5

Expert Comment

by:anand_20703
ID: 35196853
I understood from the above description : : At the moment, ddls from both dbms_jobs and scheduler_jobs can taken & saved.
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Join & Write a Comment

Article by: Swadhin
From the Oracle SQL Reference (http://download.oracle.com/docs/cd/B19306_01/server.102/b14200/queries006.htm) we are told that a join is a query that combines rows from two or more tables, views, or materialized views. This article provides a glimps…
This post first appeared at Oracleinaction  (http://oracleinaction.com/undo-and-redo-in-oracle/)by Anju Garg (Myself). I  will demonstrate that undo for DML’s is stored both in undo tablespace and online redo logs. Then, we will analyze the reaso…
This video shows syntax for various backup options while discussing how the different basic backup types work.  It explains how to take full backups, incremental level 0 backups, incremental level 1 backups in both differential and cumulative mode a…
Via a live example, show how to take different types of Oracle backups using RMAN.

708 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now