Return-Path: <oracle-l-bounce@freelists.org>
Delivered-To: 2-oracle-l@orafaq.com
Received: (qmail 4124 invoked from network); 4 Dec 2007 11:05:12 -0600
Received: from freelists-180.iquest.net (HELO turing.freelists.org) (206.53.239.180)
  by 69.64.49.119 with SMTP; 4 Dec 2007 11:05:04 -0600
Received: from localhost (localhost [127.0.0.1])
 by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id 0E8477CCBAA;
 Tue,  4 Dec 2007 12:05:02 -0500 (EST)
Received: from turing.freelists.org ([127.0.0.1])
 by localhost (turing.freelists.org [127.0.0.1]) (amavisd-new, port 10024)
 with ESMTP id 23152-08; Tue, 4 Dec 2007 12:05:01 -0500 (EST)
Received: from turing (localhost [127.0.0.1])
 by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id 7A0B27D152B;
 Tue,  4 Dec 2007 12:05:01 -0500 (EST)
Received: with ECARTIS (v1.0.0; list oracle-l); Tue, 04 Dec 2007 11:18:04 -0500 (EST)
Received: from localhost (localhost [127.0.0.1])
 by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id 17FBA7CF8A3
 for <oracle-l@freelists.org>; Tue,  4 Dec 2007 11:18:04 -0500 (EST)
Received: from turing.freelists.org ([127.0.0.1])
 by localhost (turing.freelists.org [127.0.0.1]) (amavisd-new, port 10024)
 with ESMTP id 16054-02 for <oracle-l@freelists.org>;
 Tue, 4 Dec 2007 11:18:03 -0500 (EST)
Received: from kbspmxp1.starhub.net.sg (kbspmxp6.starhub.net.sg [203.116.61.216])
 by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id 3BB627CDF7F
 for <oracle-l@freelists.org>; Tue,  4 Dec 2007 11:18:01 -0500 (EST)
Received: from kbsmtao2.starhub.net.sg (kbsmtao2.starhub.net.sg [203.116.2.167])
 by kbspmxp1.starhub.net.sg (8.13.7+Sun/8.13.7) with ESMTP id lB4GBuxo005579
 for <oracle-l@freelists.org>; Wed, 5 Dec 2007 00:11:57 +0800 (SGT)
Received: from windows01 ([218.212.240.172]) by kbsmtao2.starhub.net.sg
 (Sun Java System Messaging Server 6.2-4.03 (built Sep 22 2005))
 with ESMTPP id <0JSJ0011C99XV110@kbsmtao2.starhub.net.sg> for
 oracle-l@freelists.org; Wed, 05 Dec 2007 00:17:58 +0800 (SGT)
Date: Wed, 05 Dec 2007 00:17:54 +0800
From: Tanel Poder <tanel.poder.003@mail.ee>
Subject: RE: Forcing ASMM component to shrink
In-reply-to: <001a01c8364f$900ac3c0$b0204b40$@co.uk>
To: vishal@vishalgupta.co.uk, oracle-l@freelists.org
Message-id: <026701c83691$39ca3490$3201a8c0@windows01>
MIME-version: 1.0
X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2900.3198
Content-Type: multipart/alternative; boundary="Boundary_(ID_uv6IolH+1we7vvHycpO6iQ)"
References: <001a01c8364f$900ac3c0$b0204b40$@co.uk>
X-archive-position: 3694
X-ecartis-version: Ecartis v1.0.0
Sender: oracle-l-bounce@freelists.org
Errors-to: oracle-l-bounce@freelists.org
X-original-sender: tanel.poder.003@mail.ee
Precedence: normal
Reply-to: tanel.poder.003@mail.ee
List-help: <mailto:ecartis@freelists.org?Subject=help>
List-unsubscribe: <oracle-l-request@freelists.org?Subject=unsubscribe>
List-software: Ecartis version 1.0.0
List-Id: oracle-l <oracle-l.freelists.org>
X-List-ID: oracle-l <oracle-l.freelists.org>
List-subscribe: <oracle-l-request@freelists.org?Subject=subscribe>
List-owner: <mailto:steve.adams@ixora.com.au>
List-post: <mailto:oracle-l@freelists.org>
List-archive: <http://www.freelists.org/archives/oracle-l>
X-list: oracle-l
X-Virus-Scanned: Debian amavisd-new at localhost.localdomain
--Boundary_(ID_uv6IolH+1we7vvHycpO6iQ)
Content-Type: text/plain; charset=us-ascii
Content-transfer-encoding: 7BIT

Note that Oracle 10.2 *does* shrink shared pool automatically if needed...
it can even keep buffer cache buffers in shared pool starting from 10.2...
 
http://www.orafaq.com/maillist/oracle-l/2006/08/22/0958.htm
 
--
Regards,
Tanel Poder
http://blog.tanelpoder.com <http://blog.tanelpoder.com/> 

 


  _____  

From: oracle-l-bounce@freelists.org [mailto:oracle-l-bounce@freelists.org]
On Behalf Of Vishal Gupta
Sent: Tuesday, December 04, 2007 16:28
To: oracle-l@freelists.org
Subject: RE: Forcing ASMM component to shrink



I have found the way to forcibly shrink shared pool dynamically.
Documentation stats that ASMM can only increase shared pool, it can not
shrink it. To shrink shared_pool_size immediately, you have to switch to
manual mode. After shrinking you can again switch back to ASMM mode.

 

 
<http://download.oracle.com/docs/cd/B19306_01/server.102/b14231/create.htm#s
thref383>
http://download.oracle.com/docs/cd/B19306_01/server.102/b14231/create.htm#st
href383 

Automatic Tuning and the Shared Pool

When the automatic shared memory management feature is enabled, the internal
tuning algorithm tries to determine an optimal size for the shared pool
based on the workload. It usually converges on this value by increasing in
small increments over time. However, the internal tuning algorithm typically
does not attempt to shrink the shared pool, because the presence of open
cursors, pinned PL/SQL packages, and other SQL execution state in the shared
pool make it impossible to find granules that can be freed. Therefore, the
tuning algorithm only tries to increase the shared pool in conservative
increments, starting from a conservative size and stabilizing the shared
pool at a size that produces the optimal performance benefit.

 


--Boundary_(ID_uv6IolH+1we7vvHycpO6iQ)
Content-Type: text/html; charset=us-ascii
Content-transfer-encoding: 7BIT

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML xmlns="http://www.w3.org/TR/REC-html40" xmlns:v = 
"urn:schemas-microsoft-com:vml" xmlns:o = 
"urn:schemas-microsoft-com:office:office" xmlns:w = 
"urn:schemas-microsoft-com:office:word" xmlns:m = 
"http://schemas.microsoft.com/office/2004/12/omml"><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.6000.16544" name=GENERATOR>
<STYLE>@font-face {
	font-family: Cambria Math;
}
@font-face {
	font-family: Calibri;
}
@page Section1 {size: 612.0pt 792.0pt; margin: 72.0pt 72.0pt 72.0pt 72.0pt; }
P.MsoNormal {
	FONT-SIZE: 12pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman","serif"
}
LI.MsoNormal {
	FONT-SIZE: 12pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman","serif"
}
DIV.MsoNormal {
	FONT-SIZE: 12pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman","serif"
}
H5 {
	FONT-WEIGHT: bold; FONT-SIZE: 10pt; MARGIN-LEFT: 0cm; MARGIN-RIGHT: 0cm; FONT-FAMILY: "Times New Roman","serif"; mso-style-priority: 9; mso-style-link: "Heading 5 Char"; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto
}
A:link {
	COLOR: blue; TEXT-DECORATION: underline; mso-style-priority: 99
}
SPAN.MsoHyperlink {
	COLOR: blue; TEXT-DECORATION: underline; mso-style-priority: 99
}
A:visited {
	COLOR: purple; TEXT-DECORATION: underline; mso-style-priority: 99
}
SPAN.MsoHyperlinkFollowed {
	COLOR: purple; TEXT-DECORATION: underline; mso-style-priority: 99
}
P {
	FONT-SIZE: 12pt; MARGIN-LEFT: 0cm; MARGIN-RIGHT: 0cm; FONT-FAMILY: "Times New Roman","serif"; mso-style-priority: 99; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto
}
SPAN.Heading5Char {
	FONT-WEIGHT: bold; FONT-FAMILY: "Times New Roman","serif"; mso-style-priority: 9; mso-style-link: "Heading 5"; mso-style-name: "Heading 5 Char"
}
SPAN.EmailStyle19 {
	COLOR: #1f497d; FONT-FAMILY: "Calibri","sans-serif"; mso-style-type: personal
}
SPAN.EmailStyle20 {
	COLOR: #1f497d; FONT-FAMILY: "Calibri","sans-serif"; mso-style-type: personal
}
SPAN.EmailStyle21 {
	COLOR: #1f497d; FONT-FAMILY: "Calibri","sans-serif"; mso-style-type: personal
}
SPAN.EmailStyle22 {
	COLOR: #1f497d; FONT-FAMILY: "Calibri","sans-serif"; mso-style-type: personal-reply
}
.MsoChpDefault {
	FONT-SIZE: 10pt; mso-style-type: export-only
}
DIV.Section1 {
	page: Section1
}
</STYLE>
<!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext="edit">
  <o:idmap v:ext="edit" data="1" />
 </o:shapelayout></xml><![endif]--></HEAD>
<BODY lang=EN-GB vLink=purple link=blue>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN 
class=652551116-04122007>Note that Oracle 10.2 *does* shrink shared pool 
automatically if needed... it can even keep buffer cache buffers in shared pool 
starting from 10.2...</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN 
class=652551116-04122007></SPAN></FONT>&nbsp;</DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN 
class=652551116-04122007><A 
href="http://www.orafaq.com/maillist/oracle-l/2006/08/22/0958.htm">http://www.orafaq.com/maillist/oracle-l/2006/08/22/0958.htm</A></SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT size=2></FONT>&nbsp;</DIV>
<DIV dir=ltr align=left><FONT size=2>--<BR>Regards,<BR>Tanel Poder<BR><A 
href="http://blog.tanelpoder.com/">http://blog.tanelpoder.com</A><BR></DIV></FONT>
<DIV>&nbsp;</DIV><BR>
<BLOCKQUOTE dir=ltr 
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid; MARGIN-RIGHT: 0px">
  <DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
  <HR tabIndex=-1>
  <FONT face=Tahoma size=2><B>From:</B> oracle-l-bounce@freelists.org 
  [mailto:oracle-l-bounce@freelists.org] <B>On Behalf Of </B>Vishal 
  Gupta<BR><B>Sent:</B> Tuesday, December 04, 2007 16:28<BR><B>To:</B> 
  oracle-l@freelists.org<BR><B>Subject:</B> RE: Forcing ASMM component to 
  shrink<BR></FONT><BR></DIV>
  <DIV></DIV>
  <DIV class=Section1>
  <P class=MsoNormal><SPAN 
  style="FONT-SIZE: 11pt; FONT-FAMILY: 'Calibri','sans-serif'">I have found the 
  way to forcibly shrink shared pool dynamically. Documentation stats that ASMM 
  can only increase shared pool, it can not shrink it. To shrink 
  shared_pool_size immediately, you have to switch to manual mode. After 
  shrinking you can again switch back to ASMM mode.<o:p></o:p></SPAN></P>
  <P class=MsoNormal><SPAN 
  style="FONT-SIZE: 11pt; FONT-FAMILY: 'Calibri','sans-serif'"><o:p>&nbsp;</o:p></SPAN></P>
  <P class=MsoNormal><SPAN 
  style="FONT-SIZE: 11pt; FONT-FAMILY: 'Calibri','sans-serif'"><A 
  href="http://download.oracle.com/docs/cd/B19306_01/server.102/b14231/create.htm#sthref383"><SPAN 
  style="COLOR: windowtext">http://download.oracle.com/docs/cd/B19306_01/server.102/b14231/create.htm#sthref383</SPAN></A> 
  <o:p></o:p></SPAN></P>
  <P class=MsoNormal 
  style="mso-margin-top-alt: auto; mso-margin-bottom-alt: auto"><B><SPAN 
  style="FONT-SIZE: 10pt">Automatic Tuning and the Shared 
  Pool<o:p></o:p></SPAN></B></P>
  <P class=MsoNormal 
  style="mso-margin-top-alt: auto; mso-margin-bottom-alt: auto">When the 
  automatic shared memory management feature is enabled, the internal tuning 
  algorithm tries to determine an optimal size for the shared pool based on the 
  workload. It usually converges on this value by increasing in small increments 
  over time. However, the internal tuning algorithm typically does not attempt 
  to shrink the shared pool, because the presence of open cursors, pinned PL/SQL 
  packages, and other SQL execution state in the shared pool make it impossible 
  to find granules that can be freed. Therefore, the tuning algorithm only tries 
  to increase the shared pool in conservative increments, starting from a 
  conservative size and stabilizing the shared pool at a size that produces the 
  optimal performance benefit.<o:p></o:p></P>
  <P class=MsoNormal><SPAN 
  style="FONT-SIZE: 11pt; FONT-FAMILY: 'Calibri','sans-serif'"><SPAN 
  style="COLOR: #1f497d"><o:p></o:p></SPAN></SPAN>&nbsp;</P></DIV></BLOCKQUOTE></BODY></HTML>

--Boundary_(ID_uv6IolH+1we7vvHycpO6iQ)--
--
http://www.freelists.org/webpage/oracle-l


