<?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: Block Change Tracking setup and measurement</title>
	<atom:link href="/2011/05/31/block-change-tracking-setup-and-measurement/feed/" rel="self" type="application/rss+xml" />
	<link>http://dboptimizer.com/2011/05/31/block-change-tracking-setup-and-measurement/</link>
	<description>database performance, SQL tuning and data visualizatoin</description>
	<lastBuildDate>Sat, 03 Mar 2018 05:02:37 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.6</generator>
	<item>
		<title>By: Kyle Hailey</title>
		<link>http://dboptimizer.com/2011/05/31/block-change-tracking-setup-and-measurement/#comment-866</link>
		<dc:creator>Kyle Hailey</dc:creator>
		<pubDate>Thu, 17 Nov 2011 23:54:51 +0000</pubDate>
		<guid isPermaLink="false">http://dboptimizer.com/?p=998#comment-866</guid>
		<description><![CDATA[Another good piece of information thanks to Francisco Sanchez, is preparing for the size of the BCT file:
Minimum size is 11MB, with increments of 10MB as needed.

The following query can be used to calculate the maximum size the BCT from the number of files in the database, for a non RAC case:
SELECT((
    (SELECT SUM(ceil(bytes /(7686 * 1024 * 1024))) * 8 bitmap_ext
       FROM v$datafile) +
           (SELECT ceil(VALUE / 252) file_descr_ext
              FROM v$parameter
             WHERE name = &#039;db_files&#039;) + 1) *
           32 + 1088) / 1024 bct_file_size_mb
  FROM dual;

However if the result is less than 11 MB, then the size will be 11 MB.]]></description>
		<content:encoded><![CDATA[<p>Another good piece of information thanks to Francisco Sanchez, is preparing for the size of the BCT file:<br />
Minimum size is 11MB, with increments of 10MB as needed.</p>
<p>The following query can be used to calculate the maximum size the BCT from the number of files in the database, for a non RAC case:<br />
SELECT((<br />
    (SELECT SUM(ceil(bytes /(7686 * 1024 * 1024))) * 8 bitmap_ext<br />
       FROM v$datafile) +<br />
           (SELECT ceil(VALUE / 252) file_descr_ext<br />
              FROM v$parameter<br />
             WHERE name = &#8216;db_files&#8217;) + 1) *<br />
           32 + 1088) / 1024 bct_file_size_mb<br />
  FROM dual;</p>
<p>However if the result is less than 11 MB, then the size will be 11 MB.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kyle Hailey</title>
		<link>http://dboptimizer.com/2011/05/31/block-change-tracking-setup-and-measurement/#comment-398</link>
		<dc:creator>Kyle Hailey</dc:creator>
		<pubDate>Fri, 17 Jun 2011 20:30:58 +0000</pubDate>
		<guid isPermaLink="false">http://dboptimizer.com/?p=998#comment-398</guid>
		<description><![CDATA[In some cases enabling BCT could run into the old ORA-4031

SQL&gt; alter database enable block change tracking using file &#039;/oracle/block_change.dbf&#039;;
alter database enable block change tracking using file &#039;/oracle/block_change.dbf&#039;
*
ERROR at line 1:
ORA-19760: error starting change tracking

from init.ora

Fri Jun 17 17:13:01 2011
alter database enable block change tracking using file &#039;/oracle/block_change.dbf&#039;
Fri Jun 17 17:13:01 2011
Block change tracking file is current.
Starting background process CTWR
CTWR started with pid=276, OS id=2537
Fri Jun 17 17:13:02 2011
Errors in file /oracle/xxx_ctwr_2537.trc:
ORA-04031: unable to allocate 1826720 bytes of shared memory (&quot;shared pool&quot;,&quot;unknown object&quot;,&quot;sga heap(1,0)&quot;,&quot;CTWR dba buffer&quot;)
Block change tracking service stopping.
Fri Jun 17 17:13:02 2011
Stopping background process CTWR
ORA-19760 signalled during: alter database enable block change tracking using file &#039;/oracle/block_change.dbf&#039;...
Deleted file /oracle/block_change.dbf

and the error persists even after flushing the shared pool and in many cases bouncing the database may not be an option.

Two options are to increase large pool or reduce the BCT buffer

1) example: alter system set large_pool_size = 100M;
2) tweak hidden parameter _bct_public_dba_buffer_size but only as a last resort]]></description>
		<content:encoded><![CDATA[<p>In some cases enabling BCT could run into the old ORA-4031</p>
<p>SQL> alter database enable block change tracking using file &#8216;/oracle/block_change.dbf&#8217;;<br />
alter database enable block change tracking using file &#8216;/oracle/block_change.dbf&#8217;<br />
*<br />
ERROR at line 1:<br />
ORA-19760: error starting change tracking</p>
<p>from init.ora</p>
<p>Fri Jun 17 17:13:01 2011<br />
alter database enable block change tracking using file &#8216;/oracle/block_change.dbf&#8217;<br />
Fri Jun 17 17:13:01 2011<br />
Block change tracking file is current.<br />
Starting background process CTWR<br />
CTWR started with pid=276, OS id=2537<br />
Fri Jun 17 17:13:02 2011<br />
Errors in file /oracle/xxx_ctwr_2537.trc:<br />
ORA-04031: unable to allocate 1826720 bytes of shared memory (&#8220;shared pool&#8221;,&#8221;unknown object&#8221;,&#8221;sga heap(1,0)&#8221;,&#8221;CTWR dba buffer&#8221;)<br />
Block change tracking service stopping.<br />
Fri Jun 17 17:13:02 2011<br />
Stopping background process CTWR<br />
ORA-19760 signalled during: alter database enable block change tracking using file &#8216;/oracle/block_change.dbf&#8217;&#8230;<br />
Deleted file /oracle/block_change.dbf</p>
<p>and the error persists even after flushing the shared pool and in many cases bouncing the database may not be an option.</p>
<p>Two options are to increase large pool or reduce the BCT buffer</p>
<p>1) example: alter system set large_pool_size = 100M;<br />
2) tweak hidden parameter _bct_public_dba_buffer_size but only as a last resort</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Log Buffer #223, A Carnival of the Vanities for DBAs &#124; The Pythian Blog</title>
		<link>http://dboptimizer.com/2011/05/31/block-change-tracking-setup-and-measurement/#comment-356</link>
		<dc:creator>Log Buffer #223, A Carnival of the Vanities for DBAs &#124; The Pythian Blog</dc:creator>
		<pubDate>Fri, 03 Jun 2011 08:27:14 +0000</pubDate>
		<guid isPermaLink="false">http://dboptimizer.com/?p=998#comment-356</guid>
		<description><![CDATA[[...] and were afraid to ask, check out the awesome presentation from Alex Gorbechev, the Pythian CTO, Kyle Hailey [...]]]></description>
		<content:encoded><![CDATA[<p>[...] and were afraid to ask, check out the awesome presentation from Alex Gorbechev, the Pythian CTO, Kyle Hailey [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>
