About Oracle's scheduler and job

Source: Internet
Author: User
Tags oracle database

Oracle Scheduler is a job for managing and scheduling databases, allowing many regular database tasks to be automated, reducing human intervention, freeing labor, and essentially, it's crontab with Linux, business Mission management software like Autosys, UC4, Just as their domain is different, Oracle Scheduler is focused on automating management, maintenance, and monitoring of Oracle database jobs.

This article is a theoretical article, introduced the basic concept of Oracle Scheduler, Oracle Scheduler Many nouns, described below:

Program (Procedure)

Program is the object that the job executes, such as stored procedures, pl/sql blocks, external executable programs, etc.

Schedule (PLAN)

Schedule defines when a job executes, and how many times it executes, with the following two similar schedule:

1 Based on time schedule (Schedule)

2 event-based Plan (event Schedule)

Destination (place)

The destination defines where job execution is performed, with the following two types:

1 Database destination: Indicates that the job executes in the database (contains both local and remote databases)

2) external (External destination): Indicates that the job executes outside the database

It is important to note that if the job is performed remotely, the scheduler agent must be installed on the remote host.

File Watcher (document keeper)

The file keeper defines the destination, file name, and so on, triggering an event once a qualifying file arrives, starting the job

Credential (Certified)

Credential defines the user password pair, only through the certification job to start, there are mainly the following two kinds of authentication:

1) Remote database authentication

2 external certification (such as operating system)

Chain (Task chain)

Chain used to define a series of job execution dependencies

Window (Time window)

The time window defines the resource allocation for a job within a time period of the day.

Group (groups)

A series of identical objects consists of group, which has the following three types of group:

1) Database Destination Group

2) External Destination Group

3) Window Group

How does Job, program, and schedule interact?

The diagram above shows the relationship between them, the same program can be called by multiple jobs, and similarly, multiple jobs can share the same Schedule

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.