<?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"
	>
<channel>
	<title>Comments on: Did You Know That About PL/SQL Variables?</title>
	<atom:link href="http://awads.net/wp/2007/05/31/did-you-know-that-about-plsql-variables/feed/" rel="self" type="application/rss+xml" />
	<link>http://awads.net/wp/2007/05/31/did-you-know-that-about-plsql-variables/</link>
	<description>News, views, tips and tricks on Oracle and other fun stuff</description>
	<pubDate>Wed, 09 Jul 2008 00:46:52 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5</generator>
		<item>
		<title>By: Tim Hall</title>
		<link>http://awads.net/wp/2007/05/31/did-you-know-that-about-plsql-variables/#comment-50852</link>
		<dc:creator>Tim Hall</dc:creator>
		<pubDate>Tue, 05 Jun 2007 08:04:59 +0000</pubDate>
		<guid isPermaLink="false">http://awads.net/wp/2007/05/31/did-you-know-that-about-plsql-variables/#comment-50852</guid>
		<description>&lt;p&gt;Regarding Documentation:&lt;/p&gt;

&lt;p&gt;Yes, the bug I raised was against the documentation. It originally quoted the old 2000 byte limit.&lt;/p&gt;

&lt;p&gt;I've not checked recently, but the old 10.1 documentation was left with the incorrect value.&lt;/p&gt;

&lt;p&gt;Cheers&lt;/p&gt;

&lt;p&gt;Tim...&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Regarding Documentation:</p>
<p>Yes, the bug I raised was against the documentation. It originally quoted the old 2000 byte limit.</p>
<p>I&#8217;ve not checked recently, but the old 10.1 documentation was left with the incorrect value.</p>
<p>Cheers</p>
<p>Tim&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jonathan Lewis</title>
		<link>http://awads.net/wp/2007/05/31/did-you-know-that-about-plsql-variables/#comment-50845</link>
		<dc:creator>Jonathan Lewis</dc:creator>
		<pubDate>Sat, 02 Jun 2007 15:25:23 +0000</pubDate>
		<guid isPermaLink="false">http://awads.net/wp/2007/05/31/did-you-know-that-about-plsql-variables/#comment-50845</guid>
		<description>&lt;p&gt;There is a drawback to this approach. If the actual usage varies significantly in the lifetime of your session, then dynamic allocation can result in multiple child cursors for the same statement.&lt;/p&gt;

&lt;p&gt;On a highly concurrent system, this may be something you would prefer to avoid, since all three versions will be held on the same library cache latch, and multiple versions means longer hold times.&lt;/p&gt;

&lt;p&gt;There is a short note about this type of thing, with some follow-up discussion, at&lt;/p&gt;

&lt;p&gt;http://jonathanlewis.wordpress.com/2007/01/05/bind-variables/&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>There is a drawback to this approach. If the actual usage varies significantly in the lifetime of your session, then dynamic allocation can result in multiple child cursors for the same statement.</p>
<p>On a highly concurrent system, this may be something you would prefer to avoid, since all three versions will be held on the same library cache latch, and multiple versions means longer hold times.</p>
<p>There is a short note about this type of thing, with some follow-up discussion, at</p>
<p><a href="http://jonathanlewis.wordpress.com/2007/01/05/bind-variables/" rel="nofollow">http://jonathanlewis.wordpress.com/2007/01/05/bind-variables/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Lia Green</title>
		<link>http://awads.net/wp/2007/05/31/did-you-know-that-about-plsql-variables/#comment-50844</link>
		<dc:creator>Lia Green</dc:creator>
		<pubDate>Sat, 02 Jun 2007 02:46:15 +0000</pubDate>
		<guid isPermaLink="false">http://awads.net/wp/2007/05/31/did-you-know-that-about-plsql-variables/#comment-50844</guid>
		<description>&lt;p&gt;I have a question...are  people still interested in getting certified?  Cerebral Solutions is offering a 6 day certification and can't fill classes.  It's unbelievable.  Has certification lost its shine?&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>I have a question&#8230;are  people still interested in getting certified?  Cerebral Solutions is offering a 6 day certification and can&#8217;t fill classes.  It&#8217;s unbelievable.  Has certification lost its shine?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Eddie Awad</title>
		<link>http://awads.net/wp/2007/05/31/did-you-know-that-about-plsql-variables/#comment-50842</link>
		<dc:creator>Eddie Awad</dc:creator>
		<pubDate>Fri, 01 Jun 2007 16:23:15 +0000</pubDate>
		<guid isPermaLink="false">http://awads.net/wp/2007/05/31/did-you-know-that-about-plsql-variables/#comment-50842</guid>
		<description>&lt;p&gt;And here is an excerpt from the &lt;a href="http://download-west.oracle.com/docs/cd/B19306_01/appdev.102/b14261/tuning.htm#sthref2159" rel="nofollow"&gt;PL/SQL User's Guide and Reference 10g Release 2&lt;/a&gt;: You might need to allocate large VARCHAR2 variables when you are not sure how big an expression result will be. You can actually conserve memory by declaring VARCHAR2 variables with large sizes, such as 32000, rather than estimating just a little on the high side, such as by specifying 256 or 1000. PL/SQL has an optimization that makes it easy to avoid overflow problems and still conserve memory. Specify a size of more than 4000 characters for the VARCHAR2 variable; PL/SQL waits until you assign the variable, then only allocates as much storage as needed.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>And here is an excerpt from the <a href="http://download-west.oracle.com/docs/cd/B19306_01/appdev.102/b14261/tuning.htm#sthref2159" rel="nofollow">PL/SQL User&#8217;s Guide and Reference 10g Release 2</a>: You might need to allocate large VARCHAR2 variables when you are not sure how big an expression result will be. You can actually conserve memory by declaring VARCHAR2 variables with large sizes, such as 32000, rather than estimating just a little on the high side, such as by specifying 256 or 1000. PL/SQL has an optimization that makes it easy to avoid overflow problems and still conserve memory. Specify a size of more than 4000 characters for the VARCHAR2 variable; PL/SQL waits until you assign the variable, then only allocates as much storage as needed.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tim Hall</title>
		<link>http://awads.net/wp/2007/05/31/did-you-know-that-about-plsql-variables/#comment-50837</link>
		<dc:creator>Tim Hall</dc:creator>
		<pubDate>Fri, 01 Jun 2007 07:11:28 +0000</pubDate>
		<guid isPermaLink="false">http://awads.net/wp/2007/05/31/did-you-know-that-about-plsql-variables/#comment-50837</guid>
		<description>&lt;p&gt;The limit is actually &#62;4000 in 10g. I know because I spotted it and raised it as a bug (4330467) on metalink, only to be told it was a "feature" of 10g.&lt;/p&gt;

&lt;p&gt;Cheers&lt;/p&gt;

&lt;p&gt;Tim...&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>The limit is actually &gt;4000 in 10g. I know because I spotted it and raised it as a bug (4330467) on metalink, only to be told it was a &#8220;feature&#8221; of 10g.</p>
<p>Cheers</p>
<p>Tim&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: joel garry</title>
		<link>http://awads.net/wp/2007/05/31/did-you-know-that-about-plsql-variables/#comment-50836</link>
		<dc:creator>joel garry</dc:creator>
		<pubDate>Fri, 01 Jun 2007 00:05:25 +0000</pubDate>
		<guid isPermaLink="false">http://awads.net/wp/2007/05/31/did-you-know-that-about-plsql-variables/#comment-50836</guid>
		<description>&lt;p&gt;Shouldn't that be "... once you go above 1999 characters?"&lt;/p&gt;

&lt;p&gt;Sounds like a recipe for unnecessary performance issues to me.  Worry less about the few M of your users address space and more about many cycles of your cpu, since the latter will suddenly enhance any potential latching issues, but when do you have to search any wasted user space?&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Shouldn&#8217;t that be &#8220;&#8230; once you go above 1999 characters?&#8221;</p>
<p>Sounds like a recipe for unnecessary performance issues to me.  Worry less about the few M of your users address space and more about many cycles of your cpu, since the latter will suddenly enhance any potential latching issues, but when do you have to search any wasted user space?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
