Links
Home
Oracle DBA Forum
Frequent Oracle Errors
TNS:could not resolve the connect identifier specified
Backtrace message unwound by exceptions
invalid identifier
PL/SQL compilation error
internal error
missing expression
table or view does not exist
end-of-file on communication channel
TNS:listener unknown in connect descriptor
insufficient privileges
PL/SQL: numeric or value error string
TNS:protocol adapter error
ORACLE not available
target host or object does not exist
invalid number
unable to allocate string bytes of shared memory
resource busy and acquire with NOWAIT specified
error occurred at recursive SQL level string
ORACLE initialization or shutdown in progress
archiver error. Connect internal only, until freed
snapshot too old
unable to extend temp segment by string in tablespace
Credential retrieval failed
missing or invalid option
invalid username/password; logon denied
unable to create INITIAL extent for segment
out of process memory when trying to allocate string bytes
shared memory realm does not exist
cannot insert NULL
TNS:unable to connect to destination
remote database not found'>ora-02019
exception encountered: core dump
inconsistent datatypes
no data found
TNS:operation timed out
PL/SQL: could not find program
existing state of packages has been discarded
maximum number of processes exceeded
error signaled in parallel query server
ORACLE instance terminated. Disconnection forced
TNS:packet writer failure
see ORA-12699
missing right parenthesis
name is already used by an existing object
cannot identify/lock data file
invalid file operation
quoted string not properly terminated
X$ksmsp (OSEE 10.2.0.2 on Solaris 8)

X$ksmsp (OSEE 10.2.0.2 on Solaris 8)

2006-06-26       - By Hallas, John, Tech Dev

Reply:     1     2     3     4     5     6     7     8     9     10     >>  

Whilst I was looking at x$ksmsp I came across the following link which
provides a useful summary of the x$tables and some interesting queries
against some of them.



http://www.stormloader.com/yonghuang/computer/x$table.html



Charles, in your database is there only 1 entry in total for that table
as I see many thousands of entries (same Oracle version but 2.9 Solaris)



 __ __  

From: oracle-l-bounce@(protected)
[mailto:oracle-l-bounce@(protected)] On Behalf Of Schultz, Charles
Sent: 26 June 2006 15:27
To: oracle-l@(protected)
Subject: X$ksmsp (OSEE 10.2.0.2 on Solaris 8)



Granted that x$ksmsp is not documented and therefore subject to changes
from version to version (or patch to patch), I have an Oracle Support
Engineer telling me that one entry in ksmsp might actually show
fragmented memory in the case of a memory leak. My understanding, from
what I have gleaned from others much smarter than I, was that each row
of ksmsp showed one contiguous chunk of memory, be it small or large,
FREE or PERM (or something in between). The whole idea of a memory leak
causing ksmsp to report a fragmented chunk as one piece is a little
disturbing.

Can anyone corroborate or refute this?

Oracle Server Enterprise Edition 10.2.0.2
Solaris 8 (SunOS 5.8) 64-bit

charles schultz
oracle dba
aits - adsd
university of illinois




<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft
-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:st1=
"urn:schemas-microsoft-com:office:smarttags" xmlns="http://www.w3.org/TR/REC
-html40">

<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]-->
<title>X$ksmsp (OSEE 10.2.0.2 on Solaris 8)</title>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
name="PlaceName"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
name="PlaceType"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
name="place" downloadurl="http://www.5iantlavalamp.com/"/>
<!--[if !mso]>
<style>
st1\:*{behavior:url(#default#ieooui) }
</style>
<![endif]-->
<style>
<!--
/* Font Definitions */
@(protected)
  {font-family:Tahoma;
  panose-1:2 11 6 4 3 5 4 4 2 4;}
@(protected)
  {font-family:"Comic Sans MS";
  panose-1:3 15 7 2 3 3 2 2 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
  {margin:0cm;
  margin-bottom:.0001pt;
  font-size:12.0pt;
  font-family:"Times New Roman";}
a:link, span.MsoHyperlink
  {color:blue;
  text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
  {color:purple;
  text-decoration:underline;}
p
  {mso-margin-top-alt:auto;
  margin-right:0cm;
  mso-margin-bottom-alt:auto;
  margin-left:0cm;
  font-size:12.0pt;
  font-family:"Times New Roman";}
span.EmailStyle18
  {mso-style-type:personal-reply;
  font-family:"Comic Sans MS";
  color:blue;
  font-weight:normal;
  font-style:normal;
  text-decoration:none none;}
@(protected) Section1
  {size:595.3pt 841.9pt;
  margin:72.0pt 90.0pt 72.0pt 90.0pt;}
div.Section1
  {page:Section1;}
-->
</style>

</head>

<body lang=EN-GB link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal><font size=2 color=blue face="Comic Sans MS"><span
style='font-size:10.0pt;font-family:"Comic Sans MS";color:blue'>Whilst I was
looking at x$ksmsp I came across the following link which provides a useful
summary of the x$tables and some interesting queries against some of them.<o:p>
</o:p></span></font></p>

<p class=MsoNormal><font size=2 color=blue face="Comic Sans MS"><span
style='font-size:10.0pt;font-family:"Comic Sans MS";color:blue'><o:p>&nbsp;</o
:p></span></font></p>

<p class=MsoNormal><font size=2 color=blue face="Comic Sans MS"><span
style='font-size:10.0pt;font-family:"Comic Sans MS";color:blue'><a
href="http://www.stormloader.com/yonghuang/computer/x$table.html">http://www
.stormloader.com/yonghuang/computer/x$table.html</a><o:p></o:p></span></font></p
>

<p class=MsoNormal><font size=2 color=blue face="Comic Sans MS"><span
style='font-size:10.0pt;font-family:"Comic Sans MS";color:blue'><o:p>&nbsp;</o
:p></span></font></p>

<p class=MsoNormal><font size=2 color=blue face="Comic Sans MS"><span
style='font-size:10.0pt;font-family:"Comic Sans MS";color:blue'>Charles, in
your database is there only 1 entry in total for that table as I see many
thousands of entries (same Oracle version but 2.9 Solaris)<o:p></o:p></span><
/font></p>

<p class=MsoNormal><font size=2 color=blue face="Comic Sans MS"><span
style='font-size:10.0pt;font-family:"Comic Sans MS";color:blue'><o:p>&nbsp;</o
:p></span></font></p>

<div>

<div class=MsoNormal align=center style='text-align:center'><font size=3
face="Times New Roman"><span lang=EN-US style='font-size:12.0pt'>

<hr size=2 width="100%" align=center tabindex=-1>

</span></font></div>

<p class=MsoNormal><b><font size=2 face=Tahoma><span lang=EN-US
style='font-size:10.0pt;font-family:Tahoma;font-weight:bold'>From:</span></font
></b><font
size=2 face=Tahoma><span lang=EN-US style='font-size:10.0pt;font-family:Tahoma'>
oracle-l-bounce@(protected) [mailto:oracle-l-bounce@(protected)] <b><span
style='font-weight:bold'>On Behalf Of </span></b>Schultz, Charles<br>
<b><span style='font-weight:bold'>Sent:</span></b> 26 June 2006 15:27<br>
<b><span style='font-weight:bold'>To:</span></b> oracle-l@(protected)<br>
<b><span style='font-weight:bold'>Subject:</span></b> X$ksmsp (OSEE 10.2.0.2 on
Solaris 8)</span></font><span lang=EN-US><o:p></o:p></span></p>

</div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p><font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'
>Granted
that x$ksmsp is not documented and therefore subject to changes from version to
version (or patch to patch), I have an Oracle Support Engineer telling me that
one entry in ksmsp might actually show fragmented memory in the case of a
memory leak. My understanding, from what I have gleaned from others much
smarter than I, was that each row of ksmsp showed one contiguous chunk of
memory, be it small or large, FREE or PERM (or something in between). The whole
idea of a memory leak causing ksmsp to report a fragmented chunk as one piece
is a little disturbing.</span></font><o:p></o:p></p>

<p><font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>Can
anyone corroborate or refute this?</span></font> <o:p></o:p></p>

<p><font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'
>Oracle
Server Enterprise Edition 10.2.0.2</span></font> <br>
<font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>Solaris
8 (SunOS 5.8) 64-bit</span></font> <o:p></o:p></p>

<p><b><font size=1 face=Tahoma><span style='font-size:7.5pt;font-family:Tahoma;
font-weight:bold'>charles schultz</span></font></b> <br>
<b><font size=1 face=Tahoma><span style='font-size:7.5pt;font-family:Tahoma;
font-weight:bold'>oracle dba</span></font></b> <br>
<b><font size=1 face=Tahoma><span style='font-size:7.5pt;font-family:Tahoma;
font-weight:bold'>aits - adsd</span></font></b> <br>
<st1:place w:st="on"><st1:PlaceType w:st="on"><b><font size=1 face=Tahoma><span
 style='font-size:7.5pt;font-family:Tahoma;font-weight:bold'>university</span>
</font></b></st1:PlaceType><b><font
size=1 face=Tahoma><span style='font-size:7.5pt;font-family:Tahoma;font-weight:
bold'> of <st1:PlaceName w:st="on">illinois</st1:PlaceName></span></font></b><
/st1:place>
<o:p></o:p></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p>&nbsp;</o:p></span></font></p>

</div>

</body>

</html>