首页 > Linux操作系统 > Linux操作系统 > errorstack使用
[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/ ,如需转载,请注明出处,否则将追究法律责任。