DBMS_JOB vs DBMS_SCHEDULER

后端 未结 4 1969
深忆病人
深忆病人 2020-12-03 03:42

What is the difference between DBMS_JOB and DBMS_SCHEDULER ?

4条回答
  •  無奈伤痛
    2020-12-03 04:12

    Listed next are some of the benefits that DBMS_SCHEDULER has over cron:

    • Can make the execution of a job dependent on the completion of another job

    • Robust resource balancing and flexible scheduling features

    • Can run jobs based on a database event

    • DBMS_SCHEDULER syntax works the same regardless of the operating system

    • Can run status reports using the data dictionary

    • If working in clustered environment, no need to worry about synchronizing multiple cron tables for each node in the cluster

    Listed next are some of the advantages of using cron:

    • Easy to use, simple, tried and true

    • Almost universally available on all Linux/Unix boxes; for the most part, runs nearly identically regardless of the Linux/Unix platform (yes, there are minor differences)

    • Database agnostic; operates independently of the database and works the same regardless of the database vendor or database version

    • Works whether the database is available or not

提交回复
热议问题