<?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: New in Oracle 11g: PL/SQL Function Result Cache</title>
	<atom:link href="http://technology.amis.nl/2007/07/31/new-in-oracle-11g-plsql-function-result-cache/feed/" rel="self" type="application/rss+xml" />
	<link>http://technology.amis.nl/2007/07/31/new-in-oracle-11g-plsql-function-result-cache/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=new-in-oracle-11g-plsql-function-result-cache</link>
	<description></description>
	<lastBuildDate>Fri, 12 Apr 2013 10:04:09 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.1</generator>
	<item>
		<title>By: Jurgen Kemmelings</title>
		<link>http://technology.amis.nl/2007/07/31/new-in-oracle-11g-plsql-function-result-cache/#comment-4841</link>
		<dc:creator>Jurgen Kemmelings</dc:creator>
		<pubDate>Wed, 01 Aug 2007 09:34:30 +0000</pubDate>
		<guid isPermaLink="false">http://technology.amis.nl/blog/?p=2355#comment-4841</guid>
		<description><![CDATA[Yes, it works exactly as you expect:

SQL&gt; select test_result_cache(10) from dual;

TEST_RESULT_CACHE(10)
---------------------
                   10

Elapsed: 00:00:10.14
SQL&gt; select test_result_cache(11) from dual;

TEST_RESULT_CACHE(11)
---------------------
                   11

Elapsed: 00:00:10.00
SQL&gt; select test_result_cache(10) from dual;

TEST_RESULT_CACHE(10)
---------------------
                   10

Elapsed: 00:00:00.01
SQL&gt; select test_result_cache(11) from dual;

TEST_RESULT_CACHE(11)
---------------------
                   11

Elapsed: 00:00:00.00
SQL&gt;]]></description>
		<content:encoded><![CDATA[<p>Yes, it works exactly as you expect:</p>
<p>SQL&gt; select test_result_cache(10) from dual;</p>
<p>TEST_RESULT_CACHE(10)<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br />
                   10</p>
<p>Elapsed: 00:00:10.14<br />
SQL&gt; select test_result_cache(11) from dual;</p>
<p>TEST_RESULT_CACHE(11)<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br />
                   11</p>
<p>Elapsed: 00:00:10.00<br />
SQL&gt; select test_result_cache(10) from dual;</p>
<p>TEST_RESULT_CACHE(10)<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br />
                   10</p>
<p>Elapsed: 00:00:00.01<br />
SQL&gt; select test_result_cache(11) from dual;</p>
<p>TEST_RESULT_CACHE(11)<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br />
                   11</p>
<p>Elapsed: 00:00:00.00<br />
SQL&gt;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gareth Roberts</title>
		<link>http://technology.amis.nl/2007/07/31/new-in-oracle-11g-plsql-function-result-cache/#comment-4840</link>
		<dc:creator>Gareth Roberts</dc:creator>
		<pubDate>Wed, 01 Aug 2007 06:15:51 +0000</pubDate>
		<guid isPermaLink="false">http://technology.amis.nl/blog/?p=2355#comment-4840</guid>
		<description><![CDATA[Hi,
That looks like the deterministic option in prior versions, but with more functionality...
Cheers, Gareth]]></description>
		<content:encoded><![CDATA[<p>Hi,<br />
That looks like the deterministic option in prior versions, but with more functionality&#8230;<br />
Cheers, Gareth</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Steeve Bisson</title>
		<link>http://technology.amis.nl/2007/07/31/new-in-oracle-11g-plsql-function-result-cache/#comment-4839</link>
		<dc:creator>Steeve Bisson</dc:creator>
		<pubDate>Tue, 31 Jul 2007 15:10:30 +0000</pubDate>
		<guid isPermaLink="false">http://technology.amis.nl/blog/?p=2355#comment-4839</guid>
		<description><![CDATA[If you change the value p_in passed to the function test_result_cache( p_in in number ).  Lets say 11.
Will it know not to use the cache in this case the first time 11 is passed to the function?

ex:

SQL&gt; select test_result_cache(10) from dual;

TEST_RESULT_CACHE(10)
â€”â€”â€”â€”â€”â€”â€”
                   10

Elapsed: 00:00:10.35
SQL&gt; select test_result_cache(11) from dual;

TEST_RESULT_CACHE(11)
â€”â€”â€”â€”â€”â€”â€”
                   11

Elapsed: 00:00:10.35
SQL&gt; select test_result_cache(10) from dual;

TEST_RESULT_CACHE(10)
â€”â€”â€”â€”â€”â€”â€”
                   10

Elapsed: 00:00:00.00
SQL&gt; select test_result_cache(11) from dual;

TEST_RESULT_CACHE(11)
â€”â€”â€”â€”â€”â€”â€”
                   11

Elapsed: 00:00:00.00]]></description>
		<content:encoded><![CDATA[<p>If you change the value p_in passed to the function test_result_cache( p_in in number ).  Lets say 11.<br />
Will it know not to use the cache in this case the first time 11 is passed to the function?</p>
<p>ex:</p>
<p>SQL&gt; select test_result_cache(10) from dual;</p>
<p>TEST_RESULT_CACHE(10)<br />
â€”â€”â€”â€”â€”â€”â€”<br />
                   10</p>
<p>Elapsed: 00:00:10.35<br />
SQL&gt; select test_result_cache(11) from dual;</p>
<p>TEST_RESULT_CACHE(11)<br />
â€”â€”â€”â€”â€”â€”â€”<br />
                   11</p>
<p>Elapsed: 00:00:10.35<br />
SQL&gt; select test_result_cache(10) from dual;</p>
<p>TEST_RESULT_CACHE(10)<br />
â€”â€”â€”â€”â€”â€”â€”<br />
                   10</p>
<p>Elapsed: 00:00:00.00<br />
SQL&gt; select test_result_cache(11) from dual;</p>
<p>TEST_RESULT_CACHE(11)<br />
â€”â€”â€”â€”â€”â€”â€”<br />
                   11</p>
<p>Elapsed: 00:00:00.00</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jurgen Kemmelings</title>
		<link>http://technology.amis.nl/2007/07/31/new-in-oracle-11g-plsql-function-result-cache/#comment-4838</link>
		<dc:creator>Jurgen Kemmelings</dc:creator>
		<pubDate>Tue, 31 Jul 2007 12:44:12 +0000</pubDate>
		<guid isPermaLink="false">http://technology.amis.nl/blog/?p=2355#comment-4838</guid>
		<description><![CDATA[Many results can be cached. There is a database parameter RESULT_CACHE_MAX_SIZE that specifies the maximum amount of SGA memory that can be used for the result cache. Also there is a package DBMS_RESULT_CACHE to manage the cache, e.g. with DBMS_RESULT_CACHE.FLUSH you can flush the cache.
And yes, in the RELIES_ON() clause you can also mention a view if you do not have access to the table.]]></description>
		<content:encoded><![CDATA[<p>Many results can be cached. There is a database parameter RESULT_CACHE_MAX_SIZE that specifies the maximum amount of SGA memory that can be used for the result cache. Also there is a package DBMS_RESULT_CACHE to manage the cache, e.g. with DBMS_RESULT_CACHE.FLUSH you can flush the cache.<br />
And yes, in the RELIES_ON() clause you can also mention a view if you do not have access to the table.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Patrick Wolf</title>
		<link>http://technology.amis.nl/2007/07/31/new-in-oracle-11g-plsql-function-result-cache/#comment-4837</link>
		<dc:creator>Patrick Wolf</dc:creator>
		<pubDate>Tue, 31 Jul 2007 10:17:36 +0000</pubDate>
		<guid isPermaLink="false">http://technology.amis.nl/blog/?p=2355#comment-4837</guid>
		<description><![CDATA[A really nice feature!

Do you know how many results are cached by Oracle? Is there a setting somewhere to define the size?
Another questions: With RELIES_ON, can I also reference a table where I don&#039;t have direct read access, eg. in case if I just have access to the table through a view.

Thanks
Patrick]]></description>
		<content:encoded><![CDATA[<p>A really nice feature!</p>
<p>Do you know how many results are cached by Oracle? Is there a setting somewhere to define the size?<br />
Another questions: With RELIES_ON, can I also reference a table where I don&#8217;t have direct read access, eg. in case if I just have access to the table through a view.</p>
<p>Thanks<br />
Patrick</p>
]]></content:encoded>
	</item>
</channel>
</rss>
