Links
Home
Oracle DBA Forum
Frequent Oracle Errors
TNS:could not resolve the connect identifier specified
Backtrace message unwound by exceptions
invalid identifier
PL/SQL compilation error
internal error
missing expression
table or view does not exist
end-of-file on communication channel
TNS:listener unknown in connect descriptor
insufficient privileges
PL/SQL: numeric or value error string
TNS:protocol adapter error
ORACLE not available
target host or object does not exist
invalid number
unable to allocate string bytes of shared memory
resource busy and acquire with NOWAIT specified
error occurred at recursive SQL level string
ORACLE initialization or shutdown in progress
archiver error. Connect internal only, until freed
snapshot too old
unable to extend temp segment by string in tablespace
Credential retrieval failed
missing or invalid option
invalid username/password; logon denied
unable to create INITIAL extent for segment
out of process memory when trying to allocate string bytes
shared memory realm does not exist
cannot insert NULL
TNS:unable to connect to destination
remote database not found'>ora-02019
exception encountered: core dump
inconsistent datatypes
no data found
TNS:operation timed out
PL/SQL: could not find program
existing state of packages has been discarded
maximum number of processes exceeded
error signaled in parallel query server
ORACLE instance terminated. Disconnection forced
TNS:packet writer failure
see ORA-12699
missing right parenthesis
name is already used by an existing object
cannot identify/lock data file
invalid file operation
quoted string not properly terminated
monitoring jobs (dbms_job)

monitoring jobs (dbms_job)

2005-07-28       - By Pakhutkin, Maxim (Max)

Reply:     1     2     3     4     5     6     7     8  

Has anyone tried monitoring the run duration of jobs scheduled with dbms_jobs
over time to determine trends? I'm thinking of running some pl/sql in intervals
that will, in general, do the following: looking at jobs that are scheduled to
run at least that often, note their next_date and then, when the monitored job
runs next time, compared the noted next time to the values in last_date. The
description of the dba_jobs view gives me doubts however, as it doesn't seem to
correspond to reality in respect to last_date, last_sec columns. My observation
has been that last_sec shows when the job last completed, but the view
description says it shows when the job last started.

The business need is to prevent jobs from running into the scheduled cold
backups and interfering with them. I've searched the archive and ask tom, but
couldn't come up with any direct hits. If anyone has tried this before, I would
appreciate if you could point out any non-trivial issues you've encountered,
thanks.

mostly 9i's with some 8i's thrown in on solaris.

Max Pakhutkin
--
http://www.freelists.org/webpage/oracle-l