Archives of the TeradataForum
Message Posted: Thu, 16 Apr 2009 @ 11:49:11 GMT
Subj: | | Collecting Stats - Column or Index |
|
From: | | Okell, Alan |
Other than where the stats are stored, is there any fundamental difference between the following 2 Collect Stats statements:
Collect Stats on Table1 Index (ColA);
Collect Stats on Table1 Column (ColA);
I've got a book that suggests there is no difference and the only time you need to collect Index stats is where you have a composite Primary
Index.
I'd accept this a lot quicker if it wasn't for the fact that statement immediately above it suggests Collecting Stats on (ColA,COlB,ColC) is
exactly the same as Collecting Stats against those columns individually, which I'm pretty sure is nonsense !!
Thanks.
|