You wish to create jobs to satisfy these requirements:
1. Automatically bulk load data from a flat file.
2.Rebuild indexes on the SALES table after completion of the bulk load.
How would you create these jobs?
A.
Create both jobs by using Scheduler raised events.
B.
Create both jobs using application raised events.
C.
Create one job to rebuild indexes using application raised events and another job to
perform bulk load using Scheduler raised events.
D.
Create one job to rebuild indexes using Scheduler raised events and another job to
perform bulk load by using events raised by the application.
D
C
The bulk loader would be started in response to a file watcher scheduler event and the indexes would be rebuilt in response to an application event raised by the bulk loader.
https://docs.oracle.com/cd/E18283_01/server.112/e17120/scheduse005.htm#CIABIEJA
Thanks Steve!
C. here is called raised event (application raise event)
Your application can raise an event to notify the Scheduler to start a job. A job started in this way is referred to as an event-based job. The job can optionally retrieve the message content of the event.
https://docs.oracle.com/cd/B28359_01/server.111/b28310/scheduse008.htm#CHDIAJEB
I also think C its more obvious
C
C
According to docs (thanks Tri) -file watcher is part of Scheduler. Therefore event raised by a file watcher = event raised by scheduler. Please correct me if I’m wrong.
C