Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> RE: DBMS Job vs C Daemon

RE: DBMS Job vs C Daemon

From: Gene Sais <Gsais_at_co.palm-beach.fl.us>
Date: Fri, 15 Mar 2002 08:53:34 -0800
Message-ID: <F001.0042ABCE.20020315085334@fatcity.com>


In the past, I have seen databases not shutdown immediate b/c dbms_jobs were running, not sure if still true w/ 8i 9i?

>>> jhostetter_at_decommunications.com 03/15/02 10:13AM >>>
..which is why we have a shell script that runs out of cron and checks on database jobs. Here is the SQL that we use to find jobs with problems:

/* Check for broken jobs or jobs that have failed more than 8 times. */ /* Also check for jobs that should have run in the last day, but haven't. */ select job, failures, broken
  from dba_jobs
 where failures > 8

    or broken = 'Y'
    or sysdate - next_date > 1

spool check_jobs.lis
/
spool off

Some jobs have to run in the database, such as snapshot refreshes.

Jay

>>> Rajendra.Jamadagni_at_espn.com 03/15/02 08:18AM >>>
While I agree that dbms_job is the right way, we had lots of problems with dbms_job suddenly failing (i.e. it just stops working) in 9011 and 9012 versions of database. Finally it was something to do with job queue processes, with the help of OWS we fixed it. BUT, I still don't trust dbms_job on our 9i production db and hence all critical jobs are run by our close friend 'cron', it works!.

Raj



Rajendra Jamadagni MIS, ESPN Inc.
Rajendra dot Jamadagni at ESPN dot com
Any opinion expressed here is personal and doesn't reflect that of ESPN Inc.

QOTD: Any clod can have facts, but having an opinion is an art!

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com 
-- 
Author: Jay Hostetter
  INET: jhostetter_at_decommunications.com 

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Gene Sais
  INET: Gsais_at_co.palm-beach.fl.us

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).
Received on Fri Mar 15 2002 - 10:53:34 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US