Oracle告警日志文件(alert_<ORACLE_SID>.log,是一个特殊的trace文件,它是按照时间排序的一些log或error信息,具体内容包括:
1. 所有internal error (ora-600), block corruption errors (ora-1578) , 以及死锁错误(ora-60)
2. 管理性操作,比如create , alert , drop 以及startup , shutdown 和archivelog 语句等。
3. 相关shared server 及 dispatcher 进程等功能相关的信息和错误。
4. Materialized view 自动刷新时候的错误
5. 数据库实例启动的时候初始化参数值
其存放位置在参数‘background_dump_dest’指定的路径下,一般为:
UNIX/Linux下:$ORACLE_HOME/admin/$ORACLE_SID/bdump/alert_<ORACLE_SID>.log
Windows下:%ORACLE_HOME%\admin\%ORACLE_SID%\bdump/alert_<ORACLE_SID>.log
background_dump_dest参数查询:
select value from v$parameter where name='background_dump_dest';
1. 所有internal error (ora-600), block corruption errors (ora-1578) , 以及死锁错误(ora-60)
2. 管理性操作,比如create , alert , drop 以及startup , shutdown 和archivelog 语句等。
3. 相关shared server 及 dispatcher 进程等功能相关的信息和错误。
4. Materialized view 自动刷新时候的错误
5. 数据库实例启动的时候初始化参数值
其存放位置在参数‘background_dump_dest’指定的路径下,一般为:
UNIX/Linux下:$ORACLE_HOME/admin/$ORACLE_SID/bdump/alert_<ORACLE_SID>.log
Windows下:%ORACLE_HOME%\admin\%ORACLE_SID%\bdump/alert_<ORACLE_SID>.log
background_dump_dest参数查询:
select value from v$parameter where name='background_dump_dest';