Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Mastering Oracle Scheduler in Oracle 11g Databases

You're reading from   Mastering Oracle Scheduler in Oracle 11g Databases Schedule, manage, and execute jobs in Oracle 11g Databases that automate your business processes using Oracle Scheduler with this book and eBook

Arrow left icon
Product type Paperback
Published in Jun 2009
Publisher Packt
ISBN-13 9781847195982
Length 240 pages
Edition 1st Edition
Languages
Arrow right icon
Author (1):
Arrow left icon
Ronald Rood Ronald Rood
Author Profile Icon Ronald Rood
Ronald Rood
Arrow right icon
View More author details
Toc

Table of Contents (15) Chapters Close

Mastering Oracle Scheduler in Oracle 11g Databases
Credits
About the Author
About the Reviewers
1. Preface
1. Simple Jobs FREE CHAPTER 2. Simple Chain 3. Control the Scheduler 4. Managing Resources 5. Getting Out of the Database 6. Events 7. Debugging the Scheduler 8. The Scheduler in Real Life 9. Other Configurations 10. Scheduler GUI Tools

Checks to do in the database


If a job does not run, check the enabled state of the job, the chain, and the program(s) it uses. Jobs can become invalid during normal object invalidation actions such as changing objects on which the job depends.

Check the chain definition. In dbms_scheduler, there is now a procedure that analyzes a chain, and then deposits the results in a pl_sql table and server output. This can be very useful and some example code is shown as follows:

--/
declare
rl sys.scheduler$_rule_list := sys.scheduler$_rule_list();
stl sys.scheduler$_step_type_list := sys.scheduler$_step_type_list();
spl sys.scheduler$_chain_link_list:= sys.scheduler$_chain_link_list();
begin
select SYS.SCHEDULER$_RULE(rule_name, condition, action)
bulk collect into rl
from user_scheduler_chain_rules
where chain_name = 'YOUR_CHAIN_TO_CHECK';
select SYS.SCHEDULER$_step_type(step_name, step_type)
bulk collect into stl
from user_scheduler_chain_steps
where chain_name = 'YOUR_CHAIN_TO_CHECK';
dbms_scheduler...
lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image