<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://www.hacks.be/wiki/index.php?action=history&amp;feed=atom&amp;title=Flash_Cache</id>
	<title>Flash Cache - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://www.hacks.be/wiki/index.php?action=history&amp;feed=atom&amp;title=Flash_Cache"/>
	<link rel="alternate" type="text/html" href="https://www.hacks.be/wiki/index.php?title=Flash_Cache&amp;action=history"/>
	<updated>2026-04-30T12:03:56Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.35.1</generator>
	<entry>
		<id>https://www.hacks.be/wiki/index.php?title=Flash_Cache&amp;diff=32&amp;oldid=prev</id>
		<title>193.121.160.69: Created page with &quot;Enable flash cache: &lt;source lang=&quot;sql&quot;&gt; alter system set db_flash_cache_file=&#039;/flash/cache.dbf&#039; scope=spfile; alter system set db_flash_cache_size=10G scope=spfile; &lt;/source&gt;...&quot;</title>
		<link rel="alternate" type="text/html" href="https://www.hacks.be/wiki/index.php?title=Flash_Cache&amp;diff=32&amp;oldid=prev"/>
		<updated>2016-04-05T10:10:31Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;Enable flash cache: &amp;lt;source lang=&amp;quot;sql&amp;quot;&amp;gt; alter system set db_flash_cache_file=&amp;#039;/flash/cache.dbf&amp;#039; scope=spfile; alter system set db_flash_cache_size=10G scope=spfile; &amp;lt;/source&amp;gt;...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Enable flash cache:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;sql&amp;quot;&amp;gt;&lt;br /&gt;
alter system set db_flash_cache_file=&amp;#039;/flash/cache.dbf&amp;#039; scope=spfile;&lt;br /&gt;
alter system set db_flash_cache_size=10G scope=spfile;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Prevent flash cache from turning off due to small interruption:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;sql&amp;quot;&amp;gt;&lt;br /&gt;
alter system set _db_flash_cache_max_latency=200;&lt;br /&gt;
alter system set _db_flash_cache_max_slow_io=10000;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In case flash cache is turned off due to a latency error, it can be re-enabled by setting the size to 0 (disabling flash cache), then setting the size back to the old setting. Online resizing of flash cache is not supported so only values 0 and the old value are valid settings.&lt;br /&gt;
&lt;br /&gt;
Show contents of Flash cache:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;sql&amp;quot;&amp;gt;&lt;br /&gt;
SELECT /*+ use_hash(o bh) */&lt;br /&gt;
       owner&lt;br /&gt;
     , object_name&lt;br /&gt;
     , object_type&lt;br /&gt;
     , count(1) * &amp;amp;block_size / 1048576 / 1024 &amp;quot;Size (GB)&amp;quot;&lt;br /&gt;
  FROM dba_objects o&lt;br /&gt;
     , v$bh bh&lt;br /&gt;
 WHERE o.data_object_id  = bh.objd&lt;br /&gt;
   AND bh.status IN (&amp;#039;flashcur&amp;#039;)&lt;br /&gt;
 GROUP BY owner, object_name, object_type&lt;br /&gt;
 ORDER BY count(1) desc;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Size of flash cache:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;sql&amp;quot;&amp;gt;&lt;br /&gt;
SELECT count(1) * &amp;amp;block_size / 1048576 / 1024 &amp;quot;Size (GB)&amp;quot;&lt;br /&gt;
  FROM v$bh bh&lt;br /&gt;
 WHERE bh.status IN (&amp;#039;flashcur&amp;#039;);&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;/div&gt;</summary>
		<author><name>193.121.160.69</name></author>
	</entry>
</feed>