OCP-1Z0-053-V13.02-250题

250.You want to schedule a job to rebuild all indexes on the SALES table after the completion of a bulk

load operation.

The bulk load operation must also be a scheduled job that executes as soon as the first file that contains

data arrives on the system.

How would you create these jobs?

A. Create both jobs by using events raised by the scheduler

B. Create both jobs by using events raised by the application

C. Create a job to rebuild indexes by using events arised by the application and then create another job to

perform bulk load by using events raised by the scheduler

D. Create a job to rebuild indexes by using events arised by the Scheduller and then create another job to

perform bulk load by using events raised by the application

Answer: D

答案解析:

参考:http://docs.oracle.com/cd/E11882_01/server.112/e25494/scheduse.htm#ADMIN12361


从以下可知,bulk load是File arrival events raised by a file watcher,rebuild indexes是Events raised by your application,An application can raise an event to be consumed by the Scheduler.

两个都是基于事件的。


About Events

An event is a message sent by one application or system process to another to indicate that some action or occurrence has been detected. An event israised (sent) by one application or process, and consumed (received) by one or more applications or processes.

There are two kinds of events consumed by the Scheduler:

  • Events raised by your application

    An application can raise an event to be consumed by the Scheduler. The Scheduler reacts to the event by starting a job. For example, when an inventory tracking system notices that the inventory has gone below a certain threshold, it can raise an event that starts an inventory replenishment job.

    See "Starting Jobs with Events Raised by Your Application".

  • File arrival events raised by a file watcher

    You can create a file watcher—a Scheduler object introduced in Oracle Database 11g Release 2—to watch for the arrival of a file on a system. You can then configure a job to start when the file watcher detects the presence of the file. For example, a data warehouse for a chain of stores loads data from end-of-day revenue reports uploaded from the point-of-sale systems in the stores. The data warehouse load job starts each time a new end-of-day report arrives.

    See "Starting a Job When a File Arrives on a System"


     
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 1
    评论
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值