ITPub博客

首页 > Linux操作系统 > Linux操作系统 > errorstack使用

errorstack使用

原创 Linux操作系统 作者:尛样儿 时间:2010-05-03 01:43:44 0 删除 编辑

[oracle@blliu oradata]$ sqlplus / as sysdba

SQL*Plus: Release 10.2.0.5.0 - Production on Mon May 3 01:39:20 2010

Copyright (c) 1982, 2010, Oracle.  All Rights Reserved.


Connected to:
Oracle Database 10g Enterprise Edition Release 10.2.0.5.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options

SQL>
SQL>
SQL>
SQL> alter session set events ='903 trace name errorstack level 3';

Session altered.

SQL> create table 1test (id number);
create table 1test (id number)
             *
ERROR at line 1:
ORA-00903: invalid table name


SQL> oradebug setmypid
Statement processed.
SQL> oradebug tracefile_name
/u01/app/oracle/db_1/rdbms/log/test_ora_15539.trc
SQL> !vi /u01/app/oracle/db_1/rdbms/log/test_ora_15539.trc

*** ACTION NAME:() 2010-05-03 01:41:09.535
*** MODULE NAME:(
sqlplus@blliu (TNS V1-V3)) 2010-05-03 01:41:09.535
*** SERVICE NAME:(SYS$USERS) 2010-05-03 01:41:09.535
*** SESSION ID:(39.299) 2010-05-03 01:41:09.535
*** 2010-05-03 01:41:09.535
ksedmp: internal or fatal error
ORA-00903: invalid table name
Current SQL statement for this session:
create table 1test (id number)
----- Call Stack Trace -----
calling              call     entry                argument values in hex
location             type     point                (? means dubious value)

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/23135684/viewspace-661806/ ,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论
Oracle数据库管理员,Oracle数据库系统构架员;2012年7月出版《构建最高可用Oracle数据库系统:Oracle 11gR2 RAC管理、维护与性能优化》一书;Oracle 10g OCM。

注册时间:2010-01-05

  • 博文量
    483
  • 访问量
    5648599