WEB开发网
开发学院数据库Oracle 使用外部表查看ORACLE报警日志 阅读

使用外部表查看ORACLE报警日志

 2009-06-22 11:50:29 来源:WEB开发网   
核心提示: 测试成功然后我们测试查报警信息’ORA-%’SQL> select * from alert_log where text like 'ORA-%';TEXTORA-00202: control file: '/oracle/u01/a

测试成功

然后我们测试查报警信息’ORA-%’

SQL> select * from alert_log where text like 'ORA-%';
 
TEXT
--------------------------------------------------------------------------------
ORA-00202: control file: '/oracle/u01/app/oracle/product/10.2.0/db2/dbs/cntrldb2
.dbf'
 
ORA-27037: unable to obtain file status
ORA-205 signalled during: ALTER DATABASE   MOUNT...
ORA-00301: error in adding log file '/home/oracle/oracle/oradata/testdb/redo01.l
og' - file cannot be created
 
ORA-27040: file create error
ORA-1501 signalled during: CREATE DATABASE db2
ORA-00200: control file could not be created
 
TEXT
--------------------------------------------------------------------------------
ORA-00202: control file: '/oracle/u01/app/oracle/product/10.2.0/db2/dbs/cntrldb2
.dbf'
 
ORA-27038: created file already exists
ORA-1501 signalled during: CREATE DATABASE db2
ORA-00200: control file could not be created
ORA-00202: control file: '/oracle/u01/app/oracle/product/10.2.0/db2/dbs/cntrldb2
.dbf'
 
ORA-27038: created file already exists
ORA-1501 signalled during: CREATE DATABASE db2

测试成功,

可见我们可以使用外部表来方便的查看ORACLE的报警信息.

上一页  1 2 3 

Tags:使用 外部 查看

编辑录入:爽爽 [复制链接] [打 印]
赞助商链接