I agree that a row in x$ksmsp should equal a single memory chunk - but is it possible that there is a chunk with an outrageous value? I don't recall that particular case, but I have seen x$ksmsp sum to values significantly larger than the size of the SGA.
In addition, I have also had significant performance issues on a production system when selecting on this table in a very busy system which is severely fragmented.
Cheers, Duncan.
Duncan Lawie DBE - Oracle.
"There will always be plenty of things to compute in the detailed affairs of millions of people doing complicated things." -- Vannevar Bush, As We May Think; Atlantic Monthly - July 1945.
__ __
From: oracle-l-bounce@(protected) [mailto:oracle-l-bounce@(protected)] On Behalf Of Schultz, Charles Sent: 26 June 2006 15:59 To: Hallas, John, Tech Dev; oracle-l@(protected) Subject: RE: X$ksmsp (OSEE 10.2.0.2 on Solaris 8)
Sorry, let me clarify. We have thousands of entries in ksmsp as well, but I was under the impression that 1 row = 1 contiguous chunk. Sorry for the confusion.
__ __
From: Hallas, John, Tech Dev [mailto:John.Hallas@(protected)] Sent: Monday, June 26, 2006 9:57 AM To: Schultz, Charles; oracle-l@(protected) Subject: RE: X$ksmsp (OSEE 10.2.0.2 on Solaris 8)
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.
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
============================================================================== Please access the attached hyperlink for an important electronic communications disclaimer:
<META content="MSHTML 6.00.2900.2873" name=GENERATOR></HEAD> <BODY lang=EN-GB vLink=purple link=blue> <DIV dir=ltr align=left><SPAN class=798040412-27062006><FONT face=Georgia color=#0000ff size=2>Charles,</FONT></SPAN></DIV> <DIV dir=ltr align=left><SPAN class=798040412-27062006><FONT face=Georgia color=#0000ff size=2></FONT></SPAN> </DIV> <DIV dir=ltr align=left><SPAN class=798040412-27062006><FONT face=Georgia color=#0000ff size=2>I agree that a row in x$ksmsp should equal a single memory chunk - but is it possible that there is a chunk with an outrageous value?  ; I don't recall that particular case, but I have seen x$ks</FONT></SPAN><SPAN class=798040412-27062006><FONT face=Georgia color=#0000ff size=2>msp sum to values significantly larger than the size of the SGA.</FONT></SPAN></DIV> <DIV dir=ltr align=left><SPAN class=798040412-27062006><FONT face=Georgia color=#0000ff size=2></FONT></SPAN> </DIV> <DIV dir=ltr align=left><SPAN class=798040412-27062006><FONT face=Georgia color=#0000ff size=2>In addition, I have also had significant performance issues on a production system when selecting on this table in a very busy system which is severely fragmented.</FONT></SPAN></DIV> <DIV dir=ltr align=left><SPAN class=798040412-27062006><FONT face=Georgia color=#0000ff size=2></FONT></SPAN> </DIV> <DIV dir=ltr align=left><SPAN class=798040412-27062006><FONT face=Georgia color=#0000ff size=2>Cheers,</FONT></SPAN></DIV> <DIV dir=ltr align=left><SPAN class=798040412-27062006><FONT face=Georgia color=#0000ff size=2>Duncan.</FONT></SPAN></DIV> <DIV dir=ltr align=left><SPAN class=798040412-27062006><FONT face=Georgia color=#0000ff size=2></FONT></SPAN> </DIV> <DIV dir=ltr align=left><SPAN class=798040412-27062006><!-- Converted from text /rtf format --> <P><SPAN lang=en-gb><FONT face=Georgia size=2>Duncan Lawie</FONT></SPAN> <BR><SPAN lang=en-gb><FONT face=Georgia><FONT size=2>DBE - Oracle<SPAN class=798040412-27062006>.</SPAN></FONT></FONT></SPAN></P> <P><SPAN lang=en-gb><FONT face=Georgia size=2>"There will always be plenty of things to compute in the detailed affairs of millions of people doing complicated things." -- Vannevar Bush, As We May Think; Atlantic Monthly - July 1945.</FONT></SPAN></P></SPAN></DIV><BR> <DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left> <HR tabIndex=-1> <FONT face=Tahoma size=2><B>From:</B> oracle-l-bounce@(protected) [mailto:oracle-l-bounce@(protected)] <B>On Behalf Of </B>Schultz, Charles<BR><B>Sent:</B> 26 June 2006 15:59<BR><B>To:</B> Hallas, John, Tech Dev ; oracle-l@(protected)<BR><B>Subject:</B> RE: X$ksmsp (OSEE 10.2.0.2 on Solaris 8)<BR></FONT><BR></DIV> <DIV></DIV> <DIV dir=ltr align=left><SPAN class=766195814-26062006><FONT face=Arial color=#0000ff size=2>Sorry, let me clarify. We have thousands of entries in ksmsp as well, but I was under the impression that 1 row = 1 contiguous chunk. Sorry for the confusion.</FONT></SPAN></DIV><BR> <DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left> <HR tabIndex=-1> <FONT face=Tahoma size=2><B>From:</B> Hallas, John, Tech Dev [mailto:John.Hallas@(protected)] <BR><B>Sent:</B> Monday, June 26, 2006 9:57 AM<BR><B>To:</B> Schultz, Charles; oracle-l@(protected)<BR><B>Subject:</B> RE: X$ksmsp (OSEE 10.2.0.2 on Solaris 8)<BR></FONT><BR></DIV> <DIV></DIV> <DIV class=Section1> <P class=MsoNormal><FONT face="Comic Sans MS" color=blue size=2><SPAN style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: 'Comic Sans MS'">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 face="Comic Sans MS" color=blue size=2><SPAN style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: 'Comic Sans MS'"><o:p> < /o:p></SPAN></FONT></P> <P class=MsoNormal><FONT face="Comic Sans MS" color=blue size=2><SPAN style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: 'Comic Sans MS'"><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 face="Comic Sans MS" color=blue size=2><SPAN style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: 'Comic Sans MS'"><o:p> < /o:p></SPAN></FONT></P> <P class=MsoNormal><FONT face="Comic Sans MS" color=blue size=2><SPAN style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: 'Comic Sans MS'">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 face="Comic Sans MS" color=blue size=2><SPAN style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: 'Comic Sans MS'"><o:p> < /o:p></SPAN></FONT></P> <DIV> <DIV class=MsoNormal style="TEXT-ALIGN: center" align=center><FONT face="Times New Roman" size=3><SPAN lang=EN-US style="FONT-SIZE: 12pt"> <HR tabIndex=-1 align=center width="100%" SIZE=2> </SPAN></FONT></DIV> <P class=MsoNormal><B><FONT face=Tahoma size=2><SPAN lang=EN-US style="FONT-WEIGHT: bold; FONT-SIZE: 10pt; FONT-FAMILY: Tahoma">From:</SPAN>< /FONT></B><FONT face=Tahoma size=2><SPAN lang=EN-US style="FONT-SIZE: 10pt; 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 face="Times New Roman" size=3><SPAN style="FONT-SIZE: 12pt"><o:p> </o:p></SPAN></FONT></P> <P><FONT face=Arial size=2><SPAN style="FONT-SIZE: 10pt; 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 face=Arial size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial" >Can anyone corroborate or refute this?</SPAN></FONT> <o:p></o:p></P> <P><FONT face=Arial size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Oracle Server Enterprise Edition 10.2.0.2</SPAN></FONT> <BR><FONT face=Arial size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Solaris 8 (SunOS 5.8) 64-bit</SPAN></FONT> <o:p></o:p></P> <P><B><FONT face=Tahoma size=1><SPAN style="FONT-WEIGHT: bold; FONT-SIZE: 7.5pt; FONT-FAMILY: Tahoma">charles schultz</SPAN></FONT></B> <BR><B><FONT face=Tahoma size=1><SPAN style="FONT-WEIGHT: bold; FONT-SIZE: 7.5pt; FONT-FAMILY: Tahoma">oracle dba</SPAN></FONT></B> <BR><B><FONT face=Tahoma size=1><SPAN style="FONT-WEIGHT: bold; FONT-SIZE: 7.5pt; FONT-FAMILY: Tahoma">aits - adsd</SPAN></FONT></B> <BR><st1:place w:st="on"><st1:PlaceType w:st="on"><B><FONT face=Tahoma size=1><SPAN style="FONT-WEIGHT: bold; FONT-SIZE: 7.5pt; FONT-FAMILY: Tahoma">university< /SPAN></FONT></B></st1:PlaceType><B><FONT face=Tahoma size=1><SPAN style="FONT-WEIGHT: bold; FONT-SIZE: 7.5pt; FONT-FAMILY: Tahoma"> of <st1:PlaceName w:st="on">illinois</st1:PlaceName></SPAN></FONT></B></st1:place> <o:p></o:p></P> <P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN style="FONT-SIZE: 12pt"><o:p> </o:p></SPAN></FONT></P></DIV> <P><pre wrap>================================================================== ============ Please access the attached hyperlink for an important electronic communications disclaimer: