<?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: Oracle 11g Adaptive Cursor Sharing (ACS)</title>
	<atom:link href="http://kerryosborne.oracle-guy.com/2009/06/oracle-11g-adaptive-cursor-sharing-acs/feed/" rel="self" type="application/rss+xml" />
	<link>http://kerryosborne.oracle-guy.com/2009/06/oracle-11g-adaptive-cursor-sharing-acs/</link>
	<description>Just another Oracle blog</description>
	<lastBuildDate>Mon, 06 Feb 2012 21:28:20 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: Amiel Davis</title>
		<link>http://kerryosborne.oracle-guy.com/2009/06/oracle-11g-adaptive-cursor-sharing-acs/#comment-41467</link>
		<dc:creator>Amiel Davis</dc:creator>
		<pubDate>Thu, 14 Apr 2011 19:00:33 +0000</pubDate>
		<guid isPermaLink="false">http://kerryosborne.oracle-guy.com/?p=1085#comment-41467</guid>
		<description>Update:
a.	The 11.2 &quot;Oracle® Database Performance Tuning Guide&quot; state it clearly:

&quot;...Adaptive cursor sharing is enabled for the database by default and cannot be disabled. Note that adaptive cursor sharing does not apply to SQL statements containing more than 14 bind variables...&quot;

http://download.oracle.com/docs/cd/E11882_01/server.112/e16638/optimops.htm#sthref874

looked in older documentation, and didn&#039;t find it..

b.	Great blog, keep up the good work!

Amiel Davis</description>
		<content:encoded><![CDATA[<p>Update:<br />
a.	The 11.2 &#8220;Oracle® Database Performance Tuning Guide&#8221; state it clearly:</p>
<p>&#8220;&#8230;Adaptive cursor sharing is enabled for the database by default and cannot be disabled. Note that adaptive cursor sharing does not apply to SQL statements containing more than 14 bind variables&#8230;&#8221;</p>
<p><a href="http://download.oracle.com/docs/cd/E11882_01/server.112/e16638/optimops.htm#sthref874" rel="nofollow">http://download.oracle.com/docs/cd/E11882_01/server.112/e16638/optimops.htm#sthref874</a></p>
<p>looked in older documentation, and didn&#8217;t find it..</p>
<p>b.	Great blog, keep up the good work!</p>
<p>Amiel Davis</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Aychin</title>
		<link>http://kerryosborne.oracle-guy.com/2009/06/oracle-11g-adaptive-cursor-sharing-acs/#comment-40523</link>
		<dc:creator>Aychin</dc:creator>
		<pubDate>Mon, 04 Apr 2011 20:54:20 +0000</pubDate>
		<guid isPermaLink="false">http://kerryosborne.oracle-guy.com/?p=1085#comment-40523</guid>
		<description>Hi, very interesting article! Thank You for spending Your time to share it! Please review my thoughts about ACS on http://aychin.wordpress.com/2011/04/04/adaptive-cursor-sharing-and-spm/ it will be very interesting to me to hear Your opinion about this issue. Thank You again!</description>
		<content:encoded><![CDATA[<p>Hi, very interesting article! Thank You for spending Your time to share it! Please review my thoughts about ACS on <a href="http://aychin.wordpress.com/2011/04/04/adaptive-cursor-sharing-and-spm/" rel="nofollow">http://aychin.wordpress.com/2011/04/04/adaptive-cursor-sharing-and-spm/</a> it will be very interesting to me to hear Your opinion about this issue. Thank You again!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jeff</title>
		<link>http://kerryosborne.oracle-guy.com/2009/06/oracle-11g-adaptive-cursor-sharing-acs/#comment-36993</link>
		<dc:creator>Jeff</dc:creator>
		<pubDate>Wed, 23 Feb 2011 13:27:49 +0000</pubDate>
		<guid isPermaLink="false">http://kerryosborne.oracle-guy.com/?p=1085#comment-36993</guid>
		<description>Update: Oracle believes it is due to the driver the app is using (ver 1 INet Seropto: http://www.inetsoftware.de/products/jdbc-driver/oracle/seropto).  They believe the driver is not &#039;passing the bind variables correctly for the compile parse&#039; - their words.

I&#039;ve patched up the problem using SQL Profiles, but I have to wait till July/Aug so App team can update to latest Oracle JDBC drivers.

It seems odd that the CBO would care how the parms are passed.</description>
		<content:encoded><![CDATA[<p>Update: Oracle believes it is due to the driver the app is using (ver 1 INet Seropto: <a href="http://www.inetsoftware.de/products/jdbc-driver/oracle/seropto" rel="nofollow">http://www.inetsoftware.de/products/jdbc-driver/oracle/seropto</a>).  They believe the driver is not &#8216;passing the bind variables correctly for the compile parse&#8217; &#8211; their words.</p>
<p>I&#8217;ve patched up the problem using SQL Profiles, but I have to wait till July/Aug so App team can update to latest Oracle JDBC drivers.</p>
<p>It seems odd that the CBO would care how the parms are passed.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jeff</title>
		<link>http://kerryosborne.oracle-guy.com/2009/06/oracle-11g-adaptive-cursor-sharing-acs/#comment-35162</link>
		<dc:creator>Jeff</dc:creator>
		<pubDate>Sat, 29 Jan 2011 01:58:41 +0000</pubDate>
		<guid isPermaLink="false">http://kerryosborne.oracle-guy.com/?p=1085#comment-35162</guid>
		<description>The interesting thing is our Java app makes heavy use of binds and not one SQL is bind aware according to V$SQL (out of 15k SQLs!) .  Good news is ODM guys were able to reproduce this but haven&#039;t been able to explain it so far.  Sometimes thats half the battle!</description>
		<content:encoded><![CDATA[<p>The interesting thing is our Java app makes heavy use of binds and not one SQL is bind aware according to V$SQL (out of 15k SQLs!) .  Good news is ODM guys were able to reproduce this but haven&#8217;t been able to explain it so far.  Sometimes thats half the battle!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: osborne</title>
		<link>http://kerryosborne.oracle-guy.com/2009/06/oracle-11g-adaptive-cursor-sharing-acs/#comment-34918</link>
		<dc:creator>osborne</dc:creator>
		<pubDate>Tue, 25 Jan 2011 23:23:44 +0000</pubDate>
		<guid isPermaLink="false">http://kerryosborne.oracle-guy.com/?p=1085#comment-34918</guid>
		<description>Thanks for the kind words Jeff. Pleas let me know what response you get to the SR. I expected this would be addressed in fairly short order but to be honest I have not tested with 11.2.0.2 yet, but I did test 11.2.0.1 and it did appear that the same limitation was in place in that release.

Kerry</description>
		<content:encoded><![CDATA[<p>Thanks for the kind words Jeff. Pleas let me know what response you get to the SR. I expected this would be addressed in fairly short order but to be honest I have not tested with 11.2.0.2 yet, but I did test 11.2.0.1 and it did appear that the same limitation was in place in that release.</p>
<p>Kerry</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jeff</title>
		<link>http://kerryosborne.oracle-guy.com/2009/06/oracle-11g-adaptive-cursor-sharing-acs/#comment-34896</link>
		<dc:creator>Jeff</dc:creator>
		<pubDate>Tue, 25 Jan 2011 18:01:06 +0000</pubDate>
		<guid isPermaLink="false">http://kerryosborne.oracle-guy.com/?p=1085#comment-34896</guid>
		<description>Excellent article.  We’re running Exadata 11gR2 (11.2.0.1.0) and I’ve encountered the same issue with some SQL that has 21 bind vars.  I had a hunch that we had a BP issue, but your work here saved me a lot of time in proving it out.  I’ve created an SR and I’m curious what they come back with.  Thanks for your contributions to the Exadata community!</description>
		<content:encoded><![CDATA[<p>Excellent article.  We’re running Exadata 11gR2 (11.2.0.1.0) and I’ve encountered the same issue with some SQL that has 21 bind vars.  I had a hunch that we had a BP issue, but your work here saved me a lot of time in proving it out.  I’ve created an SR and I’m curious what they come back with.  Thanks for your contributions to the Exadata community!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: osborne</title>
		<link>http://kerryosborne.oracle-guy.com/2009/06/oracle-11g-adaptive-cursor-sharing-acs/#comment-26571</link>
		<dc:creator>osborne</dc:creator>
		<pubDate>Fri, 22 Oct 2010 03:23:22 +0000</pubDate>
		<guid isPermaLink="false">http://kerryosborne.oracle-guy.com/?p=1085#comment-26571</guid>
		<description>Well I don&#039;t think ACS really solves the problem, so yes disabling peeking via setting _optim_peek_user_binds=false is still a viable option in my opinion. 

Kerry</description>
		<content:encoded><![CDATA[<p>Well I don&#8217;t think ACS really solves the problem, so yes disabling peeking via setting _optim_peek_user_binds=false is still a viable option in my opinion. </p>
<p>Kerry</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mark</title>
		<link>http://kerryosborne.oracle-guy.com/2009/06/oracle-11g-adaptive-cursor-sharing-acs/#comment-26341</link>
		<dc:creator>Mark</dc:creator>
		<pubDate>Tue, 19 Oct 2010 22:03:03 +0000</pubDate>
		<guid isPermaLink="false">http://kerryosborne.oracle-guy.com/?p=1085#comment-26341</guid>
		<description>Hi Kerry,
In my 9i system I turned off the bind peeking. That was actually a recommendation from Oracle support which made sense to me. My app had a combination of SQLs with literals and bind variables. The idea was, those with literals would benefit from histograms, those with bind variables would be protected from plan instability. 
I didn&#039;t see you mentioning this approach at all. What&#039;s your opinion on disabling bind peeking in 11g instead of relying on ACS?</description>
		<content:encoded><![CDATA[<p>Hi Kerry,<br />
In my 9i system I turned off the bind peeking. That was actually a recommendation from Oracle support which made sense to me. My app had a combination of SQLs with literals and bind variables. The idea was, those with literals would benefit from histograms, those with bind variables would be protected from plan instability.<br />
I didn&#8217;t see you mentioning this approach at all. What&#8217;s your opinion on disabling bind peeking in 11g instead of relying on ACS?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: osborne</title>
		<link>http://kerryosborne.oracle-guy.com/2009/06/oracle-11g-adaptive-cursor-sharing-acs/#comment-25569</link>
		<dc:creator>osborne</dc:creator>
		<pubDate>Wed, 13 Oct 2010 20:25:41 +0000</pubDate>
		<guid isPermaLink="false">http://kerryosborne.oracle-guy.com/?p=1085#comment-25569</guid>
		<description>I was trying to show why ACS doesn&#039;t always solve our Bind Variable Peeking issues. One of the main issues was that statements that have over 14 bind variables don&#039;t appear to ever be marked as bind sensitive. (i.e. ACS never evaluates them at all) This was done on 11.1.0.7 so the behavior may change with subsequent releases. There is really no relation between this and the number of child cursors that get created for a statement - whether it is marked as bind aware or not.

Kerry</description>
		<content:encoded><![CDATA[<p>I was trying to show why ACS doesn&#8217;t always solve our Bind Variable Peeking issues. One of the main issues was that statements that have over 14 bind variables don&#8217;t appear to ever be marked as bind sensitive. (i.e. ACS never evaluates them at all) This was done on 11.1.0.7 so the behavior may change with subsequent releases. There is really no relation between this and the number of child cursors that get created for a statement &#8211; whether it is marked as bind aware or not.</p>
<p>Kerry</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: hank</title>
		<link>http://kerryosborne.oracle-guy.com/2009/06/oracle-11g-adaptive-cursor-sharing-acs/#comment-25534</link>
		<dc:creator>hank</dc:creator>
		<pubDate>Wed, 13 Oct 2010 15:12:05 +0000</pubDate>
		<guid isPermaLink="false">http://kerryosborne.oracle-guy.com/?p=1085#comment-25534</guid>
		<description>Hi Kerry

i found something from ORACLE docs and it says : 

The management of private SQL areas is the responsibility of the user process. The allocation and deallocation of private SQL areas depends largely on which application tool you are using, although the number of private SQL areas that a user process can allocate is always limited by the initialization parameter OPEN_CURSORS. The default value of this parameter is 50.

isn&#039;t it what you are figuring out?</description>
		<content:encoded><![CDATA[<p>Hi Kerry</p>
<p>i found something from ORACLE docs and it says : </p>
<p>The management of private SQL areas is the responsibility of the user process. The allocation and deallocation of private SQL areas depends largely on which application tool you are using, although the number of private SQL areas that a user process can allocate is always limited by the initialization parameter OPEN_CURSORS. The default value of this parameter is 50.</p>
<p>isn&#8217;t it what you are figuring out?</p>
]]></content:encoded>
	</item>
</channel>
</rss>

