053第449题
2015-07-16 12:41
239 查看
449.Which of the following objects can be directly referenced by a window object? (Choose all that apply.)
A. Schedule object
B. Program object
C. Job object
D. Resource plan
E. Resource consumer group
Answer: AD
Creates a window using a named schedule object:
Creates a window using an inlined schedule:
Parameters
Table 129-32 CREATE_WINDOW Procedure Parameters
A. Schedule object
B. Program object
C. Job object
D. Resource plan
E. Resource consumer group
Answer: AD
Creates a window using a named schedule object:
DBMS_SCHEDULER.CREATE_WINDOW ( window_name IN VARCHAR2, resource_plan IN VARCHAR2, schedule_name IN VARCHAR2, duration IN INTERVAL DAY TO SECOND, window_priority IN VARCHAR2 DEFAULT 'LOW', comments IN VARCHAR2 DEFAULT NULL);
Creates a window using an inlined schedule:
DBMS_SCHEDULER.CREATE_WINDOW ( window_name IN VARCHAR2, resource_plan IN VARCHAR2, start_date IN TIMESTAMP WITH TIME ZONE DEFAULT NULL, repeat_interval IN VARCHAR2, end_date IN TIMESTAMP WITH TIME ZONE DEFAULT NULL, duration IN INTERVAL DAY TO SECOND, window_priority IN VARCHAR2 DEFAULT 'LOW', comments IN VARCHAR2 DEFAULT NULL);
Parameters
Table 129-32 CREATE_WINDOW Procedure Parameters
Parameter | Description |
---|---|
window_name | The name to assign to the window. The name must be unique in the SQL namespace. All windows are in the SYSschema, so the preface ' SYS' is optional. |
resource_plan | This attribute specifies the resource plan that automatically activates when the window opens. When the window closes, the system switches to the appropriate resource plan, which is usually the plan that was in effect before the window opened, but can also be the plan of a different window. Only one resource plan can be associated with a window. It may be NULLor the empty string (""). When it is NULL, the resource plan in effect when the window opens stays in effect for the duration of the window. When it is the empty string, the resource manager is disabled for the duration of the window. If the window is open and the resource plan is dropped, then the resource allocation for the duration of the window is not affected. |
start_date | This attribute specifies the first date and time on which this window is scheduled to open. If the value for start_datespecified is in the past or is not specified, the window opens as soon as it is created. For repeating windows that use a calendaring expression to specify the repeat interval, the value for start_dateis a reference date. The first time the window opens depends on the repeat interval specified and the value for start_date. |
duration | This attribute specifies how long the window stays open. For example,'interval '5' hour'for five hours. There is no default value for this attribute. Therefore, if no value is specified when the window is created, an error occurs. The duration is of type interval day to seconds and ranges from one minute to 99 days. |
schedule_name | This attribute specifies the name of the schedule associated with the window. |
repeat_interval | This attribute specifies how often the window repeats. It is expressed using the Scheduler calendaring syntax. See "Calendaring Syntax" for more information. A PL/SQL expression cannot be used to specify the repeat interval for a window. The expression specified is evaluated to determine the next time the window opens. If no repeat_intervalis specified, the window opens only once at the specified start date. |
end_date | This attribute specifies the date and time after which the window no longer opens. When the value for end_dateis reached, the window is disabled. In the *_SCHEDULER_WINDOWSviews, the enabled flag of the window is set to FALSE. A non-repeating window that has no value for end_dateopens only once for the duration of the window. For a repeating window, if no end_dateis specified, then the window keeps repeating forever. The end_datemust be after the start_date. If it is not, then an error is generated when the window is created. |
window_priority | This attribute is only relevant when two windows overlap. Because only one window can be in effect at one time, the window priority determines which window opens. The two possible values for this attribute are 'HIGH' and ' LOW'. A high priority window has precedence over a low priority window, therefore, the low priority window does not open if it overlaps a high priority window. By default, windows are created with priority ' LOW'. |
comments | This attribute specifies an optional comment about the window. By default, this attribute is NULL. |
相关文章推荐
- 发现有的时候,EBS会报连接数不足的问题
- 排序优化
- OCP 【11g新特性】sec_max_failed_login_attempts
- Oracle 11g 在线重定义
- Oracle大数据量分区后查询效率低下
- 使用datapump 导出导入同义词
- Oracle Tablespace Transportation
- PL/SQL“ ORA-14551: 无法在查询中执行 DML 操作”解决
- 从节能角度看数据中心软硬件设计(一)
- ocp认证详细介绍
- Oracle OCP 认证有什么价值
- 关于decode参数类型
- Oracle 10g Transparent Data Encryption examples
- Oracle 11gOCP 053 v12.02 1--300题疑问答案更正
- Oracle 11gOCP 053 v12.02 300--600题部分疑问答案更正
- 11gOCP 考试文档整理
- OCP 051 第156题 order by 与 union
- ocp 051 第64题,有关order by 的试验
- 题解053-425(V13.02版本,711题)
- 题解053-427(V13.02版本,711题)