<?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: Local Indexes &#8211; 2</title>
	<atom:link href="http://jonathanlewis.wordpress.com/2010/11/14/local-indexes-2/feed/" rel="self" type="application/rss+xml" />
	<link>http://jonathanlewis.wordpress.com/2010/11/14/local-indexes-2/</link>
	<description>Just another Oracle weblog</description>
	<lastBuildDate>Wed, 22 May 2013 01:50:53 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
	<item>
		<title>By: V.Hari</title>
		<link>http://jonathanlewis.wordpress.com/2010/11/14/local-indexes-2/#comment-37747</link>
		<dc:creator><![CDATA[V.Hari]]></dc:creator>
		<pubDate>Sat, 20 Nov 2010 20:09:45 +0000</pubDate>
		<guid isPermaLink="false">http://jonathanlewis.wordpress.com/?p=4750#comment-37747</guid>
		<description><![CDATA[&quot;the optimizer take the wrong execution path because it uses a global blevel&quot;

John, Couldn&#039;t really get the co-relation cum the impact of blevel over Optimizer. blevel (indicating the depth of the index) how exactly, this plays a role while execution path is selected.

Tried your test case local index-List Partition, Got similar plan with Cost 14 and never got 8 post manipulation/hack of index stats.
 
Appreciate your splendid services to the Oracle Community.

Thanks for your time.

Regards
V.Hari]]></description>
		<content:encoded><![CDATA[<p>&#8220;the optimizer take the wrong execution path because it uses a global blevel&#8221;</p>
<p>John, Couldn&#8217;t really get the co-relation cum the impact of blevel over Optimizer. blevel (indicating the depth of the index) how exactly, this plays a role while execution path is selected.</p>
<p>Tried your test case local index-List Partition, Got similar plan with Cost 14 and never got 8 post manipulation/hack of index stats.</p>
<p>Appreciate your splendid services to the Oracle Community.</p>
<p>Thanks for your time.</p>
<p>Regards<br />
V.Hari</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jonathan Lewis</title>
		<link>http://jonathanlewis.wordpress.com/2010/11/14/local-indexes-2/#comment-37725</link>
		<dc:creator><![CDATA[Jonathan Lewis]]></dc:creator>
		<pubDate>Thu, 18 Nov 2010 10:09:47 +0000</pubDate>
		<guid isPermaLink="false">http://jonathanlewis.wordpress.com/?p=4750#comment-37725</guid>
		<description><![CDATA[John,

The benefit is that it is a very clear demonstration of the principle, and the scale of change. 

It shouldn&#039;t really be necessary to follow this up with a demonstration showing that execution plans can change when the cost of using a given index changes.]]></description>
		<content:encoded><![CDATA[<p>John,</p>
<p>The benefit is that it is a very clear demonstration of the principle, and the scale of change. </p>
<p>It shouldn&#8217;t really be necessary to follow this up with a demonstration showing that execution plans can change when the cost of using a given index changes.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John Seaman</title>
		<link>http://jonathanlewis.wordpress.com/2010/11/14/local-indexes-2/#comment-37723</link>
		<dc:creator><![CDATA[John Seaman]]></dc:creator>
		<pubDate>Wed, 17 Nov 2010 23:52:55 +0000</pubDate>
		<guid isPermaLink="false">http://jonathanlewis.wordpress.com/?p=4750#comment-37723</guid>
		<description><![CDATA[Jonathan, just wondering what the benefit is of changing the blevel and thereby the estimated cost of the query if there is no effect on the plan.]]></description>
		<content:encoded><![CDATA[<p>Jonathan, just wondering what the benefit is of changing the blevel and thereby the estimated cost of the query if there is no effect on the plan.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jonathan Lewis</title>
		<link>http://jonathanlewis.wordpress.com/2010/11/14/local-indexes-2/#comment-37715</link>
		<dc:creator><![CDATA[Jonathan Lewis]]></dc:creator>
		<pubDate>Tue, 16 Nov 2010 18:55:10 +0000</pubDate>
		<guid isPermaLink="false">http://jonathanlewis.wordpress.com/?p=4750#comment-37715</guid>
		<description><![CDATA[Christo,

That certainly makes sense - given the limited amount of information I&#039;ve supplied about the system, and in some ways is very similar to &lt;a href=&quot;http://jonathanlewis.wordpress.com/2010/11/11/local-indexes/#comment-37696&quot; rel=&quot;nofollow&quot;&gt;&lt;em&gt;&lt;strong&gt;Todor Botev&#039;s suggestion&lt;/strong&gt;&lt;/em&gt;&lt;/a&gt; on the previous blog entry to reduce the table to just two partitions - &quot;old&quot; and &quot;new&quot;. 

In fact it might even be possible to implement your suggestions invisibly by creating a constraint-base partition view on top of the two tables and writing pre-insert/update/delete triggers on the view to make sure the data goes into the right place as a short-term strategy for mnimising the code change required. Depending on the definition of the primary key, splitting the table into two might  even make it possble to define the &lt;em&gt;&quot;completed&quot;&lt;/em&gt; table as a range-partitioned table so that we could make history read-only and do some compression.]]></description>
		<content:encoded><![CDATA[<p>Christo,</p>
<p>That certainly makes sense &#8211; given the limited amount of information I&#8217;ve supplied about the system, and in some ways is very similar to <a href="http://jonathanlewis.wordpress.com/2010/11/11/local-indexes/#comment-37696" rel="nofollow"><em><strong>Todor Botev&#8217;s suggestion</strong></em></a> on the previous blog entry to reduce the table to just two partitions &#8211; &#8220;old&#8221; and &#8220;new&#8221;. </p>
<p>In fact it might even be possible to implement your suggestions invisibly by creating a constraint-base partition view on top of the two tables and writing pre-insert/update/delete triggers on the view to make sure the data goes into the right place as a short-term strategy for mnimising the code change required. Depending on the definition of the primary key, splitting the table into two might  even make it possble to define the <em>&#8220;completed&#8221;</em> table as a range-partitioned table so that we could make history read-only and do some compression.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Christo Kutrovsky</title>
		<link>http://jonathanlewis.wordpress.com/2010/11/14/local-indexes-2/#comment-37711</link>
		<dc:creator><![CDATA[Christo Kutrovsky]]></dc:creator>
		<pubDate>Mon, 15 Nov 2010 16:34:44 +0000</pubDate>
		<guid isPermaLink="false">http://jonathanlewis.wordpress.com/?p=4750#comment-37711</guid>
		<description><![CDATA[Armed with this knowledge, one would question whether this design with all data been in one table with sub-partitions is the right design. Given that to move from partition 1 to partition 2 takes just as much work, why not have a separate table for all &quot;Completed&quot;.

Yes, slightly more complicated, but then you don&#039;t have to deal with any of these problems.]]></description>
		<content:encoded><![CDATA[<p>Armed with this knowledge, one would question whether this design with all data been in one table with sub-partitions is the right design. Given that to move from partition 1 to partition 2 takes just as much work, why not have a separate table for all &#8220;Completed&#8221;.</p>
<p>Yes, slightly more complicated, but then you don&#8217;t have to deal with any of these problems.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Local Indexes &#171; Oracle Scratchpad</title>
		<link>http://jonathanlewis.wordpress.com/2010/11/14/local-indexes-2/#comment-37706</link>
		<dc:creator><![CDATA[Local Indexes &#171; Oracle Scratchpad]]></dc:creator>
		<pubDate>Sun, 14 Nov 2010 18:00:53 +0000</pubDate>
		<guid isPermaLink="false">http://jonathanlewis.wordpress.com/?p=4750#comment-37706</guid>
		<description><![CDATA[[...] My answers are in this follow-up post. [...]]]></description>
		<content:encoded><![CDATA[<p>[...] My answers are in this follow-up post. [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>
