Archives of the TeradataForum
Message Posted: Wed, 19 Mar 2003 @ 20:22:32 GMT
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.
|Copyright 2016 - All Rights Reserved|
|Last Modified: 28 Jun 2020|