<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments on: Free Space</title>
	<atom:link href="http://jonathanlewis.wordpress.com/2013/02/25/free-space-2/feed/" rel="self" type="application/rss+xml" />
	<link>http://jonathanlewis.wordpress.com/2013/02/25/free-space-2/</link>
	<description>Just another Oracle weblog</description>
	<lastBuildDate>Tue, 18 Jun 2013 17:11:36 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
	<item>
		<title>By: Jonathan Lewis</title>
		<link>http://jonathanlewis.wordpress.com/2013/02/25/free-space-2/#comment-54036</link>
		<dc:creator><![CDATA[Jonathan Lewis]]></dc:creator>
		<pubDate>Sun, 10 Mar 2013 11:55:36 +0000</pubDate>
		<guid isPermaLink="false">http://jonathanlewis.wordpress.com/?p=10068#comment-54036</guid>
		<description><![CDATA[Richard,
I&#039;m not quite sure I understand your comments about, but I think you are mixing up the bitmaps for the extents and the bitmaps for the tablespace as you work through the numners.

Each block in the bitmap for the tablespace allows us to map 14,336 extents.
In this version of Oracle, the first extent of the tablespace starts after a 1MB file header section (which, of course, includes the tablespace bitmaps).]]></description>
		<content:encoded><![CDATA[<p>Richard,<br />
I&#8217;m not quite sure I understand your comments about, but I think you are mixing up the bitmaps for the extents and the bitmaps for the tablespace as you work through the numners.</p>
<p>Each block in the bitmap for the tablespace allows us to map 14,336 extents.<br />
In this version of Oracle, the first extent of the tablespace starts after a 1MB file header section (which, of course, includes the tablespace bitmaps).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Richard.</title>
		<link>http://jonathanlewis.wordpress.com/2013/02/25/free-space-2/#comment-53909</link>
		<dc:creator><![CDATA[Richard.]]></dc:creator>
		<pubDate>Mon, 04 Mar 2013 11:27:35 +0000</pubDate>
		<guid isPermaLink="false">http://jonathanlewis.wordpress.com/?p=10068#comment-53909</guid>
		<description><![CDATA[Hi Jonathan,

  I can´t understand the above operation: 

512 + 2 * 14,336 

If an extent consists of two blocks, and there is only a bitmap control header for each extent, it means there is 14336 bits in the first block of the extent but the second block should be full available (except its own control information, of course). I mean:

  Block 1, extent Nth                                           Block 2, extent Nth              
  -------------------------------------------------------- + -------------------------------------------------------
  bitmap header: 256 B &#124;  14336 bits=1792B +   Full 2048 B - block header(22B for example)
  ---------------------------------------------------------+--------------------------------------------------------

So, If it is correct, the next bit map should be at: 1792 B + 2048B, isn´t?.

  Best regards.]]></description>
		<content:encoded><![CDATA[<p>Hi Jonathan,</p>
<p>  I can´t understand the above operation: </p>
<p>512 + 2 * 14,336 </p>
<p>If an extent consists of two blocks, and there is only a bitmap control header for each extent, it means there is 14336 bits in the first block of the extent but the second block should be full available (except its own control information, of course). I mean:</p>
<p>  Block 1, extent Nth                                           Block 2, extent Nth<br />
  &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211; + &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
  bitmap header: 256 B |  14336 bits=1792B +   Full 2048 B &#8211; block header(22B for example)<br />
  &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;+&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;</p>
<p>So, If it is correct, the next bit map should be at: 1792 B + 2048B, isn´t?.</p>
<p>  Best regards.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Valentin Nikotin</title>
		<link>http://jonathanlewis.wordpress.com/2013/02/25/free-space-2/#comment-53799</link>
		<dc:creator><![CDATA[Valentin Nikotin]]></dc:creator>
		<pubDate>Tue, 26 Feb 2013 13:38:37 +0000</pubDate>
		<guid isPermaLink="false">http://jonathanlewis.wordpress.com/?p=10068#comment-53799</guid>
		<description><![CDATA[Actually &quot;28672 block = 14336 extents and require 14336 / 8&quot; makes sense only if we use uniform extents, more correctly to use &quot;units&quot; instead of &quot;extents&quot;.]]></description>
		<content:encoded><![CDATA[<p>Actually &#8220;28672 block = 14336 extents and require 14336 / 8&#8243; makes sense only if we use uniform extents, more correctly to use &#8220;units&#8221; instead of &#8220;extents&#8221;.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Valentin Nikotin</title>
		<link>http://jonathanlewis.wordpress.com/2013/02/25/free-space-2/#comment-53797</link>
		<dc:creator><![CDATA[Valentin Nikotin]]></dc:creator>
		<pubDate>Tue, 26 Feb 2013 08:54:02 +0000</pubDate>
		<guid isPermaLink="false">http://jonathanlewis.wordpress.com/?p=10068#comment-53797</guid>
		<description><![CDATA[I guess it&#039;s just internal implementation of x$ktfbfe that provides access to bitmap blocks.]]></description>
		<content:encoded><![CDATA[<p>I guess it&#8217;s just internal implementation of x$ktfbfe that provides access to bitmap blocks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sayan Malakshinov</title>
		<link>http://jonathanlewis.wordpress.com/2013/02/25/free-space-2/#comment-53796</link>
		<dc:creator><![CDATA[Sayan Malakshinov]]></dc:creator>
		<pubDate>Tue, 26 Feb 2013 07:20:51 +0000</pubDate>
		<guid isPermaLink="false">http://jonathanlewis.wordpress.com/?p=10068#comment-53796</guid>
		<description><![CDATA[As I understand, free space for each datafile calculated by each freespace bmb separately, because each freespace bmb contains a header and bitmap, so bitmaps in these blocks are not continuous(although located in a row). Number of bmb depends on datafile size.]]></description>
		<content:encoded><![CDATA[<p>As I understand, free space for each datafile calculated by each freespace bmb separately, because each freespace bmb contains a header and bitmap, so bitmaps in these blocks are not continuous(although located in a row). Number of bmb depends on datafile size.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anju Garg</title>
		<link>http://jonathanlewis.wordpress.com/2013/02/25/free-space-2/#comment-53795</link>
		<dc:creator><![CDATA[Anju Garg]]></dc:creator>
		<pubDate>Tue, 26 Feb 2013 06:44:32 +0000</pubDate>
		<guid isPermaLink="false">http://jonathanlewis.wordpress.com/?p=10068#comment-53795</guid>
		<description><![CDATA[Since we are using locally managed tablespace, It is storing the information about the space available in a file in the bitmaps in the file header. One unit of information contains information about one extent. If the information can fit in the space allocated in the file header, all the free space appears as contiguous.  As the size of the file increases and extent size decreases , the units of the information to be stored increases and more space is allocated beyond the file header.  Until any objects are created in the tablespace, the bits corresponding to all the extents are not set and appear as free space. As objects are created in the tablespace, corresponding bits are set and free space available decreases (Starting block_id rises). 

 This is the conclusion I have reached after trying with block/extent/file sizes.
I don&#039;t know if it is correct.]]></description>
		<content:encoded><![CDATA[<p>Since we are using locally managed tablespace, It is storing the information about the space available in a file in the bitmaps in the file header. One unit of information contains information about one extent. If the information can fit in the space allocated in the file header, all the free space appears as contiguous.  As the size of the file increases and extent size decreases , the units of the information to be stored increases and more space is allocated beyond the file header.  Until any objects are created in the tablespace, the bits corresponding to all the extents are not set and appear as free space. As objects are created in the tablespace, corresponding bits are set and free space available decreases (Starting block_id rises). </p>
<p> This is the conclusion I have reached after trying with block/extent/file sizes.<br />
I don&#8217;t know if it is correct.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sayan Malakshinov</title>
		<link>http://jonathanlewis.wordpress.com/2013/02/25/free-space-2/#comment-53793</link>
		<dc:creator><![CDATA[Sayan Malakshinov]]></dc:creator>
		<pubDate>Tue, 26 Feb 2013 05:29:38 +0000</pubDate>
		<guid isPermaLink="false">http://jonathanlewis.wordpress.com/?p=10068#comment-53793</guid>
		<description><![CDATA[Moreover, i found Jonathan&#039;s answer to this question :)]]></description>
		<content:encoded><![CDATA[<p>Moreover, i found Jonathan&#8217;s answer to this question :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sayan Malakshinov</title>
		<link>http://jonathanlewis.wordpress.com/2013/02/25/free-space-2/#comment-53787</link>
		<dc:creator><![CDATA[Sayan Malakshinov]]></dc:creator>
		<pubDate>Mon, 25 Feb 2013 22:44:29 +0000</pubDate>
		<guid isPermaLink="false">http://jonathanlewis.wordpress.com/?p=10068#comment-53787</guid>
		<description><![CDATA[Yep. you are right! :) I&#039;ve tested on 400m and got 8 rows :)]]></description>
		<content:encoded><![CDATA[<p>Yep. you are right! :) I&#8217;ve tested on 400m and got 8 rows :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sayan Malakshinov</title>
		<link>http://jonathanlewis.wordpress.com/2013/02/25/free-space-2/#comment-53786</link>
		<dc:creator><![CDATA[Sayan Malakshinov]]></dc:creator>
		<pubDate>Mon, 25 Feb 2013 22:23:57 +0000</pubDate>
		<guid isPermaLink="false">http://jonathanlewis.wordpress.com/?p=10068#comment-53786</guid>
		<description><![CDATA[Hmm, in trace i see queries to recyclebin$. What does it means? Some objects was created and dropped? Or was initialized recyclebin for this tablespace?
[sourcecode language=&quot;sql&quot;]
select nvl(sum(space),0) 
from
 recyclebin$ where ts# = :1
[/sourcecode]

[sourcecode language=&quot;sql&quot;]
select file#, block# 
from
 recyclebin$ where ts# = :1     and file# != 0 and block# != 0 and space = 0
[/sourcecode]]]></description>
		<content:encoded><![CDATA[<p>Hmm, in trace i see queries to recyclebin$. What does it means? Some objects was created and dropped? Or was initialized recyclebin for this tablespace?</p>
<pre class="brush: sql; title: ; notranslate">
select nvl(sum(space),0) 
from
 recyclebin$ where ts# = :1
</pre>
<pre class="brush: sql; title: ; notranslate">
select file#, block# 
from
 recyclebin$ where ts# = :1     and file# != 0 and block# != 0 and space = 0
</pre>
]]></content:encoded>
	</item>
	<item>
		<title>By: Valentin Nikotin</title>
		<link>http://jonathanlewis.wordpress.com/2013/02/25/free-space-2/#comment-53785</link>
		<dc:creator><![CDATA[Valentin Nikotin]]></dc:creator>
		<pubDate>Mon, 25 Feb 2013 22:16:24 +0000</pubDate>
		<guid isPermaLink="false">http://jonathanlewis.wordpress.com/?p=10068#comment-53785</guid>
		<description><![CDATA[It seems depend on size of File Space Bitmap Block and uniform size, in your case 28672 block = 14336 extents and require 14336 / 8 = 1792 bytes per File Space Bitmap Block.]]></description>
		<content:encoded><![CDATA[<p>It seems depend on size of File Space Bitmap Block and uniform size, in your case 28672 block = 14336 extents and require 14336 / 8 = 1792 bytes per File Space Bitmap Block.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
