<?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:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments for Oracle Scratchpad</title>
	<atom:link href="http://jonathanlewis.wordpress.com/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://jonathanlewis.wordpress.com</link>
	<description>Just another Oracle weblog</description>
	<lastBuildDate>Wed, 11 Nov 2009 08:05:54 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>Comment on Index Freelists by lascoltodelvenerdi</title>
		<link>http://jonathanlewis.wordpress.com/2009/11/10/index-freelists/#comment-34827</link>
		<dc:creator>lascoltodelvenerdi</dc:creator>
		<pubDate>Wed, 11 Nov 2009 08:05:54 +0000</pubDate>
		<guid isPermaLink="false">http://jonathanlewis.wordpress.com/?p=1569#comment-34827</guid>
		<description>This remember me the problems with memory and paging (i.e. finding the right page to store your program).

And thanks for replaying to my mail.

Antonio</description>
		<content:encoded><![CDATA[<p>This remember me the problems with memory and paging (i.e. finding the right page to store your program).</p>
<p>And thanks for replaying to my mail.</p>
<p>Antonio</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Index analysis by Jonathan Lewis</title>
		<link>http://jonathanlewis.wordpress.com/2008/09/26/index-analysis/#comment-34826</link>
		<dc:creator>Jonathan Lewis</dc:creator>
		<pubDate>Tue, 10 Nov 2009 22:45:34 +0000</pubDate>
		<guid isPermaLink="false">http://jonathanlewis.wordpress.com/?p=500#comment-34826</guid>
		<description>Henish,

Remember that the index is on trunc(last_update_date) - so the virtual column value is a constant for 24 hours. Since each index entry (non-unique index, remember) is then (column_value, rowid), the order in which we update the old value could affect the rows in an order that allowed earlier rowids to be updated after later rowids, filling in gaps in the index leaf blocks for the current date.</description>
		<content:encoded><![CDATA[<p>Henish,</p>
<p>Remember that the index is on trunc(last_update_date) &#8211; so the virtual column value is a constant for 24 hours. Since each index entry (non-unique index, remember) is then (column_value, rowid), the order in which we update the old value could affect the rows in an order that allowed earlier rowids to be updated after later rowids, filling in gaps in the index leaf blocks for the current date.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Index analysis by henish</title>
		<link>http://jonathanlewis.wordpress.com/2008/09/26/index-analysis/#comment-34825</link>
		<dc:creator>henish</dc:creator>
		<pubDate>Tue, 10 Nov 2009 22:25:06 +0000</pubDate>
		<guid isPermaLink="false">http://jonathanlewis.wordpress.com/?p=500#comment-34825</guid>
		<description>Respected Sir,

Nice presentation 



&quot;However, rather than take the worst case scenario, let’s take the best (and least likely) scenario – assume that by the end of the 
day there have been lots of 50/50 block splits, but a lot of back-fill has taken place (because of a random order of updates) and 
every block just happens to get very close to 100% full.&quot;



since the column last_update_date always reflect to the future date when the update happen,
how will it back-fill 

could you please explain?


Thanks</description>
		<content:encoded><![CDATA[<p>Respected Sir,</p>
<p>Nice presentation </p>
<p>&#8220;However, rather than take the worst case scenario, let’s take the best (and least likely) scenario – assume that by the end of the<br />
day there have been lots of 50/50 block splits, but a lot of back-fill has taken place (because of a random order of updates) and<br />
every block just happens to get very close to 100% full.&#8221;</p>
<p>since the column last_update_date always reflect to the future date when the update happen,<br />
how will it back-fill </p>
<p>could you please explain?</p>
<p>Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Index Analysis 2 by Index Freelists &#171; Oracle Scratchpad</title>
		<link>http://jonathanlewis.wordpress.com/2008/09/29/index-analysis-2/#comment-34824</link>
		<dc:creator>Index Freelists &#171; Oracle Scratchpad</dc:creator>
		<pubDate>Tue, 10 Nov 2009 19:11:18 +0000</pubDate>
		<guid isPermaLink="false">http://jonathanlewis.wordpress.com/?p=547#comment-34824</guid>
		<description>[...] subsequent insert results in a performance problem. On the other hand if you read my description in this blog posting, you&#8217;ll see that I have described a scenario where the commit between the delete and the [...]</description>
		<content:encoded><![CDATA[<p>[...] subsequent insert results in a performance problem. On the other hand if you read my description in this blog posting, you&#8217;ll see that I have described a scenario where the commit between the delete and the [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Bugs &#8211; 2 by Jonathan Lewis</title>
		<link>http://jonathanlewis.wordpress.com/2009/10/10/bugs-2/#comment-34823</link>
		<dc:creator>Jonathan Lewis</dc:creator>
		<pubDate>Tue, 10 Nov 2009 15:36:01 +0000</pubDate>
		<guid isPermaLink="false">http://jonathanlewis.wordpress.com/?p=2356#comment-34823</guid>
		<description>A little update:

I was hit by the same bug during my demonstrations in the &quot;Oracle Closed World&quot; event. But restarting the database solved it.

Then it appeared on a client-site pre-production system. I decided to do a metalink search (advanced, all words, for &lt;em&gt;&lt;strong&gt;&quot;OERI&quot;&lt;/strong&gt;&lt;/em&gt; and &lt;em&gt;&lt;strong&gt;&quot;15264&quot;&lt;/strong&gt;&lt;/em&gt; - the &lt;em&gt;&lt;strong&gt;OERI &lt;/strong&gt;&lt;/em&gt;search is for the Oracle Internal Error tag - and found bug 8227243 dating back to Feb 2009.

We weren&#039;t able to try all the workarounds (like restarting the database), so in the end we renamed the table and indexes as a temporary measure so that we could build a new copy. 

The owner of the table later managed to bypass the problem somehow. I think he moved the table, dropped all constraints on the table, and then found he could drop the indexes and table - but he doesn&#039;t know which bit of this activity was key to working around the issue, so another &quot;Req&#039;d Info Not Avail&quot; report to Oracle.
</description>
		<content:encoded><![CDATA[<p>A little update:</p>
<p>I was hit by the same bug during my demonstrations in the &#8220;Oracle Closed World&#8221; event. But restarting the database solved it.</p>
<p>Then it appeared on a client-site pre-production system. I decided to do a metalink search (advanced, all words, for <em><strong>&#8220;OERI&#8221;</strong></em> and <em><strong>&#8220;15264&#8243;</strong></em> &#8211; the <em><strong>OERI </strong></em>search is for the Oracle Internal Error tag &#8211; and found bug 8227243 dating back to Feb 2009.</p>
<p>We weren&#8217;t able to try all the workarounds (like restarting the database), so in the end we renamed the table and indexes as a temporary measure so that we could build a new copy. </p>
<p>The owner of the table later managed to bypass the problem somehow. I think he moved the table, dropped all constraints on the table, and then found he could drop the indexes and table &#8211; but he doesn&#8217;t know which bit of this activity was key to working around the issue, so another &#8220;Req&#8217;d Info Not Avail&#8221; report to Oracle.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Statistics problem by Jonathan Lewis</title>
		<link>http://jonathanlewis.wordpress.com/2008/02/13/statistics-problem/#comment-34820</link>
		<dc:creator>Jonathan Lewis</dc:creator>
		<pubDate>Mon, 09 Nov 2009 18:40:49 +0000</pubDate>
		<guid isPermaLink="false">http://jonathanlewis.wordpress.com/?p=341#comment-34820</guid>
		<description>Nigel,

I think you&#039;re probably thinking of Chapter 5 of Cost Based Oracle - Fundamentals (the chapter that can be &lt;a href=&quot;http://www.apress.com/book/downloadfile/2410&quot; rel=&quot;nofollow&quot;&gt;&lt;b&gt;&lt;i&gt;downloaded as a free pdf file from Apress&lt;/i&gt;&lt;/b&gt;&lt;/a&gt;) where I suggest that we could &quot;hi-jack&quot; the &lt;em&gt;&lt;strong&gt;sys_op_countchg()&lt;/strong&gt;&lt;/em&gt; function used by Oracle to calculate the &lt;em&gt;&lt;strong&gt;clustering_factor&lt;/strong&gt;&lt;/em&gt; of an index.

You&#039;re probably correct to suggest that I could have made some comments about the function being undocumented and that my suggestion to trace the &lt;em&gt;&lt;strong&gt;gather_index_stats()&lt;/strong&gt;&lt;/em&gt; call should be repeated on every upgrade of Oracle to ensure that the mechanism was still appropriate.

In fact, as &lt;a href=&quot;http://www.worldsgreatestbusinessmind.com/20081221-Richard-Foote-create.html&amp;WT.mc_id=WGB&quot; rel=&quot;nofollow&quot;&gt;&lt;em&gt;&lt;strong&gt;Richard Foote&lt;/strong&gt;&lt;/em&gt;&lt;/a&gt; points out in one of the comments to his &lt;a href=&quot;http://richardfoote.wordpress.com/2009/10/16/oracle-openworld-day-5-hightlights/#comments&quot; rel=&quot;nofollow&quot;&gt;&lt;em&gt;&lt;strong&gt;postings on Oracle Open World 2009&lt;/strong&gt;&lt;/em&gt;&lt;/a&gt;, this may be particularly significant in some future (12+) version of Oracle because the Optimizer Group is looking at better ways of calculating the &lt;em&gt;&lt;strong&gt;clustering_factor&lt;/strong&gt;&lt;/em&gt; (and may, apparently, do something that looks remarkably similar to the suggestion I voiced in the book).
</description>
		<content:encoded><![CDATA[<p>Nigel,</p>
<p>I think you&#8217;re probably thinking of Chapter 5 of Cost Based Oracle &#8211; Fundamentals (the chapter that can be <a href="http://www.apress.com/book/downloadfile/2410" rel="nofollow"><b><i>downloaded as a free pdf file from Apress</i></b></a>) where I suggest that we could &#8220;hi-jack&#8221; the <em><strong>sys_op_countchg()</strong></em> function used by Oracle to calculate the <em><strong>clustering_factor</strong></em> of an index.</p>
<p>You&#8217;re probably correct to suggest that I could have made some comments about the function being undocumented and that my suggestion to trace the <em><strong>gather_index_stats()</strong></em> call should be repeated on every upgrade of Oracle to ensure that the mechanism was still appropriate.</p>
<p>In fact, as <a href="http://www.worldsgreatestbusinessmind.com/20081221-Richard-Foote-create.html&amp;WT.mc_id=WGB" rel="nofollow"><em><strong>Richard Foote</strong></em></a> points out in one of the comments to his <a href="http://richardfoote.wordpress.com/2009/10/16/oracle-openworld-day-5-hightlights/#comments" rel="nofollow"><em><strong>postings on Oracle Open World 2009</strong></em></a>, this may be particularly significant in some future (12+) version of Oracle because the Optimizer Group is looking at better ways of calculating the <em><strong>clustering_factor</strong></em> (and may, apparently, do something that looks remarkably similar to the suggestion I voiced in the book).</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Clean it up by Jonathan Lewis</title>
		<link>http://jonathanlewis.wordpress.com/2009/06/16/clean-it-up/#comment-34819</link>
		<dc:creator>Jonathan Lewis</dc:creator>
		<pubDate>Mon, 09 Nov 2009 18:29:09 +0000</pubDate>
		<guid isPermaLink="false">http://jonathanlewis.wordpress.com/?p=1489#comment-34819</guid>
		<description>Nigel,

Possible, but we may never know.

But it&#039;s possible that by asking him to state the source of his doubt I encouraged him to read the text more carefully and note that he was confusing the actions of the &quot;commit&quot; with the actions of the &quot;commit cleanout&quot; and answer his own question.</description>
		<content:encoded><![CDATA[<p>Nigel,</p>
<p>Possible, but we may never know.</p>
<p>But it&#8217;s possible that by asking him to state the source of his doubt I encouraged him to read the text more carefully and note that he was confusing the actions of the &#8220;commit&#8221; with the actions of the &#8220;commit cleanout&#8221; and answer his own question.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Did you know &#8230; by Jonathan Lewis</title>
		<link>http://jonathanlewis.wordpress.com/2009/11/06/did-you-know/#comment-34818</link>
		<dc:creator>Jonathan Lewis</dc:creator>
		<pubDate>Mon, 09 Nov 2009 18:26:32 +0000</pubDate>
		<guid isPermaLink="false">http://jonathanlewis.wordpress.com/?p=2470#comment-34818</guid>
		<description>Exactly,
You&#039;ve picked an example right at the boundary to demonstrate the principle.  

You don&#039;t actually have to do the manual allocation of extents, by the way. Apart from the special case of the first 1MB of space allocated under system managed extents, Oracle will round-robin extents through the available data files.

To increase the visibility of the effect, you could even try using freelist management instead of the default 11g ASSM (automatic segment space management).  (No need to post the results, though).</description>
		<content:encoded><![CDATA[<p>Exactly,<br />
You&#8217;ve picked an example right at the boundary to demonstrate the principle.  </p>
<p>You don&#8217;t actually have to do the manual allocation of extents, by the way. Apart from the special case of the first 1MB of space allocated under system managed extents, Oracle will round-robin extents through the available data files.</p>
<p>To increase the visibility of the effect, you could even try using freelist management instead of the default 11g ASSM (automatic segment space management).  (No need to post the results, though).</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Statistics problem by Nigel</title>
		<link>http://jonathanlewis.wordpress.com/2008/02/13/statistics-problem/#comment-34816</link>
		<dc:creator>Nigel</dc:creator>
		<pubDate>Mon, 09 Nov 2009 13:21:25 +0000</pubDate>
		<guid isPermaLink="false">http://jonathanlewis.wordpress.com/?p=341#comment-34816</guid>
		<description>sys_op_countchg()

A quick search on MetaLink shows precious little (practically nothing) about sys_op_countchg() - so, is it wise to promote its usage? Is it something that looks good, but could go nasty in a next release/patchset?</description>
		<content:encoded><![CDATA[<p>sys_op_countchg()</p>
<p>A quick search on MetaLink shows precious little (practically nothing) about sys_op_countchg() &#8211; so, is it wise to promote its usage? Is it something that looks good, but could go nasty in a next release/patchset?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Clean it up by Nigel</title>
		<link>http://jonathanlewis.wordpress.com/2009/06/16/clean-it-up/#comment-34815</link>
		<dc:creator>Nigel</dc:creator>
		<pubDate>Mon, 09 Nov 2009 13:00:59 +0000</pubDate>
		<guid isPermaLink="false">http://jonathanlewis.wordpress.com/?p=1489#comment-34815</guid>
		<description>I think he was meaning to say, &quot;It looks like you said a Commit leads to a little redo generation, but you also say a Commit does not lead to redo generation&quot;.

But I think he&#039;s confusing redo associated with the transaction slot following a Commit, and non-redo associated with a commit cleanout.</description>
		<content:encoded><![CDATA[<p>I think he was meaning to say, &#8220;It looks like you said a Commit leads to a little redo generation, but you also say a Commit does not lead to redo generation&#8221;.</p>
<p>But I think he&#8217;s confusing redo associated with the transaction slot following a Commit, and non-redo associated with a commit cleanout.</p>
]]></content:encoded>
	</item>
</channel>
</rss>