<?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: Automatic Index Statistics Gathering and Minimizing Over Indexing</title>
	<atom:link href="http://tonguc.wordpress.com/2007/02/11/automatic-index-statistics-gathering-and-minimizing-over-indexing/feed/" rel="self" type="application/rss+xml" />
	<link>http://tonguc.wordpress.com/2007/02/11/automatic-index-statistics-gathering-and-minimizing-over-indexing/</link>
	<description>Extract(Read) &#62; Transform(Test&#38;Apply) &#62; Load(Learn)</description>
	<lastBuildDate>Wed, 09 Dec 2009 19:53:13 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: H.Tonguç Yılmaz</title>
		<link>http://tonguc.wordpress.com/2007/02/11/automatic-index-statistics-gathering-and-minimizing-over-indexing/#comment-2162</link>
		<dc:creator>H.Tonguç Yılmaz</dc:creator>
		<pubDate>Sat, 10 May 2008 19:28:28 +0000</pubDate>
		<guid isPermaLink="false">http://tonguc.wordpress.com/2007/02/11/automatic-index-statistics-gathering-and-minimizing-over-indexing/#comment-2162</guid>
		<description>Also when it comes to Datawarehousing and ETL, we may also advise that CASCADE option as TRUE on table or partitions is unnecessary since the bitmap indexes subpartitions will be re-gathered during rebuilds. 

I tried to build a small example here;
http://tonguc.yilmaz.googlepages.com/dbms_stats_cascade_needed.txt</description>
		<content:encoded><![CDATA[<p>Also when it comes to Datawarehousing and ETL, we may also advise that CASCADE option as TRUE on table or partitions is unnecessary since the bitmap indexes subpartitions will be re-gathered during rebuilds. </p>
<p>I tried to build a small example here;<br />
<a href="http://tonguc.yilmaz.googlepages.com/dbms_stats_cascade_needed.txt" rel="nofollow">http://tonguc.yilmaz.googlepages.com/dbms_stats_cascade_needed.txt</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: CBO için İstatistik toplamanın otomatikleştirilmesi &#171; Oracle SQL PLSQL Java üzerine bilgi döküman</title>
		<link>http://tonguc.wordpress.com/2007/02/11/automatic-index-statistics-gathering-and-minimizing-over-indexing/#comment-59</link>
		<dc:creator>CBO için İstatistik toplamanın otomatikleştirilmesi &#171; Oracle SQL PLSQL Java üzerine bilgi döküman</dc:creator>
		<pubDate>Thu, 15 Mar 2007 09:46:31 +0000</pubDate>
		<guid isPermaLink="false">http://tonguc.wordpress.com/2007/02/11/automatic-index-statistics-gathering-and-minimizing-over-indexing/#comment-59</guid>
		<description>[...] bunun otomatiğe alamazmıyız? Tonguç abi sağolsun bu soruma cevap verdi.”GATHER_STATS_JOB” çalışır duruma getirirsek Oracle gerekli olan [...]</description>
		<content:encoded><![CDATA[<p>[...] bunun otomatiğe alamazmıyız? Tonguç abi sağolsun bu soruma cevap verdi.”GATHER_STATS_JOB” çalışır duruma getirirsek Oracle gerekli olan [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: H.Tonguç Yılmaz</title>
		<link>http://tonguc.wordpress.com/2007/02/11/automatic-index-statistics-gathering-and-minimizing-over-indexing/#comment-44</link>
		<dc:creator>H.Tonguç Yılmaz</dc:creator>
		<pubDate>Mon, 12 Feb 2007 13:32:59 +0000</pubDate>
		<guid isPermaLink="false">http://tonguc.wordpress.com/2007/02/11/automatic-index-statistics-gathering-and-minimizing-over-indexing/#comment-44</guid>
		<description>Patrick hi, good to be back again :)

Coskan hi, when to gather statistics is a very challenging question especially after 10g RBO is obsolute. Here in my company DBA prefer to use DBMS_STATS&#039;s STALE(10% changed) statistic option. But a research on asktom and lewis&#039;s blog could be usefull of course :)

Hakki hi, after 10g there is a job scheduled for this purpose;

SELECT owner, job_name, enabled
  FROM dba_scheduler_jobs
 WHERE job_name = &#039;GATHER_STATS_JOB&#039;

This job is needed because RBO is dead, and your index will be analyzed when this job starts at its scheduled time if it is in STALE status. Also new created segments without statistics will be gathered.</description>
		<content:encoded><![CDATA[<p>Patrick hi, good to be back again :)</p>
<p>Coskan hi, when to gather statistics is a very challenging question especially after 10g RBO is obsolute. Here in my company DBA prefer to use DBMS_STATS&#8217;s STALE(10% changed) statistic option. But a research on asktom and lewis&#8217;s blog could be usefull of course :)</p>
<p>Hakki hi, after 10g there is a job scheduled for this purpose;</p>
<p>SELECT owner, job_name, enabled<br />
  FROM dba_scheduler_jobs<br />
 WHERE job_name = &#8216;GATHER_STATS_JOB&#8217;</p>
<p>This job is needed because RBO is dead, and your index will be analyzed when this job starts at its scheduled time if it is in STALE status. Also new created segments without statistics will be gathered.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: hakkioktay</title>
		<link>http://tonguc.wordpress.com/2007/02/11/automatic-index-statistics-gathering-and-minimizing-over-indexing/#comment-43</link>
		<dc:creator>hakkioktay</dc:creator>
		<pubDate>Mon, 12 Feb 2007 07:24:34 +0000</pubDate>
		<guid isPermaLink="false">http://tonguc.wordpress.com/2007/02/11/automatic-index-statistics-gathering-and-minimizing-over-indexing/#comment-43</guid>
		<description>abi merhaba,
örneğin üzerinden denemeler yaptım, indeks oluşturuldugu anda analiz yapılıyor.Ancak anladıgım kadarıyla sonrasında otomatik bir analiz yok.(Herhlade bunu beklememeliydim :)

Çok yogun insert ler yaptıktan sonra baktım, analiz tarihi oluşturuldugu andaki tarih ve num_rows alanı yine ilk andaki ile aynı..Ne zamanki analyze index komutu verdim, bilgiler güncellendi.</description>
		<content:encoded><![CDATA[<p>abi merhaba,<br />
örneğin üzerinden denemeler yaptım, indeks oluşturuldugu anda analiz yapılıyor.Ancak anladıgım kadarıyla sonrasında otomatik bir analiz yok.(Herhlade bunu beklememeliydim :)</p>
<p>Çok yogun insert ler yaptıktan sonra baktım, analiz tarihi oluşturuldugu andaki tarih ve num_rows alanı yine ilk andaki ile aynı..Ne zamanki analyze index komutu verdim, bilgiler güncellendi.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: coskan</title>
		<link>http://tonguc.wordpress.com/2007/02/11/automatic-index-statistics-gathering-and-minimizing-over-indexing/#comment-40</link>
		<dc:creator>coskan</dc:creator>
		<pubDate>Mon, 12 Feb 2007 07:17:49 +0000</pubDate>
		<guid isPermaLink="false">http://tonguc.wordpress.com/2007/02/11/automatic-index-statistics-gathering-and-minimizing-over-indexing/#comment-40</guid>
		<description>Thanks for this brief example of gathering index statistics. 

For gathering stats There is an explanation of  WHY,  Is there an exact explanation about WHEN ?

We have to collect statistics for CBO to make the right decision of access paths. 

But when it is necessary ? 

In my way; I query the table ALL_TAB_MODIFICATIONS for gathering the change on data and make the decision from the result set. (If there is a change of 10 percent for insert update and delete i gather the stats of index and table). This table is very useful  for understanding what is happening to my data ?. This table is started to be populated after the last statistics collection and holds all the change on the table. 

like the query below

select dt.table_name,dt.owner,num_rows  from all_TAB_MODIFICATIONS tb,dba_tables dt where  
dt.TABLE_NAME=tb.TABLE_NAME
and (dt.num_rows*10/100</description>
		<content:encoded><![CDATA[<p>Thanks for this brief example of gathering index statistics. </p>
<p>For gathering stats There is an explanation of  WHY,  Is there an exact explanation about WHEN ?</p>
<p>We have to collect statistics for CBO to make the right decision of access paths. </p>
<p>But when it is necessary ? </p>
<p>In my way; I query the table ALL_TAB_MODIFICATIONS for gathering the change on data and make the decision from the result set. (If there is a change of 10 percent for insert update and delete i gather the stats of index and table). This table is very useful  for understanding what is happening to my data ?. This table is started to be populated after the last statistics collection and holds all the change on the table. </p>
<p>like the query below</p>
<p>select dt.table_name,dt.owner,num_rows  from all_TAB_MODIFICATIONS tb,dba_tables dt where<br />
dt.TABLE_NAME=tb.TABLE_NAME<br />
and (dt.num_rows*10/100</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Patrick</title>
		<link>http://tonguc.wordpress.com/2007/02/11/automatic-index-statistics-gathering-and-minimizing-over-indexing/#comment-39</link>
		<dc:creator>Patrick</dc:creator>
		<pubDate>Sun, 11 Feb 2007 21:12:26 +0000</pubDate>
		<guid isPermaLink="false">http://tonguc.wordpress.com/2007/02/11/automatic-index-statistics-gathering-and-minimizing-over-indexing/#comment-39</guid>
		<description>Good to see you online again!

Patrick</description>
		<content:encoded><![CDATA[<p>Good to see you online again!</p>
<p>Patrick</p>
]]></content:encoded>
	</item>
</channel>
</rss>
