<?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: Index size bug</title>
	<atom:link href="http://jonathanlewis.wordpress.com/2012/01/04/index-size-bug/feed/" rel="self" type="application/rss+xml" />
	<link>http://jonathanlewis.wordpress.com/2012/01/04/index-size-bug/</link>
	<description>Just another Oracle weblog</description>
	<lastBuildDate>Sun, 26 May 2013 02:13:39 +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/2012/01/04/index-size-bug/#comment-44678</link>
		<dc:creator><![CDATA[Jonathan Lewis]]></dc:creator>
		<pubDate>Thu, 26 Jan 2012 21:09:03 +0000</pubDate>
		<guid isPermaLink="false">http://jonathanlewis.wordpress.com/?p=8077#comment-44678</guid>
		<description><![CDATA[Thanks for all the updates;
&lt;em&gt;&lt;blockquote&gt;It looks like the estimated size is captured as a 32 bit number&lt;/blockquote&gt;&lt;/em&gt;
There&#039;s a very good reason for that - the test I ran was on a 32-bit version of Oracle.  Although it ought to be possible to write code that copes with working out and reporting larger numbers on a 32-bit system, the code doesn&#039;t cope.]]></description>
		<content:encoded><![CDATA[<p>Thanks for all the updates;<br />
<em><br />
<blockquote>It looks like the estimated size is captured as a 32 bit number</p></blockquote>
<p></em><br />
There&#8217;s a very good reason for that &#8211; the test I ran was on a 32-bit version of Oracle.  Although it ought to be possible to write code that copes with working out and reporting larger numbers on a 32-bit system, the code doesn&#8217;t cope.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: raova</title>
		<link>http://jonathanlewis.wordpress.com/2012/01/04/index-size-bug/#comment-44663</link>
		<dc:creator><![CDATA[raova]]></dc:creator>
		<pubDate>Wed, 25 Jan 2012 14:34:05 +0000</pubDate>
		<guid isPermaLink="false">http://jonathanlewis.wordpress.com/?p=8077#comment-44663</guid>
		<description><![CDATA[[sourcecode]
14:01:54 ananda@SSUS&gt; 14:01:54 nwcsprd_service@SSUS&gt; 14:01:54 nwcsprd_service@SSUS&gt;

Plan hash value: 748043235

--------------------------------------------------------------------------------
&#124; Id  &#124; Operation              &#124; Name  &#124; Rows  &#124; Bytes &#124; Cost (%CPU)&#124; Time     &#124;
--------------------------------------------------------------------------------
&#124;   0 &#124; CREATE INDEX STATEMENT &#124;       &#124;    10G&#124;   102G&#124;  4435K  (4)&#124; 17:14:52 &#124;
&#124;   1 &#124;  INDEX BUILD NON UNIQUE&#124; T1_V1 &#124;       &#124;       &#124;            &#124;          &#124;
&#124;   2 &#124;   SORT CREATE INDEX    &#124;       &#124;    10G&#124;   102G&#124;            &#124;          &#124;
&#124;   3 &#124;    TABLE ACCESS FULL   &#124; T1    &#124;    10G&#124;   102G&#124;   148K (99)&#124; 00:34:41 &#124;
--------------------------------------------------------------------------------

Note
-----
   - estimated index size: 236G bytes

14 rows selected.

Elapsed: 00:00:00.02
14:01:54 ananda@SSUS&gt; select * from v$version;

Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - 64bi
PL/SQL Release 10.2.0.3.0 - Production
CORE    10.2.0.3.0      Production
TNS for Solaris: Version 10.2.0.3.0 - Production
NLSRTL Version 10.2.0.3.0 - Production

Elapsed: 00:00:00.23
14:05:50 ananda@SSUS&gt;
[/sourcecode]
]]></description>
		<content:encoded><![CDATA[<pre class="brush: plain; title: ; notranslate">
14:01:54 ananda@SSUS&amp;gt; 14:01:54 nwcsprd_service@SSUS&amp;gt; 14:01:54 nwcsprd_service@SSUS&amp;gt;

Plan hash value: 748043235

--------------------------------------------------------------------------------
| Id  | Operation              | Name  | Rows  | Bytes | Cost (%CPU)| Time     |
--------------------------------------------------------------------------------
|   0 | CREATE INDEX STATEMENT |       |    10G|   102G|  4435K  (4)| 17:14:52 |
|   1 |  INDEX BUILD NON UNIQUE| T1_V1 |       |       |            |          |
|   2 |   SORT CREATE INDEX    |       |    10G|   102G|            |          |
|   3 |    TABLE ACCESS FULL   | T1    |    10G|   102G|   148K (99)| 00:34:41 |
--------------------------------------------------------------------------------

Note
-----
   - estimated index size: 236G bytes

14 rows selected.

Elapsed: 00:00:00.02
14:01:54 ananda@SSUS&amp;gt; select * from v$version;

Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - 64bi
PL/SQL Release 10.2.0.3.0 - Production
CORE    10.2.0.3.0      Production
TNS for Solaris: Version 10.2.0.3.0 - Production
NLSRTL Version 10.2.0.3.0 - Production

Elapsed: 00:00:00.23
14:05:50 ananda@SSUS&amp;gt;
</pre>
]]></content:encoded>
	</item>
	<item>
		<title>By: raova</title>
		<link>http://jonathanlewis.wordpress.com/2012/01/04/index-size-bug/#comment-44662</link>
		<dc:creator><![CDATA[raova]]></dc:creator>
		<pubDate>Wed, 25 Jan 2012 14:28:12 +0000</pubDate>
		<guid isPermaLink="false">http://jonathanlewis.wordpress.com/?p=8077#comment-44662</guid>
		<description><![CDATA[looks like it has been fixed in 10.2.0.3
[sourcecode]
 14:01:54 nwcsprd_service@SSUS&gt; 14:01:54 nwcsprd_service@SSUS&gt;

Plan hash value: 748043235

--------------------------------------------------------------------------------
&#124; Id  &#124; Operation              &#124; Name  &#124; Rows  &#124; Bytes &#124; Cost (%CPU)&#124; Time     &#124;
--------------------------------------------------------------------------------
&#124;   0 &#124; CREATE INDEX STATEMENT &#124;       &#124;    10G&#124;   102G&#124;  4435K  (4)&#124; 17:14:52 &#124;
&#124;   1 &#124;  INDEX BUILD NON UNIQUE&#124; T1_V1 &#124;       &#124;       &#124;            &#124;          &#124;
&#124;   2 &#124;   SORT CREATE INDEX    &#124;       &#124;    10G&#124;   102G&#124;            &#124;          &#124;
&#124;   3 &#124;    TABLE ACCESS FULL   &#124; T1    &#124;    10G&#124;   102G&#124;   148K (99)&#124; 00:34:41 &#124;
--------------------------------------------------------------------------------

Note
-----
   - estimated index size: 236G bytes

14 rows selected.

Elapsed: 00:00:00.02
14:01:54 ananda@SSUS&gt; select * from v$version;

Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - 64bi
PL/SQL Release 10.2.0.3.0 - Production
CORE    10.2.0.3.0      Production
TNS for Solaris: Version 10.2.0.3.0 - Production
NLSRTL Version 10.2.0.3.0 - Production

Elapsed: 00:00:00.23
14:05:50 ananda@SSUS&gt;
]]&gt;
[/sourcecode]
]]></description>
		<content:encoded><![CDATA[<p>looks like it has been fixed in 10.2.0.3</p>
<pre class="brush: plain; title: ; notranslate">
 14:01:54 nwcsprd_service@SSUS&amp;gt; 14:01:54 nwcsprd_service@SSUS&amp;gt;

Plan hash value: 748043235

--------------------------------------------------------------------------------
| Id  | Operation              | Name  | Rows  | Bytes | Cost (%CPU)| Time     |
--------------------------------------------------------------------------------
|   0 | CREATE INDEX STATEMENT |       |    10G|   102G|  4435K  (4)| 17:14:52 |
|   1 |  INDEX BUILD NON UNIQUE| T1_V1 |       |       |            |          |
|   2 |   SORT CREATE INDEX    |       |    10G|   102G|            |          |
|   3 |    TABLE ACCESS FULL   | T1    |    10G|   102G|   148K (99)| 00:34:41 |
--------------------------------------------------------------------------------

Note
-----
   - estimated index size: 236G bytes

14 rows selected.

Elapsed: 00:00:00.02
14:01:54 ananda@SSUS&amp;gt; select * from v$version;

Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - 64bi
PL/SQL Release 10.2.0.3.0 - Production
CORE    10.2.0.3.0      Production
TNS for Solaris: Version 10.2.0.3.0 - Production
NLSRTL Version 10.2.0.3.0 - Production

Elapsed: 00:00:00.23
14:05:50 ananda@SSUS&amp;gt;
]]&amp;gt;
</pre>
]]></content:encoded>
	</item>
	<item>
		<title>By: Radoslav Golian</title>
		<link>http://jonathanlewis.wordpress.com/2012/01/04/index-size-bug/#comment-44152</link>
		<dc:creator><![CDATA[Radoslav Golian]]></dc:creator>
		<pubDate>Sat, 07 Jan 2012 08:12:12 +0000</pubDate>
		<guid isPermaLink="false">http://jonathanlewis.wordpress.com/?p=8077#comment-44152</guid>
		<description><![CDATA[I tried it on 11.2.0.3.0 64bit Linux.. it seems to be fixed.

[code]
SQL&gt; select * from v$version;
 
BANNER
--------------------------------------------------------------------------------
Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
PL/SQL Release 11.2.0.3.0 - Production
CORE	11.2.0.3.0	Production
TNS for Linux: Version 11.2.0.3.0 - Production
NLSRTL Version 11.2.0.3.0 - Production


exec dbms_stats.set_table_stats(ownname =&gt; user,tabname =&gt; &#039;T1&#039;, numrows =&gt; 10000e6);

SQL&gt; explain plan for
  2  create index t1_v1 on t1(v1);
 
Explained
SQL&gt; select * from table(dbms_xplan.display);
 
PLAN_TABLE_OUTPUT
--------------------------------------------------------------------------------
Plan hash value: 2170349088
--------------------------------------------------------------------------------
&#124; Id  &#124; Operation              &#124; Name  &#124; Rows  &#124; Bytes &#124; Cost (%CPU)&#124; Time     &#124;
--------------------------------------------------------------------------------
&#124;   0 &#124; CREATE INDEX STATEMENT &#124;       &#124;    10G&#124;   102G&#124;  5212K  (3)&#124; 17:22:27 &#124;
&#124;   1 &#124;  INDEX BUILD NON UNIQUE&#124; T1_V1 &#124;       &#124;       &#124;            &#124;          &#124;
&#124;   2 &#124;   SORT CREATE INDEX    &#124;       &#124;    10G&#124;   102G&#124;            &#124;          &#124;
&#124;   3 &#124;    TABLE ACCESS FULL   &#124; T1    &#124;    10G&#124;   102G&#124;   150K(100)&#124; 00:30:08 &#124;
--------------------------------------------------------------------------------
Note
-----
   - estimated index size: 239G bytes

[/code]]]></description>
		<content:encoded><![CDATA[<p>I tried it on 11.2.0.3.0 64bit Linux.. it seems to be fixed.</p>
<pre class="brush: plain; title: ; notranslate">
SQL&gt; select * from v$version;
 
BANNER
--------------------------------------------------------------------------------
Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
PL/SQL Release 11.2.0.3.0 - Production
CORE	11.2.0.3.0	Production
TNS for Linux: Version 11.2.0.3.0 - Production
NLSRTL Version 11.2.0.3.0 - Production


exec dbms_stats.set_table_stats(ownname =&gt; user,tabname =&gt; 'T1', numrows =&gt; 10000e6);

SQL&gt; explain plan for
  2  create index t1_v1 on t1(v1);
 
Explained
SQL&gt; select * from table(dbms_xplan.display);
 
PLAN_TABLE_OUTPUT
--------------------------------------------------------------------------------
Plan hash value: 2170349088
--------------------------------------------------------------------------------
| Id  | Operation              | Name  | Rows  | Bytes | Cost (%CPU)| Time     |
--------------------------------------------------------------------------------
|   0 | CREATE INDEX STATEMENT |       |    10G|   102G|  5212K  (3)| 17:22:27 |
|   1 |  INDEX BUILD NON UNIQUE| T1_V1 |       |       |            |          |
|   2 |   SORT CREATE INDEX    |       |    10G|   102G|            |          |
|   3 |    TABLE ACCESS FULL   | T1    |    10G|   102G|   150K(100)| 00:30:08 |
--------------------------------------------------------------------------------
Note
-----
   - estimated index size: 239G bytes

</pre>
]]></content:encoded>
	</item>
	<item>
		<title>By: oracleman consulting</title>
		<link>http://jonathanlewis.wordpress.com/2012/01/04/index-size-bug/#comment-44034</link>
		<dc:creator><![CDATA[oracleman consulting]]></dc:creator>
		<pubDate>Wed, 04 Jan 2012 18:37:26 +0000</pubDate>
		<guid isPermaLink="false">http://jonathanlewis.wordpress.com/?p=8077#comment-44034</guid>
		<description><![CDATA[wow
great catch

larry and the team owe you $ for doing QA on their RDBMS product

especially in the age or &quot;big data&quot; and operational DW DBs, this really could be a problem, not just trivia for internals-DBAs]]></description>
		<content:encoded><![CDATA[<p>wow<br />
great catch</p>
<p>larry and the team owe you $ for doing QA on their RDBMS product</p>
<p>especially in the age or &#8220;big data&#8221; and operational DW DBs, this really could be a problem, not just trivia for internals-DBAs</p>
]]></content:encoded>
	</item>
</channel>
</rss>
