|
Archives of the TeradataForumMessage Posted: Thu, 30 Mar 2006 @ 10:43:10 GMT
Hi Naveen,
Index type '1','2' refers columns selected in a join index. For each column selected in the join index it has an entry in indexes table with index type 1 or 2. 'M' refers Multi-Column statistics collected for set of columns in a table. These are not indexes so it's ignored while listing the indexes in a table.
If a Value order or Secondary index is created with ALL option then it's stored with index type 'O' or 'H'
If multi-column index is created with a name then it's easy to collect stats or drop index by just mentioning it's name instead of giving all the columns names in the index. I am not sure about the need for column position. I hope it will be helpful for optimizer when it uses the stats for a Multi-column index. May be other experts will answer for you :) Hope this helps U. Thanks, Praveen
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Copyright 2016 - All Rights Reserved | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Last Modified: 15 Jun 2023 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||