Home Page for the TeradataForum

Archives of the TeradataForum

Message Posted: Wed, 09 Mar 2005 @ 20:46:11 GMT

  <Prev Next>   <<First <Prev Next> Last>>  

Subj:   Re: Use of Indexes in Teradata
From:   David Wellman

The primary index will only be used if you have an equality constraint on each column in the index.

A NUSI may well be used, especially if it is value ordered with statistics collected on it.

Another option, possibly better, is to use a partitioned primary index (PPI) with a partitioning scheme which allows the DBMS to delete an entire partition. I accept that implementing this on an existing billion row table will not be easy, but it may give the best result slong term.



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