<?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: 10046 Extended SQL Trace Interpretation 3</title>
	<atom:link href="http://hoopercharles.wordpress.com/2010/09/06/10046-extended-sql-trace-interpretation-3/feed/" rel="self" type="application/rss+xml" />
	<link>http://hoopercharles.wordpress.com/2010/09/06/10046-extended-sql-trace-interpretation-3/</link>
	<description>Miscellaneous Random Oracle Topics: Stop, Think, ... Understand</description>
	<lastBuildDate>Mon, 13 May 2013 14:10:06 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
	<item>
		<title>By: Pavel Ermakov</title>
		<link>http://hoopercharles.wordpress.com/2010/09/06/10046-extended-sql-trace-interpretation-3/#comment-1828</link>
		<dc:creator><![CDATA[Pavel Ermakov]]></dc:creator>
		<pubDate>Mon, 13 Sep 2010 09:07:44 +0000</pubDate>
		<guid isPermaLink="false">http://hoopercharles.wordpress.com/?p=3201#comment-1828</guid>
		<description><![CDATA[Hi Charles!

Thanks for the response.

Best regards, Pavel.]]></description>
		<content:encoded><![CDATA[<p>Hi Charles!</p>
<p>Thanks for the response.</p>
<p>Best regards, Pavel.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Charles Hooper</title>
		<link>http://hoopercharles.wordpress.com/2010/09/06/10046-extended-sql-trace-interpretation-3/#comment-1821</link>
		<dc:creator><![CDATA[Charles Hooper]]></dc:creator>
		<pubDate>Fri, 10 Sep 2010 13:00:48 +0000</pubDate>
		<guid isPermaLink="false">http://hoopercharles.wordpress.com/?p=3201#comment-1821</guid>
		<description><![CDATA[Pavel,

Good question regarding the two executions in the script of:
[code]
EXEC DBMS_STATS.GATHER_TABLE_STATS(OWNNAME=&gt;USER,TABNAME=&gt;&#039;T3_1&#039;,CASCADE=&gt;TRUE)
EXEC DBMS_STATS.GATHER_TABLE_STATS(OWNNAME=&gt;USER,TABNAME=&gt;&#039;T4_1&#039;,CASCADE=&gt;TRUE)
[/code]

The second execution of the statistics gathering was NOT performed to change the execution plan.  The NO_INVALIDATE parameter (of DBMS_STATS.GATHER_TABLE_STATS) was not set to FALSE, so on Oracle Database 10.1 and above those statistics would not have immediately affected previously generated execution plans.

I selected the statistics gathering lines as the starting point where the script repeated, so that the timings in both 10046 trace files would be affected roughly the same by any data that might remain in the hard drive caches when Oracle&#039;s buffer cache was flushed.  It might be interesting to see whether or not removing those lines will affect the outcome of the test results.]]></description>
		<content:encoded><![CDATA[<p>Pavel,</p>
<p>Good question regarding the two executions in the script of:</p>
<pre class="brush: plain; title: ; notranslate">
EXEC DBMS_STATS.GATHER_TABLE_STATS(OWNNAME=&gt;USER,TABNAME=&gt;'T3_1',CASCADE=&gt;TRUE)
EXEC DBMS_STATS.GATHER_TABLE_STATS(OWNNAME=&gt;USER,TABNAME=&gt;'T4_1',CASCADE=&gt;TRUE)
</pre>
<p>The second execution of the statistics gathering was NOT performed to change the execution plan.  The NO_INVALIDATE parameter (of DBMS_STATS.GATHER_TABLE_STATS) was not set to FALSE, so on Oracle Database 10.1 and above those statistics would not have immediately affected previously generated execution plans.</p>
<p>I selected the statistics gathering lines as the starting point where the script repeated, so that the timings in both 10046 trace files would be affected roughly the same by any data that might remain in the hard drive caches when Oracle&#8217;s buffer cache was flushed.  It might be interesting to see whether or not removing those lines will affect the outcome of the test results.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Pavel Ermakov</title>
		<link>http://hoopercharles.wordpress.com/2010/09/06/10046-extended-sql-trace-interpretation-3/#comment-1819</link>
		<dc:creator><![CDATA[Pavel Ermakov]]></dc:creator>
		<pubDate>Fri, 10 Sep 2010 11:34:25 +0000</pubDate>
		<guid isPermaLink="false">http://hoopercharles.wordpress.com/?p=3201#comment-1819</guid>
		<description><![CDATA[Hi Charles!

I have a question: why did you gather statistics for the tables twice?]]></description>
		<content:encoded><![CDATA[<p>Hi Charles!</p>
<p>I have a question: why did you gather statistics for the tables twice?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
