Home Page for the TeradataForum

Archives of the TeradataForum

Message Posted: Wed, 19 Mar 2003 @ 20:22:32 GMT

  <Prev Next>   <<First <Prev

Subj:   Re: Real size of the table
From:   Rob Paller

Calculate the sizes of your secondary indexes and subtract that from your CurrentPerm for the table in DBC.AllSpace.

SI index sizes can be calculated as follows:

USI: Table Row Count * (Index Value Size + 28) (Double for Fallback)

(Index Value Size = Sum of the column lengths in the index)

NUSI: (Table Row Count * 8) + (Unique Values * (Index Value Size + 20) * MIN( Number of Amps, Rows/Value)) (Double for Fallback)

Hope this helps.

  <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