05.11.2015 Views

Apress.Expert.Oracle.Database.Architecture.9i.and.10g.Programming.Techniques.and.Solutions.Sep.2005

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

84<br />

CHAPTER 3 ■ FILES<br />

Memory (A/P) : PH:11M/255M, PG:295M/1002M, VA:1605M/2047M<br />

Instance name: ora10g<br />

Redo thread mounted by this instance: 1<br />

<strong>Oracle</strong> process number: 21<br />

Windows thread id: 1256, image: ORACLE.EXE (SHAD)<br />

The database information is important to have when you go to http://metalink.oracle.<br />

com to file the iTAR, of course, but it is also useful when you go to search http://metalink.<br />

oracle.com to see if this is a known problem. In addition, you can see the <strong>Oracle</strong> instance on<br />

which this error occurred. It is quite common to have many instances running concurrently,<br />

so isolating the problem to a single instance is useful.<br />

*** 2005-01-02 14:21:29.062<br />

*** ACTION NAME:() 2005-01-02 14:21:28.999<br />

*** MODULE NAME:(SQL*Plus) 2005-01-02 14:21:28.999<br />

*** SERVICE NAME:(SYS$USERS) 2005-01-02 14:21:28.999<br />

This part of the trace file is new with <strong>Oracle</strong> 10g <strong>and</strong> won’t be there in <strong>Oracle</strong>9i. It shows<br />

the session information available in the columns ACTION <strong>and</strong> MODULE from V$SESSION. Here we<br />

can see that it was a SQL*Plus session that caused the error to be raised (you <strong>and</strong> your developers<br />

can <strong>and</strong> should set the ACTION <strong>and</strong> MODULE information; some environments such as<br />

<strong>Oracle</strong> Forms <strong>and</strong> HTML DB do this already for you).<br />

Additionally, we have the SERVICE NAME. This is the actual service name used to connect to<br />

the database—SYS$USERS, in this case—indicating we didn’t connect via a TNS service. If we<br />

logged in using user/pass@ora10g.localdomain, we might see<br />

*** SERVICE NAME:(ora10g) 2005-01-02 15:15:59.041<br />

where ora10g is the service name (not the TNS connect string; rather, it’s the ultimate service<br />

registered in a TNS listener to which it connected). This is also useful in tracking down which<br />

process/module is affected by this error.<br />

Lastly, before we get to the actual error, we can see the session ID <strong>and</strong> related date/time<br />

information (all releases) as further identifying information:<br />

*** SESSION ID:(146.2) 2005-01-02 14:21:28.999<br />

Now we are ready to get into the error itself:<br />

ksedmp: internal or fatal error<br />

ORA-00600: internal error code, arguments: [12410], [], [], [], [], [], [], []<br />

Current SQL statement for this session:<br />

select count(x) over ()<br />

from t<br />

----- Call Stack Trace -----<br />

_ksedmp+524<br />

_ksfdmp.160+14<br />

_kgeriv+139<br />

_kgesiv+78<br />

_ksesic0+59

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!