<?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/"
		>
<channel>
	<title>Comments on: Multi-Column Correlation and Extended Stats in Oracle 11g</title>
	<atom:link href="http://www.pythian.com/news/906/multi-column-correlation-and-extended-stats-in-oracle-11g/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.pythian.com/news/906/multi-column-correlation-and-extended-stats-in-oracle-11g/</link>
	<description>News and views from Pythian DBAs</description>
	<lastBuildDate>Fri, 10 Feb 2012 13:01:25 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.4</generator>
	<item>
		<title>By: dave a</title>
		<link>http://www.pythian.com/news/906/multi-column-correlation-and-extended-stats-in-oracle-11g/#comment-466965</link>
		<dc:creator>dave a</dc:creator>
		<pubDate>Mon, 18 Oct 2010 18:21:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.pythian.com/blogs/906/multi-column-correlation-and-extended-stats-in-oracle-11g#comment-466965</guid>
		<description>thanks , useful info presented succinctly</description>
		<content:encoded><![CDATA[<p>thanks , useful info presented succinctly</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Correlation, nocorrelation and extended stats &#171; Oracle database internals by Riyaj</title>
		<link>http://www.pythian.com/news/906/multi-column-correlation-and-extended-stats-in-oracle-11g/#comment-316790</link>
		<dc:creator>Correlation, nocorrelation and extended stats &#171; Oracle database internals by Riyaj</dc:creator>
		<pubDate>Fri, 19 Dec 2008 00:05:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.pythian.com/blogs/906/multi-column-correlation-and-extended-stats-in-oracle-11g#comment-316790</guid>
		<description>[...] tuning &#8212; orainternals @ 12:05 am    I blogged about extended stats in my earlier blog, extended stats, and also documented that as an investigation in Investigations: extended stats and multi-column [...]</description>
		<content:encoded><![CDATA[<p>[...] tuning &#8212; orainternals @ 12:05 am    I blogged about extended stats in my earlier blog, extended stats, and also documented that as an investigation in Investigations: extended stats and multi-column [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Oracle 11g: Multi-Column Correlation Without Extended Stats</title>
		<link>http://www.pythian.com/news/906/multi-column-correlation-and-extended-stats-in-oracle-11g/#comment-304028</link>
		<dc:creator>Oracle 11g: Multi-Column Correlation Without Extended Stats</dc:creator>
		<pubDate>Mon, 24 Nov 2008 20:55:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.pythian.com/blogs/906/multi-column-correlation-and-extended-stats-in-oracle-11g#comment-304028</guid>
		<description>[...] database one of the problems I faced with 10g&#8212;one on those problems Riyaj described in his Multi-Column Correlation and Extended Stats in Oracle 11g post. And the fun part is that I wasn&#8217;t able to reproduce it. Yet just setting [...]</description>
		<content:encoded><![CDATA[<p>[...] database one of the problems I faced with 10g&#8212;one on those problems Riyaj described in his Multi-Column Correlation and Extended Stats in Oracle 11g post. And the fun part is that I wasn&#8217;t able to reproduce it. Yet just setting [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alex Fatkulin</title>
		<link>http://www.pythian.com/news/906/multi-column-correlation-and-extended-stats-in-oracle-11g/#comment-180358</link>
		<dc:creator>Alex Fatkulin</dc:creator>
		<pubDate>Tue, 15 Apr 2008 20:47:46 +0000</pubDate>
		<guid isPermaLink="false">http://www.pythian.com/blogs/906/multi-column-correlation-and-extended-stats-in-oracle-11g#comment-180358</guid>
		<description>Nice post!

I would like to add that in 10G you still can battle correlation problems using higher levels of dynamic sampling (to certain degree).

In 10.2.0.3 the correct cardinality was reported on level 4:

SQL&gt; select /*+ dynamic_sampling(4) */ count(*) from t_vc where n1=10 and n2=10;

Execution Plan
----------------------------------------------------------
Plan hash value: 2872596891

---------------------------------------------------------------------------
&#124; Id  &#124; Operation          &#124; Name &#124; Rows  &#124; Bytes &#124; Cost (%CPU)&#124; Time     &#124;
---------------------------------------------------------------------------
&#124;   0 &#124; SELECT STATEMENT   &#124;      &#124;     1 &#124;     6 &#124;     8   (0)&#124; 00:00:01 &#124;
&#124;   1 &#124;  SORT AGGREGATE    &#124;      &#124;     1 &#124;     6 &#124;            &#124;          &#124;
&#124;*  2 &#124;   TABLE ACCESS FULL&#124; T_VC &#124;   100 &#124;   600 &#124;     8   (0)&#124; 00:00:01 &#124;
---------------------------------------------------------------------------

Predicate Information (identified by operation id):
---------------------------------------------------

   2 - filter(&quot;N1&quot;=10 AND &quot;N2&quot;=10)

Note
-----
   - dynamic sampling used for this statement</description>
		<content:encoded><![CDATA[<p>Nice post!</p>
<p>I would like to add that in 10G you still can battle correlation problems using higher levels of dynamic sampling (to certain degree).</p>
<p>In 10.2.0.3 the correct cardinality was reported on level 4:</p>
<p>SQL&gt; select /*+ dynamic_sampling(4) */ count(*) from t_vc where n1=10 and n2=10;</p>
<p>Execution Plan<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
Plan hash value: 2872596891</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br />
| Id  | Operation          | Name | Rows  | Bytes | Cost (%CPU)| Time     |<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br />
|   0 | SELECT STATEMENT   |      |     1 |     6 |     8   (0)| 00:00:01 |<br />
|   1 |  SORT AGGREGATE    |      |     1 |     6 |            |          |<br />
|*  2 |   TABLE ACCESS FULL| T_VC |   100 |   600 |     8   (0)| 00:00:01 |<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;</p>
<p>Predicate Information (identified by operation id):<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;</p>
<p>   2 &#8211; filter(&#8220;N1&#8243;=10 AND &#8220;N2&#8243;=10)</p>
<p>Note<br />
&#8212;&#8211;<br />
   &#8211; dynamic sampling used for this statement</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Log Buffer #92: a Carnival of the Vanities for DBAs</title>
		<link>http://www.pythian.com/news/906/multi-column-correlation-and-extended-stats-in-oracle-11g/#comment-178784</link>
		<dc:creator>Log Buffer #92: a Carnival of the Vanities for DBAs</dc:creator>
		<pubDate>Fri, 11 Apr 2008 16:45:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.pythian.com/blogs/906/multi-column-correlation-and-extended-stats-in-oracle-11g#comment-178784</guid>
		<description>[...] A new blogger made his first appearance here this week: Riyaj Shamsudeen, with his item on multi-column correlation and extended stats in Oracle 11g. [...]</description>
		<content:encoded><![CDATA[<p>[...] A new blogger made his first appearance here this week: Riyaj Shamsudeen, with his item on multi-column correlation and extended stats in Oracle 11g. [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>

