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)
免责声明:本站发布的内容(图片、视频和文字)以原创、转载和分享为主,文章观点不代表本网站立场,如果涉及侵权请联系站长邮箱:is@yisu.com进行举报,并提供相关证据,一经查实,将立刻删除涉嫌侵权内容。