Home > Database > Mysql Tutorial > Oracle 查看日志

Oracle 查看日志

WBOY
Release: 2016-06-07 17:26:07
Original
1432 people have browsed it

Oracle日常维护中经常需要检查alert告警日志,查看数据库是否有问题。

一、检查alert日志

现象描述:

Oracle日常维护中经常需要检查alert告警日志,,查看数据库是否有问题。

原因分析:

Oracle 11g修改了日志系统,不在使用oracle9的alert_$ORACLE_SID.log日志,修改为Diag Alert 和Diag Trace两个目录保存xml格式和文本格式的日志,这个两个目录分别放置于/opt/oracle/diag/rdbms/excetop/excetop/trace和/opt/oracle/diag/rdbms/excetop/excetop/alert目录下,也可以使用

sql>select name ,value from  v$diag_info命令来查询。也可以使用Enterprise Manager,进入Oracle database home page,在Related Links点击Alert Log  Contents查看。

二、监听日志

linux

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template