<?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: ASSM wreck</title>
	<atom:link href="http://jonathanlewis.wordpress.com/2011/03/30/assm-wreck/feed/" rel="self" type="application/rss+xml" />
	<link>http://jonathanlewis.wordpress.com/2011/03/30/assm-wreck/</link>
	<description>Just another Oracle weblog</description>
	<lastBuildDate>Wed, 19 Jun 2013 18:51:29 +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/2011/03/30/assm-wreck/#comment-40447</link>
		<dc:creator><![CDATA[Jonathan Lewis]]></dc:creator>
		<pubDate>Wed, 27 Apr 2011 16:43:26 +0000</pubDate>
		<guid isPermaLink="false">http://jonathanlewis.wordpress.com/?p=6137#comment-40447</guid>
		<description><![CDATA[Coskan,

Thanks for that - I thought I&#039;d tried it on 11.2.0.2 but the note in my script header says I&#039;ve only tested it on 10.2.0.3.  (That&#039;s not 100% guaranteed, but I&#039;m usually quite careful about keeping the records up to date.)]]></description>
		<content:encoded><![CDATA[<p>Coskan,</p>
<p>Thanks for that &#8211; I thought I&#8217;d tried it on 11.2.0.2 but the note in my script header says I&#8217;ve only tested it on 10.2.0.3.  (That&#8217;s not 100% guaranteed, but I&#8217;m usually quite careful about keeping the records up to date.)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: coskan gundogar</title>
		<link>http://jonathanlewis.wordpress.com/2011/03/30/assm-wreck/#comment-40440</link>
		<dc:creator><![CDATA[coskan gundogar]]></dc:creator>
		<pubDate>Tue, 26 Apr 2011 23:43:57 +0000</pubDate>
		<guid isPermaLink="false">http://jonathanlewis.wordpress.com/?p=6137#comment-40440</guid>
		<description><![CDATA[Jonathan,

Can you also let us know What was the database version ?

I saw worst output from 11.2.0.2 with factor of 8 which is very big difference to be honest. 


My after resultset was like below with same resultset for before image (don&#039;t think it can effect but I am running on OEL6 which is not certified yet)

[sourcecode]
HEIGHT                        : 3
BLOCKS                        : 1152
NAME                          : T1_I1
PARTITION_NAME                :
LF_ROWS                       : 82501
LF_BLKS                       : 1008
LF_ROWS_LEN                   : 4577764
LF_BLK_LEN                    : 7996
BR_ROWS                       : 1007
BR_BLKS                       : 11
BR_ROWS_LEN                   : 57369
BR_BLK_LEN                    : 8028
DEL_LF_ROWS                   : 62501
DEL_LF_ROWS_LEN               : 3467964
DISTINCT_KEYS                 : 178
MOST_REPEATED_KEY             : 1936
BTREE_SPACE                   : 8148276
USED_SPACE                    : 4635133
PCT_USED                      : 57
ROWS_PER_KEY                  : 463.488764044943820224719101123595505618
BLKS_GETS_PER_ACCESS          : 235.244382022471910112359550561797752809
PRE_ROWS                      : 0
PRE_ROWS_LEN                  : 0
OPT_CMPR_COUNT                : 2
OPT_CMPR_PCTSAVE              : 79

[/sourcecode]]]></description>
		<content:encoded><![CDATA[<p>Jonathan,</p>
<p>Can you also let us know What was the database version ?</p>
<p>I saw worst output from 11.2.0.2 with factor of 8 which is very big difference to be honest. </p>
<p>My after resultset was like below with same resultset for before image (don&#8217;t think it can effect but I am running on OEL6 which is not certified yet)</p>
<pre class="brush: plain; title: ; notranslate">
HEIGHT                        : 3
BLOCKS                        : 1152
NAME                          : T1_I1
PARTITION_NAME                :
LF_ROWS                       : 82501
LF_BLKS                       : 1008
LF_ROWS_LEN                   : 4577764
LF_BLK_LEN                    : 7996
BR_ROWS                       : 1007
BR_BLKS                       : 11
BR_ROWS_LEN                   : 57369
BR_BLK_LEN                    : 8028
DEL_LF_ROWS                   : 62501
DEL_LF_ROWS_LEN               : 3467964
DISTINCT_KEYS                 : 178
MOST_REPEATED_KEY             : 1936
BTREE_SPACE                   : 8148276
USED_SPACE                    : 4635133
PCT_USED                      : 57
ROWS_PER_KEY                  : 463.488764044943820224719101123595505618
BLKS_GETS_PER_ACCESS          : 235.244382022471910112359550561797752809
PRE_ROWS                      : 0
PRE_ROWS_LEN                  : 0
OPT_CMPR_COUNT                : 2
OPT_CMPR_PCTSAVE              : 79

</pre>
]]></content:encoded>
	</item>
	<item>
		<title>By: Log Buffer #215, A Carnival of the Vanities for DBAs &#124; The Pythian Blog</title>
		<link>http://jonathanlewis.wordpress.com/2011/03/30/assm-wreck/#comment-40192</link>
		<dc:creator><![CDATA[Log Buffer #215, A Carnival of the Vanities for DBAs &#124; The Pythian Blog]]></dc:creator>
		<pubDate>Fri, 01 Apr 2011 22:13:08 +0000</pubDate>
		<guid isPermaLink="false">http://jonathanlewis.wordpress.com/?p=6137#comment-40192</guid>
		<description><![CDATA[[...] Jonathan Lewis introduces a framework that helps avoiding the traps inherent in writing PL/SQL loops when modelling a session that does lots of simple calls to the database. [...]]]></description>
		<content:encoded><![CDATA[<p>[...] Jonathan Lewis introduces a framework that helps avoiding the traps inherent in writing PL/SQL loops when modelling a session that does lots of simple calls to the database. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jonathan Lewis</title>
		<link>http://jonathanlewis.wordpress.com/2011/03/30/assm-wreck/#comment-40185</link>
		<dc:creator><![CDATA[Jonathan Lewis]]></dc:creator>
		<pubDate>Thu, 31 Mar 2011 16:02:56 +0000</pubDate>
		<guid isPermaLink="false">http://jonathanlewis.wordpress.com/?p=6137#comment-40185</guid>
		<description><![CDATA[Laimis N,

I think it depends on what you mean by &quot;connected&quot;. The bug you&#039;re referring to relates to a problem Oracle had trying to find an appropriate empty block on a block split so it&#039;s not directly connected. 

However the excessive waste of space does do two things - first it means that the index gets much bigger than it should, so you are more likely to see a root block split; secondly you do get a lot of empty leaf blocks, so Oracle is more likely to attempt to reuse an empty block which is not a legal choice.

It&#039;s possible, by the way, that one of my clients was the source of that bug report (though it may have been a very similar one) because we uncovered exactly the equivalent of your &quot;enq: TX - index contention&quot; type of problem on a very high speed FIFO index a few years ago. (Some related details here: http://jonathanlewis.wordpress.com/2008/09/29/index-analysis-2/ )]]></description>
		<content:encoded><![CDATA[<p>Laimis N,</p>
<p>I think it depends on what you mean by &#8220;connected&#8221;. The bug you&#8217;re referring to relates to a problem Oracle had trying to find an appropriate empty block on a block split so it&#8217;s not directly connected. </p>
<p>However the excessive waste of space does do two things &#8211; first it means that the index gets much bigger than it should, so you are more likely to see a root block split; secondly you do get a lot of empty leaf blocks, so Oracle is more likely to attempt to reuse an empty block which is not a legal choice.</p>
<p>It&#8217;s possible, by the way, that one of my clients was the source of that bug report (though it may have been a very similar one) because we uncovered exactly the equivalent of your &#8220;enq: TX &#8211; index contention&#8221; type of problem on a very high speed FIFO index a few years ago. (Some related details here: <a href="http://jonathanlewis.wordpress.com/2008/09/29/index-analysis-2/" rel="nofollow">http://jonathanlewis.wordpress.com/2008/09/29/index-analysis-2/</a> )</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Laimis N</title>
		<link>http://jonathanlewis.wordpress.com/2011/03/30/assm-wreck/#comment-40183</link>
		<dc:creator><![CDATA[Laimis N]]></dc:creator>
		<pubDate>Thu, 31 Mar 2011 06:02:09 +0000</pubDate>
		<guid isPermaLink="false">http://jonathanlewis.wordpress.com/?p=6137#comment-40183</guid>
		<description><![CDATA[Interesting, if that excessive space waste can also be connected to bug 8286901 &quot;SPACE SEARCH INEFFICIENCY DURING INDEX SPLIT.&quot; We&#039;ve stumbled upon that bug in ASSM enabled database, mostly on &quot;FIFO&quot; (i.e. queue like) tables. The bug manifests itself in long &quot;enq: TX - index contention&quot; waits. 
The bug fix sounds interesting: &quot;Whenever the fix is enabled, root block splits examine no more than 5 empty blocks for reclamation before attempting a segment extension.&quot;]]></description>
		<content:encoded><![CDATA[<p>Interesting, if that excessive space waste can also be connected to bug 8286901 &#8220;SPACE SEARCH INEFFICIENCY DURING INDEX SPLIT.&#8221; We&#8217;ve stumbled upon that bug in ASSM enabled database, mostly on &#8220;FIFO&#8221; (i.e. queue like) tables. The bug manifests itself in long &#8220;enq: TX &#8211; index contention&#8221; waits.<br />
The bug fix sounds interesting: &#8220;Whenever the fix is enabled, root block splits examine no more than 5 empty blocks for reclamation before attempting a segment extension.&#8221;</p>
]]></content:encoded>
	</item>
</channel>
</rss>
