Oracle Alert Log File


Alert Log file

The alert log file keep record the following information:

When DB start or down
  
List of all non default initialization parameter
  
The startup of background process
  
Information regarding a log switch
  
Creation of table space and Undo segments
  
Alter statement that have been issued
  
Information regarding error message

Alert log location

The Oracle alert log location of determined by the background dump destination and specified by the background_dump_dest parameter.

SQL>  show parameter background

NAME                                 TYPE        VALUE
------------------------------------ ----------- ------------------------------
background_core_dump                 string      partial
background_dump_dest               string      /oracle/app/oracle/diag/rdbms/PROD/PROD/trace

ADRCI:-

  Automatic Diagnostic repository(ADR) in oracle database
 

[testora@vtebz1 12.1.0]$ adrci

ADRCI: Release 12.1.0.2.0 - Production on Wed Mar 29 01:48:04 2017

Copyright (c) 1982, 2014, Oracle and/or its affiliates.  All rights reserved.

ADR base = "/u01/oracle/DEV/db/12.1.0/admin/DEV_vtebz1"

adrci>

adrci> show alert

Choose the home from which to view the alert log:

1: diag/rdbms/dev/DEV
2: diag/tnslsnr/vtebz1/dev
Q: to quit

Please select option: 1

How to find Alert log errors:

tail -100f  alert_PROD.log |grep ORA

tail -100f  alert_PROD.log |grep ERROR

tail -100f  alert_PROD.log |grep error


Comments

Popular posts from this blog

How to troubleshoot long running concurrent request in R12.2

How to run Gather Schema Statistics in R12.2

How to compile forms in R12.2