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.
創(chuàng)新互聯(lián)是一家集網(wǎng)站建設,惠民企業(yè)網(wǎng)站建設,惠民品牌網(wǎng)站建設,網(wǎng)站定制,惠民網(wǎng)站建設報價,網(wǎng)絡營銷,網(wǎng)絡優(yōu)化,惠民網(wǎng)站推廣為一體的創(chuàng)新建站企業(yè),幫助傳統(tǒng)企業(yè)提升企業(yè)形象加強企業(yè)競爭力??沙浞譂M足這一群體相比中小企業(yè)更為豐富、高端、多元的互聯(lián)網(wǎng)需求。同時我們時刻保持專業(yè)、時尚、前沿,時刻以成就客戶成長自我,堅持不斷學習、思考、沉淀、凈化自己,讓我們?yōu)楦嗟钠髽I(yè)打造出實用型網(wǎng)站。
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)