Oracle 视图 ALL_SCHEDULER_WINDOWS 官方解释,作用,如何使用详细说明
本站中文解释
ALL_SCHEDULER_WINDOWS 视图显示了用户可以创建和使用的窗口。
Oracle 数据库调度器窗口允许用户配置作业和程序在不同的时间和日期来运行,而且这些作业和程序可以根据窗口的定义来重复运行。
要使用 ALL_SCHEDULER_WINDOWS 视图,可以使用以下语句查看用户所有的窗口:
SELECT * FROM ALL_SCHEDULER_WINDOWS;
要创建一个新窗口,可以使用DBMS_SCHEDULER.CREATE_WINDOWPLSQL 存储过程,如下所示:
BEGIN
DBMS_SCHEDULER.CREATE_WINDOW (
window_name => ‘my_window’,
repeat_interval=> ‘freq=daily’,
duration => NULL,
start_time => ’07:00am’,
end_time => ’11:00pm’
);
END;
/
官方英文解释
ALL_SCHEDULER_WINDOWS
displays information about the Scheduler windows accessible to the current user.
Related View
DBA_SCHEDULER_WINDOWS
displays information about all Scheduler windows in the database.
Column | Datatype | NULL | Description |
---|---|---|---|
|
|
| Owner of the Scheduler window |
|
|
| Name of the Scheduler window |
|
| Resource plan associated with the window | |
|
| Owner of the schedule of the window | |
|
| Name of the schedule of the window | |
|
| Type of the schedule of the window:
| |
|
| Start date of the window (for an inline schedule) | |
|
| Calendar string for the window (for an inline schedule) | |
|
| Date after which the window will no longer open (for an inline schedule) | |
|
| Duration of the window | |
|
| Priority of the job relative to other windows:
| |
|
| Next date on which the window is scheduled to start | |
|
| Last date on which the window opened | |
|
| Indicates whether the window is enabled ( | |
|
| Indicates whether the window is open ( | |
|
| Open time of the window if it was manually opened, else NULL | |
|
| Duration of the window if it was manually opened, else NULL | |
|
| Comments on the window |
See Also:
“DBA_SCHEDULER_WINDOWS”
编辑:一起学习网
标签:窗口,作业,可以使用,视图,程序