Tag Archives: dbms_scheduler

Jobs failing to run.

ORA-27370: job slave failed to launch a job of type EXECUTABLE Trying to schedule a backup on a database in windows using the job scheduler, each time the job to run the executable failed with the above error. But the … Continue reading

Posted in Configuration. | Tagged , , , , , , , | Comments Off

Insufficient privileges purging scheduler logs.

Cannot purge the job history logs ? If you get insufficient privileges, you require the SCHEDULER_ADMIN role.

Posted in Oracle | Tagged , , , , , , | Comments Off

ORA-02800: Requests timed out

I had a simple job to run, which failed. exec dbms_scheduler.run_job(‘CHECKJOB’); returned the following. ERROR at line 1:ORA-02800: Requests timed outORA-06512: at “SYS.DBMS_ISCHED”, line 150ORA-06512: at “SYS.DBMS_SCHEDULER”, line 441ORA-06512: at line 2

Posted in Oracle | Tagged , , , , , , | Comments Off

Database Backup from Scheduler.

I wanted to backup a database using an OS script, but scheduled from the database rather than from the OS. Here’s the setup for it.

Posted in Recovery Manager | Tagged , , , | Comments Off

Changing event_spec on scheduler jobs.

Had an interesting problem, a sequence of materialized views scheduled from event driven jobs were not running. Turns out that the job event was on JOB_SUCCEEDED rather than JOB_COMPLETED. It would take a long time to update the spec on … Continue reading

Posted in Oracle | Tagged , , | Comments Off

Scheduler Event Based Jobs.

I trawled through the documentation and articles on the web for one which would show an event based job, on the sys users scheduler queue table, rather than my own. Since it took so long to get it all working, … Continue reading

Posted in Oracle | Tagged , , | Comments Off

Refreshing a materialized view at different times.

A client required a number of materialized views to be refreshed at various times, which did not have a regular pattern. From this, we could create a complex scheduler for the refresh group, or we could create a set of … Continue reading

Posted in Configuration., Oracle | Tagged , , , | Comments Off