Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: Daily Heath report script
Chris,
It should capture all ORA- errors, but I also assume some are severe enough to complete crap out the process so it doesn't get captured. For example, I did find a few ORA-600 errors that were captured, but no 7445s. I checked all alert logs for the past 90 days (they are weekly renamed/date stamped, gzip'ed, then deleted after 90 days) and found all but the ORA-07445 errors were captured that also appeared in the alert log.
This has worked fine for releases 9.2.0.4, 9.2.0.5, and 9.2.0.6.
For what its worth, I thought I'd add the DDL for the Oracle table used to hold error detail:
CREATE TABLE <audit user>.AUD_ORA_ERROR_TB
( ORA_ERROR NUMBER,
RUN_DT DATE, USERNAME VARCHAR2(30), ORA_ERROR_NBR_SEQ NUMBER, OSUSER VARCHAR2(30), MACHINE VARCHAR2(64), PROCESS VARCHAR2(12), PROGRAM VARCHAR2(48), SQL_TEXT VARCHAR2(4000)
Dave
> -----Original Message-----
> From: Marquez, Chris [mailto:cmarquez_at_collegeboard.org]
> Sent: Friday, November 04, 2005 12:35 PM
> To: Herring Dave - dherri; oracle-l_at_freelists.org
> Subject: RE: Daily Heath report script
>
> Dave,
>
> This looks really interesting...not sure I'm aware of the
> DBMS_STANDARD.SERVER_ERROR package.
>
> I'm trying to follow the logic of the code...one question.
> Does code/proc track *all* db "server" errors or only "ORA-" errors
that
> happen for (failed) executed SQL.
> Meaning catch all of the (same) ORA- errors found in the alert log,
plus
> those thrown to individual SQL sessions?
>
> What version of Oracle do you run this on?
>
> Thanks,
>
> Chris Marquez
> Oracle DBA
If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited.
If you have received this communication in error, please resend this communication to the sender and delete the original message or any copy of it from your computer system.
Thank You.
-- http://www.freelists.org/webpage/oracle-lReceived on Fri Nov 04 2005 - 13:31:26 CST
![]() |
![]() |