<?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: System Managed Extent Size &#8211; 11g Improvements</title>
	<atom:link href="http://antognini.ch/2009/08/system-managed-extent-size-11g-improvements/feed/" rel="self" type="application/rss+xml" />
	<link>http://antognini.ch/2009/08/system-managed-extent-size-11g-improvements/</link>
	<description></description>
	<lastBuildDate>Fri, 03 Sep 2010 09:31:00 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: 碎片(Fragmentation)&#8211;介绍 &#171; a db thinker&#39;s home</title>
		<link>http://antognini.ch/2009/08/system-managed-extent-size-11g-improvements/comment-page-1/#comment-10508</link>
		<dc:creator>碎片(Fragmentation)&#8211;介绍 &#171; a db thinker&#39;s home</dc:creator>
		<pubDate>Tue, 27 Jul 2010 07:18:17 +0000</pubDate>
		<guid isPermaLink="false">http://antognini.ch/?p=537#comment-10508</guid>
		<description>[...] 假如说,每个区间都只能是64K,这会限制我们将发起的“db file multiblock read”请求的大小吗或者这些请求可以跨越区间边界读取吗?如果这个表空间是有两个(或多个)数据文件组成,而这些区间又是以“轮流”在两个文件之间分配的,这会影响读操作的方式吗?如果我们尝试进行并行表扫描,这些限制在“direct path read”上会不会有所不同呢?如果你的运行系统是一个数据仓库,需要花费大量的时间运行这种操作,那么这些就是你需要回答的问题.(例如,参见我3年前写的关于运行并行查询时的部分IO异常的记录,以及Christian Antognini在大约几年后描述的Oracle 11g中的一个相关改进.) [...]</description>
		<content:encoded><![CDATA[<p>[...] 假如说,每个区间都只能是64K,这会限制我们将发起的“db file multiblock read”请求的大小吗或者这些请求可以跨越区间边界读取吗?如果这个表空间是有两个(或多个)数据文件组成,而这些区间又是以“轮流”在两个文件之间分配的,这会影响读操作的方式吗?如果我们尝试进行并行表扫描,这些限制在“direct path read”上会不会有所不同呢?如果你的运行系统是一个数据仓库,需要花费大量的时间运行这种操作,那么这些就是你需要回答的问题.(例如,参见我3年前写的关于运行并行查询时的部分IO异常的记录,以及Christian Antognini在大约几年后描述的Oracle 11g中的一个相关改进.) [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bradd Piontek</title>
		<link>http://antognini.ch/2009/08/system-managed-extent-size-11g-improvements/comment-page-1/#comment-10418</link>
		<dc:creator>Bradd Piontek</dc:creator>
		<pubDate>Tue, 20 Jul 2010 17:42:34 +0000</pubDate>
		<guid isPermaLink="false">http://antognini.ch/?p=537#comment-10418</guid>
		<description>Chris,
  Thanks again for another wonderful (albeit a bit old) blog post that I am just running across. I&#039;m used to the 10g way of System managed extents and could find no documentation of 1M being the NEXT extent size. I&#039;m used to seeing NEXT be NULL in *_tables, but in 11.1.0.7, it shows at 1048576 for NEXT and 65536 for Initial (upon creation of a table without specifying any storage parameters). 

The impact I see here is why application that create 1000s of tables and indexes but only use a a handful. Sure, everything starts out at 64K but as soon as an extent is needed, the segment shoots up to 1M. Maybe this is desirable behavior on Oracle&#039;s part? It is just a change from what I know of 10g and System managed extents. I guess I&#039;ll have to wait until we get to 11gR2 and deferred segment creation :(</description>
		<content:encoded><![CDATA[<p>Chris,<br />
  Thanks again for another wonderful (albeit a bit old) blog post that I am just running across. I&#8217;m used to the 10g way of System managed extents and could find no documentation of 1M being the NEXT extent size. I&#8217;m used to seeing NEXT be NULL in *_tables, but in 11.1.0.7, it shows at 1048576 for NEXT and 65536 for Initial (upon creation of a table without specifying any storage parameters). </p>
<p>The impact I see here is why application that create 1000s of tables and indexes but only use a a handful. Sure, everything starts out at 64K but as soon as an extent is needed, the segment shoots up to 1M. Maybe this is desirable behavior on Oracle&#8217;s part? It is just a change from what I know of 10g and System managed extents. I guess I&#8217;ll have to wait until we get to 11gR2 and deferred segment creation :(</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Fragmentation 1 &#171; Oracle Scratchpad</title>
		<link>http://antognini.ch/2009/08/system-managed-extent-size-11g-improvements/comment-page-1/#comment-10318</link>
		<dc:creator>Fragmentation 1 &#171; Oracle Scratchpad</dc:creator>
		<pubDate>Tue, 13 Jul 2010 20:33:46 +0000</pubDate>
		<guid isPermaLink="false">http://antognini.ch/?p=537#comment-10318</guid>
		<description>[...] I wrote three years ago about some of the anomalies of I/O sizes when running parallel query, and a related enhancement in 11g described by Christian Antognini a couple of years [...]</description>
		<content:encoded><![CDATA[<p>[...] I wrote three years ago about some of the anomalies of I/O sizes when running parallel query, and a related enhancement in 11g described by Christian Antognini a couple of years [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Christian Antognini</title>
		<link>http://antognini.ch/2009/08/system-managed-extent-size-11g-improvements/comment-page-1/#comment-7311</link>
		<dc:creator>Christian Antognini</dc:creator>
		<pubDate>Mon, 25 Jan 2010 15:44:15 +0000</pubDate>
		<guid isPermaLink="false">http://antognini.ch/?p=537#comment-7311</guid>
		<description>Hi Merwyn

Sorry, but I don&#039;t understand what do you want to show with your test case. Where is the difference with mine? As I pointed out in the post, the value of the INITIAL parameter is only &quot;fully&quot; used as of 11.1.0.7. At least this is what I see on my test databases... In your case, what happens if you create the table with the following SQL statement? (1M instead of 2M)

&lt;pre&gt;create table mytable2 (empno number(2), ename varchar2(100)) tablespace test2 storage (initial 1M);&lt;/pre&gt;

Cheers,
Chris</description>
		<content:encoded><![CDATA[<p>Hi Merwyn</p>
<p>Sorry, but I don&#8217;t understand what do you want to show with your test case. Where is the difference with mine? As I pointed out in the post, the value of the INITIAL parameter is only &#8220;fully&#8221; used as of 11.1.0.7. At least this is what I see on my test databases&#8230; In your case, what happens if you create the table with the following SQL statement? (1M instead of 2M)</p>
<p><pre>create table mytable2 (empno number(2), ename varchar2(100)) tablespace test2 storage (initial 1M);</pre></p>
<p>Cheers,<br />
Chris</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Merwyn</title>
		<link>http://antognini.ch/2009/08/system-managed-extent-size-11g-improvements/comment-page-1/#comment-6684</link>
		<dc:creator>Merwyn</dc:creator>
		<pubDate>Thu, 31 Dec 2009 15:39:33 +0000</pubDate>
		<guid isPermaLink="false">http://antognini.ch/?p=537#comment-6684</guid>
		<description>Just wanted to point out that &quot;Improvement #1&quot; is not a new feature of 11.1.0.7.
The behaviour is the same in 11g.
Initial size is taken into consideration to determine the number of extents that will be allocated.
The total number of extents allocated will depend if the tablespace is using SYSTEM or UNIFORM size.
The size of the extents that are allocated will depend on the size specified for initial clause.

The following test case show this.

SQL&gt; create tablespace test1 datafile &#039;/u02/oradata/ordb/dbfiles/test02.dbf&#039; size 5m extent management local uniform size 65536;
Tablespace created.

SQL&gt; create table mytable1 (empno number(2), ename varchar2(100)) tablespace test1 storage (initial 2M);
Table created.

SQL&gt; select file_id, extent_id, block_id, blocks, bytes from dba_extents where segment_name = &#039;MYTABLE1&#039;;
   FILE_ID  EXTENT_ID   BLOCK_ID     BLOCKS      BYTES
---------- ---------- ---------- ---------- ----------
         7          0          9          8      65536
         7          1         17          8      65536
         7          2         25          8      65536
.......
.......
         7         30        249          8      65536
         7         31        257          8      65536




SQL&gt; create tablespace test2 datafile &#039;/u02/oradata/ordb/dbfiles/test03.dbf&#039; size 5m;
Tablespace created.

SQL&gt; create table mytable2 (empno number(2), ename varchar2(100)) tablespace test2 storage (initial 2M);
Table created.

SQL&gt; select file_id, extent_id, block_id, blocks, bytes from dba_extents where segment_name = &#039;MYTABLE2&#039;;
   FILE_ID  EXTENT_ID   BLOCK_ID     BLOCKS      BYTES
---------- ---------- ---------- ---------- ----------
         8          0          9        128    1048576
         8          1        137        128    1048576

SQL&gt; select * from v$version;

BANNER
--------------------------------------------------------------------------------
Oracle Database 11g Enterprise Edition Release 11.1.0.6.0 - Production
PL/SQL Release 11.1.0.6.0 - Production
CORE    11.1.0.6.0      Production
TNS for Linux: Version 11.1.0.6.0 - Production
NLSRTL Version 11.1.0.6.0 - Production</description>
		<content:encoded><![CDATA[<p>Just wanted to point out that &#8220;Improvement #1&#8243; is not a new feature of 11.1.0.7.<br />
The behaviour is the same in 11g.<br />
Initial size is taken into consideration to determine the number of extents that will be allocated.<br />
The total number of extents allocated will depend if the tablespace is using SYSTEM or UNIFORM size.<br />
The size of the extents that are allocated will depend on the size specified for initial clause.</p>
<p>The following test case show this.</p>
<p>SQL&gt; create tablespace test1 datafile &#8216;/u02/oradata/ordb/dbfiles/test02.dbf&#8217; size 5m extent management local uniform size 65536;<br />
Tablespace created.</p>
<p>SQL&gt; create table mytable1 (empno number(2), ename varchar2(100)) tablespace test1 storage (initial 2M);<br />
Table created.</p>
<p>SQL&gt; select file_id, extent_id, block_id, blocks, bytes from dba_extents where segment_name = &#8216;MYTABLE1&#8242;;<br />
   FILE_ID  EXTENT_ID   BLOCK_ID     BLOCKS      BYTES<br />
&#8212;&#8212;&#8212;- &#8212;&#8212;&#8212;- &#8212;&#8212;&#8212;- &#8212;&#8212;&#8212;- &#8212;&#8212;&#8212;-<br />
         7          0          9          8      65536<br />
         7          1         17          8      65536<br />
         7          2         25          8      65536<br />
&#8230;&#8230;.<br />
&#8230;&#8230;.<br />
         7         30        249          8      65536<br />
         7         31        257          8      65536</p>
<p>SQL&gt; create tablespace test2 datafile &#8216;/u02/oradata/ordb/dbfiles/test03.dbf&#8217; size 5m;<br />
Tablespace created.</p>
<p>SQL&gt; create table mytable2 (empno number(2), ename varchar2(100)) tablespace test2 storage (initial 2M);<br />
Table created.</p>
<p>SQL&gt; select file_id, extent_id, block_id, blocks, bytes from dba_extents where segment_name = &#8216;MYTABLE2&#8242;;<br />
   FILE_ID  EXTENT_ID   BLOCK_ID     BLOCKS      BYTES<br />
&#8212;&#8212;&#8212;- &#8212;&#8212;&#8212;- &#8212;&#8212;&#8212;- &#8212;&#8212;&#8212;- &#8212;&#8212;&#8212;-<br />
         8          0          9        128    1048576<br />
         8          1        137        128    1048576</p>
<p>SQL&gt; select * from v$version;</p>
<p>BANNER<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;&#8211;<br />
Oracle Database 11g Enterprise Edition Release 11.1.0.6.0 &#8211; Production<br />
PL/SQL Release 11.1.0.6.0 &#8211; Production<br />
CORE    11.1.0.6.0      Production<br />
TNS for Linux: Version 11.1.0.6.0 &#8211; Production<br />
NLSRTL Version 11.1.0.6.0 &#8211; Production</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Christian Antognini</title>
		<link>http://antognini.ch/2009/08/system-managed-extent-size-11g-improvements/comment-page-1/#comment-4118</link>
		<dc:creator>Christian Antognini</dc:creator>
		<pubDate>Sun, 16 Aug 2009 22:00:39 +0000</pubDate>
		<guid isPermaLink="false">http://antognini.ch/?p=537#comment-4118</guid>
		<description>Hi Philipp

Provided that sensible values for INITIAL and NEXT are specified, I also do not see why uniform extent size tablespaces should be used. So, the main con is that you have to specify them... And, if you look around, I see lot of people that are no longer willing to specify such parameters at the table level.

Cheers,
Chris</description>
		<content:encoded><![CDATA[<p>Hi Philipp</p>
<p>Provided that sensible values for INITIAL and NEXT are specified, I also do not see why uniform extent size tablespaces should be used. So, the main con is that you have to specify them&#8230; And, if you look around, I see lot of people that are no longer willing to specify such parameters at the table level.</p>
<p>Cheers,<br />
Chris</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Entradas de Oracle semana 33 &#171; Gruñidos sobre Oracle y SAP</title>
		<link>http://antognini.ch/2009/08/system-managed-extent-size-11g-improvements/comment-page-1/#comment-4114</link>
		<dc:creator>Entradas de Oracle semana 33 &#171; Gruñidos sobre Oracle y SAP</dc:creator>
		<pubDate>Sun, 16 Aug 2009 18:43:46 +0000</pubDate>
		<guid isPermaLink="false">http://antognini.ch/?p=537#comment-4114</guid>
		<description>[...] Antognini nos cuenta unos cambios en como Oracle 11g maneja los tamaños de los extents en  System Managed Extent Size – 11g Improvements. Interesante, espero que 11g llegue pronto a SAP (pero todavía hay que esperar unos [...]</description>
		<content:encoded><![CDATA[<p>[...] Antognini nos cuenta unos cambios en como Oracle 11g maneja los tamaños de los extents en  System Managed Extent Size – 11g Improvements. Interesante, espero que 11g llegue pronto a SAP (pero todavía hay que esperar unos [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Log Buffer #158: a Carnival of the Vanities for DBAs &#124; Pythian Group Blog</title>
		<link>http://antognini.ch/2009/08/system-managed-extent-size-11g-improvements/comment-page-1/#comment-4072</link>
		<dc:creator>Log Buffer #158: a Carnival of the Vanities for DBAs &#124; Pythian Group Blog</dc:creator>
		<pubDate>Fri, 14 Aug 2009 17:40:59 +0000</pubDate>
		<guid isPermaLink="false">http://antognini.ch/?p=537#comment-4072</guid>
		<description>[...] On Striving for Optimal Performance, Christian Antognini discusses 11g&#8217;s improvements to system managed extent size. [...]</description>
		<content:encoded><![CDATA[<p>[...] On Striving for Optimal Performance, Christian Antognini discusses 11g&#8217;s improvements to system managed extent size. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Blogroll Report 07/08/2009 – 14/08/2009 &#171; Coskan&#8217;s Approach to Oracle</title>
		<link>http://antognini.ch/2009/08/system-managed-extent-size-11g-improvements/comment-page-1/#comment-4071</link>
		<dc:creator>Blogroll Report 07/08/2009 – 14/08/2009 &#171; Coskan&#8217;s Approach to Oracle</dc:creator>
		<pubDate>Fri, 14 Aug 2009 16:47:25 +0000</pubDate>
		<guid isPermaLink="false">http://antognini.ch/?p=537#comment-4071</guid>
		<description>[...] Christian Antognini -System Managed Extent Size – 11g Improvements [...]</description>
		<content:encoded><![CDATA[<p>[...] Christian Antognini -System Managed Extent Size – 11g Improvements [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Philipp</title>
		<link>http://antognini.ch/2009/08/system-managed-extent-size-11g-improvements/comment-page-1/#comment-4069</link>
		<dc:creator>Philipp</dc:creator>
		<pubDate>Fri, 14 Aug 2009 15:38:15 +0000</pubDate>
		<guid isPermaLink="false">http://antognini.ch/?p=537#comment-4069</guid>
		<description>Hi Chris,

Very neat explanation! From 11.1.0.7 on, is there really a reason to continue using 
&quot;uniform extent size&quot;? It looks like &quot;system managed extent size&quot; with accurate 
INITIAL and NEXT values is the way to go. At least I have some difficutlties to see the cons.

Thanks, and have a nice weekend
Philipp</description>
		<content:encoded><![CDATA[<p>Hi Chris,</p>
<p>Very neat explanation! From 11.1.0.7 on, is there really a reason to continue using<br />
&#8220;uniform extent size&#8221;? It looks like &#8220;system managed extent size&#8221; with accurate<br />
INITIAL and NEXT values is the way to go. At least I have some difficutlties to see the cons.</p>
<p>Thanks, and have a nice weekend<br />
Philipp</p>
]]></content:encoded>
	</item>
</channel>
</rss>
