<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: The Pitfalls of Oracle&#8217;s Automatic SGA Management</title>
	<atom:link href="http://www.pythian.com/news/291/pitfalls-of-oracle-auto-sga-management/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.pythian.com/news/291/pitfalls-of-oracle-auto-sga-management/</link>
	<description>News and views from Pythian DBAs</description>
	<lastBuildDate>Sat, 13 Mar 2010 03:59:02 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Andy</title>
		<link>http://www.pythian.com/news/291/pitfalls-of-oracle-auto-sga-management/#comment-191912</link>
		<dc:creator>Andy</dc:creator>
		<pubDate>Mon, 05 May 2008 15:05:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.pythian.com/blogs/291/pitfalls-of-oracle-auto-sga-management#comment-191912</guid>
		<description>We ran into the issue you described too.  The trick is to set minimum values for the pools, especially the default buffer cache, that way when your unbound queries dry up the other pools, they can only dry them up to a point, and over time they&#039;ll balance out again.

We&#039;re using 10.2.0.3, and we&#039;ve loaded many terrabytes of *lobs into ASSM, and we haven&#039;t had any problems.  In fact, it stores them more efficently than the OS was storing them...we use less space by putting them in the DB then we did when they were out of the DB.  I think this is because the full OS block is allocated in the OS, but ASSM is a little more efficient.  I wonder in what version you experienced issues, Noons?  We have had the shared cursor issue you mentioned, that&#039;s a scary one...and I know of at least 3 different bugs that cause that. Basicly, Oracle matches the sql text in the shared pool for your query, and doesn&#039;t consider the schema that executed that query...so 2 scheams w/the same table name will get the same result, even if they have different data in the tables.

I agree krisgopala, but the problem is the impression from the users...they don&#039;t know about the unbound sql, they only see the db running slowly and they blame Oracle, and of course, the DBA.  Still, by setting minimum values, you can compensate for the bad code...a little bit.</description>
		<content:encoded><![CDATA[<p>We ran into the issue you described too.  The trick is to set minimum values for the pools, especially the default buffer cache, that way when your unbound queries dry up the other pools, they can only dry them up to a point, and over time they&#8217;ll balance out again.</p>
<p>We&#8217;re using 10.2.0.3, and we&#8217;ve loaded many terrabytes of *lobs into ASSM, and we haven&#8217;t had any problems.  In fact, it stores them more efficently than the OS was storing them&#8230;we use less space by putting them in the DB then we did when they were out of the DB.  I think this is because the full OS block is allocated in the OS, but ASSM is a little more efficient.  I wonder in what version you experienced issues, Noons?  We have had the shared cursor issue you mentioned, that&#8217;s a scary one&#8230;and I know of at least 3 different bugs that cause that. Basicly, Oracle matches the sql text in the shared pool for your query, and doesn&#8217;t consider the schema that executed that query&#8230;so 2 scheams w/the same table name will get the same result, even if they have different data in the tables.</p>
<p>I agree krisgopala, but the problem is the impression from the users&#8230;they don&#8217;t know about the unbound sql, they only see the db running slowly and they blame Oracle, and of course, the DBA.  Still, by setting minimum values, you can compensate for the bad code&#8230;a little bit.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: krisgopala</title>
		<link>http://www.pythian.com/news/291/pitfalls-of-oracle-auto-sga-management/#comment-69349</link>
		<dc:creator>krisgopala</dc:creator>
		<pubDate>Thu, 28 Jun 2007 11:56:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.pythian.com/blogs/291/pitfalls-of-oracle-auto-sga-management#comment-69349</guid>
		<description>Just going through this entry, a question comes up on my mind. You have mentioned that the application uses very little binding. Isn&#039;t that a basic design flaw ?  Is it fair for us to expect Oracle to automatically fix mistakes in application design?</description>
		<content:encoded><![CDATA[<p>Just going through this entry, a question comes up on my mind. You have mentioned that the application uses very little binding. Isn&#8217;t that a basic design flaw ?  Is it fair for us to expect Oracle to automatically fix mistakes in application design?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Noons</title>
		<link>http://www.pythian.com/news/291/pitfalls-of-oracle-auto-sga-management/#comment-10653</link>
		<dc:creator>Noons</dc:creator>
		<pubDate>Fri, 15 Dec 2006 00:14:11 +0000</pubDate>
		<guid isPermaLink="false">http://www.pythian.com/blogs/291/pitfalls-of-oracle-auto-sga-management#comment-10653</guid>
		<description>Raj, there is much worse to come!

Wait until you have to run multiple schemas in same db, with same table names.
If you&#039;re using ANY of the automatic sga and pga management features since 9ir1, it&#039;s odds on that on a loaded system you&#039;ll see the bugs I alert to in my blog.

They are caused by appaling QA of the pga_aggregate code and other auto memory management parameters.  

As well: try to use BLOBs on ASSM tablespaces in any 9i or 10g and aside from the very latest - and unproven - patch releases, I can virtually guarantee you&#039;ll get a corrupt LOB segment as soon as the load goes up!

And Oracle wants us to go through all the trouble of installing regular &quot;patch releases&quot; when they can&#039;t fix the most basic of basics?  Helllooooo?

All I can say at this stage is: use &quot;auto-anything&quot; with a grain of salt bigger than Ben-Hur...</description>
		<content:encoded><![CDATA[<p>Raj, there is much worse to come!</p>
<p>Wait until you have to run multiple schemas in same db, with same table names.<br />
If you&#8217;re using ANY of the automatic sga and pga management features since 9ir1, it&#8217;s odds on that on a loaded system you&#8217;ll see the bugs I alert to in my blog.</p>
<p>They are caused by appaling QA of the pga_aggregate code and other auto memory management parameters.  </p>
<p>As well: try to use BLOBs on ASSM tablespaces in any 9i or 10g and aside from the very latest &#8211; and unproven &#8211; patch releases, I can virtually guarantee you&#8217;ll get a corrupt LOB segment as soon as the load goes up!</p>
<p>And Oracle wants us to go through all the trouble of installing regular &#8220;patch releases&#8221; when they can&#8217;t fix the most basic of basics?  Helllooooo?</p>
<p>All I can say at this stage is: use &#8220;auto-anything&#8221; with a grain of salt bigger than Ben-Hur&#8230;</p>
]]></content:encoded>
	</item>
</channel>
</rss>
