Home Page for the TeradataForum

Archives of the TeradataForum

Message Posted: Sat, 22 Nov 2008 @ 18:22:34 GMT

  <Prev Next>   <<First <Prev

Subj:   Re: Stats collection on Index Column
From:   Michael Larkins

Yes Lakhwant:

I agree with you on a UPI if for no other reason it shows the optimizer how many rows are in the table. This is especially important when you have a very small table - ie. fewer rows than the number of AMPs.

I can sort of see your point regarding the USI. At the same time, if you have stats on the UPI then the optimizer has a count. Stats on the USI (primary key columns of logical design) would be most valuable when the table has a NUPI in order to have a row count.


Michael Larkins
Certified Teradata Master
Certified Teradata SQL Instructor

  <Prev Next>   <<First <Prev
  Top Home Privacy Feedback  
Copyright for the TeradataForum (TDATA-L), Manta BlueSky    
Copyright 2016 - All Rights Reserved    
Last Modified: 28 Jun 2020