|
|
|
Forum Newbie
      
Group: Forum Members
Last Login: 4/2/2008 8:38:38 PM
Posts: 1,
Visits: 11
|
|
Hi,
Is there any DBC tables that I can use to find out what's the Total Row Length of a row in the TERADATA table?
Thanks
|
|
|
|
|
Supreme Being
      
Group: Forum Members
Last Login: Yesterday @ 8:47:37 PM
Posts: 283,
Visits: 989
|
|
No, not directly. You should be able to estimate the length by adding the lengths of the columns.
Another estimating method that could be used for a populated table to get the the amount of disk space occupied from the DBC.TableSize view and divide by the number of rows.
|
|
|
|
|
Forum Newbie
      
Group: Forum Members
Last Login: 11/1/2009 10:39:06 PM
Posts: 1,
Visits: 2
|
|
sel tablename , sum(columnlength) from dbc.columns where databasename = 'Your Database Name Here' and tablename in ('Your Table Names Here'' )
group by tablename order by tablename
Cheers
|
|
|
|