Reputation: 3086
Is there someone who can strictly give me what is the job (DBMS_JOB) and the scheduler (DBMS_SCHEDULER) in oracle? and what's its roles ?
Regards.
Upvotes: 2
Views: 12387
Reputation:
At first glance it looks like only other names with more human readable schedules for dbms_scheduler
, compared to dbms_job
. When looking slightly better, there are loads of differences, even in Oracle 10gR1. Currently we are in 11gR2. Every release dbms_scheduler
gets more enhancements, where dbms_job
has been static for many years.
Differences
resource manager
integrationIn 11g extra
dbms_job can only run pl/sql type of jobs in the current database.
I hope this (in complete list) helps
Upvotes: 13
Reputation: 121712
Both allow you to schedule jobs to be executed at a given time. The main difference is how you specify them, apart from that there is no noticeable difference in practice.
DBMS_SCHEDULER also allows you to set your custome schedule intervals, which DBMS_JOB doesn't. In fact,the most important difference is that DBMS_JOB is deprecated and will therefore be desupported before DBMS_SCHEDULER is.
Upvotes: 5