调度的结构包括三个组件:作业表(Job Table)、作业协调进程(Job Coordinator)以及工进程(Job Work Process)。
调度架构
调度结构三个组件作业表、作业协调进程以及工进程的作用说明如下:
1)作业表包含调度管理的作业信息,如作业名称、程式名称以及作业拥有者等。
2)作业协调进程协调作业的执行,查看运行中的作业。
3)作业工进程完成作业要完成的工作。
下图所示是调度的体系架构图。
调度的体系架构
执行调度程式的许可权
Oracle可以在某个用户模式下创建作业、程式以及调度,但是必须具有相应的许可权才可以创建这些部件,如Create Job许可权来创建调度的作业、程式以及事件。并且对于调度其他模式的过程或程式,必须具备执行这些资料库组件的许可权,即被赋予EXECUTE ANY PROGRAM许可权。下面是对于创建Scheduler以及各种执行许可权的一个总结。
1、An addition to the dispatcher that determines which task is toexe cute next.
一种附加调度程式,它确定下一个要执行的任务。
2、Aroutine that controls the order in which in putand out put devicesobta in access to the processing system.
调度程式控制命令的例行程式,由它控制输入和输出装置从而到达处理系统。
3、In soft wareengineering,abasic part of a system or program.For example,the scheduler or supervis or of anoperating system.
在软体工程中,系统或程式的基本部分。例如,作业系统中的调度程式或管理程式。
4、Aqueue of new messages (or agroup) with in a system that area waiting processing.The main scheduling routine will scan the malong with other queuesand order them in to processing in order.
在系统中等待处理的一组或一伫列新信息,主调度程式对该伫列及其它伫列进行扫描,使之顺序进入处理状态。
5、InDPCX,aforward-chainedlist of all threads added to apriority level since that level' sscheduler last refer redtoits queues.