dbms_scheduler vs dbms_job

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了dbms_scheduler vs dbms_job相关的知识,希望对你有一定的参考价值。

Although dbms_job still exists in 10gand 11g, Oracle recommends the use of dbms_scheduler in releases 10g and up. Nonew features are being added to dbms_job and you will likely quickly run intoits limitations.

dbms_scheduler is more robust andfully-featured than dbms_job and includes the following features that dbms_job doesnot have :

dbms_scheduler功能比dbms_jobs更加健全,推荐使用dbms_scheduler;以下比较来自google,并不代表全部观点。

·        logging of job runs (job history)

·        simple but powerful scheduling syntax (similar to butmore powerful than cron syntax)

·        running of jobs outside of the database on the operatingsystem

·        resource management between different classes of jobs

·        use of job arguments including passing of objects intostored procedures

·        privilege-based security model for jobs

·        naming of jobs and comments in jobs

·        stored, reusable schedules

Features in releases after 10g Release 1include :

·        dependencies between job units (10gR2 and up)

·        scheduling based on financial calendars and fiscalquarters (10gR2 and up)

·        event based jobs which run when an event is received (10gR2and up)

·        running of jobs on remote machines (11gR1 and up)

·        e-mail notifications on job events of interest (10gR2 andup)

·        starting a job based on arrival of a file (10gR2 and up)


本文出自 “90SirDB” 博客,请务必保留此出处http://90sirdb.blog.51cto.com/8713279/1791536

以上是关于dbms_scheduler vs dbms_job的主要内容,如果未能解决你的问题,请参考以下文章

如何在 Oracle 中使用 DBMS_SCHEDULER 删除文件

Oracle定时任务-DBMS_SCHEDULER

DBMS_SCHEDULER 下次运行日期

Oracle DBMS_SCHEDULER sysdate 参数

PLS-00103:在 DBMS_SCHEDULER 中遇到符号

dbms_scheduler与dbms_job