﻿<?xml version='1.0' encoding='UTF-8'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>Teradata Forums / Data Warehousing  / Teradata   / Collect Stats difference / Latest Posts</title><generator>InstantForum.NET v4.1.4</generator><description>Teradata Forums</description><link>http://www.teradata.com/teradataforum/</link><webMaster>info@teradata.com</webMaster><lastBuildDate>Sun, 12 Oct 2008 15:55:33 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: Collect Stats difference</title><link>http://www.teradata.com/teradataforum/Topic11088-1-1.aspx</link><description>There is a small difference in how the statistics collection process will read the data, depending on whether the column is indexed or not.     If there is a NUSI defined on the column, the statistics collection process will scan the index subtables, instead of the base table.  Depending on the number of distinct values in the NUSI, this could contribute to a reduced time to collect the statistics because fewer rows and fewer data blocks will need to be read.</description><pubDate>Mon, 28 Apr 2008 16:36:51 GMT</pubDate><dc:creator>CarrieB</dc:creator></item><item><title>RE: Collect Stats difference</title><link>http://www.teradata.com/teradataforum/Topic11088-1-1.aspx</link><description>Other than syntax, there is no difference between collecting stats on an index or on the same column(s). The same is true of the "CREATE INDEX form" versus "Legacy form" of COLLECT STATS statement.The actual collection process (which you can EXPLAIN), the data stored in the dictionary tables, and the subsequent use of the stats for query optimization are all the same.</description><pubDate>Sat, 29 Mar 2008 12:53:50 GMT</pubDate><dc:creator>Fred Pluebell</dc:creator></item><item><title>Collect Stats difference</title><link>http://www.teradata.com/teradataforum/Topic11088-1-1.aspx</link><description>Is there any difference in performance when -(1) We collect stats on Column(2) We collect stats on IndexSay table...COLLECT STATS ON INDEX A (ACCNO);COLLECT STATS IN COLUMN A (ACCNO);A is a table with UPI as ACCNO.Thanks</description><pubDate>Fri, 28 Mar 2008 17:06:07 GMT</pubDate><dc:creator>gururaj</dc:creator></item></channel></rss>