RowSize and BlockSize
Teradata Teradata Discussion Forums Teradata.com Discussion Forum
Visit Teradata.com
Home       Guidelines    Member List
Welcome Guest ( Login | Register )
        


This online forum is for user-to-user discussions of Teradata products, and is not an official customer support channel for Teradata. If you require direct assistance, please contact Teradata support.


RowSize and BlockSize Expand / Collapse
Author
Message
Posted 9/9/2006 9:19:01 AM
Forum Member

Forum MemberForum MemberForum MemberForum MemberForum MemberForum MemberForum MemberForum Member

Group: Forum Members
Last Login: 4/30/2008 4:36:46 AM
Posts: 32, Visits: 14
Hi All,
How to find the Rowsize of a tbl and a block size in an AMP ?



Regards,

GogulM

Post #5097
Posted 9/10/2006 10:21:29 PM
Junior Member

Junior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior Member

Group: Forum Members
Last Login: 6/20/2007 11:58:00 AM
Posts: 10, Visits: 1
There is not ONE row-size in most tables. Do to NULL values, variable length fields and compression, every row will have a different length. To calculate the average row-size of a table simply divide the table size by the record count.
Post #5104
Posted 9/11/2006 1:46:07 AM
Forum Member

Forum MemberForum MemberForum MemberForum MemberForum MemberForum MemberForum MemberForum Member

Group: Forum Members
Last Login: 4/30/2008 4:36:46 AM
Posts: 32, Visits: 14
THANK YOU VERY MUCH ... :-)


Regards,

GogulM

Post #5110
Posted 9/11/2006 9:34:36 AM
Supreme Being

Supreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme Being

Group: Forum Members
Last Login: 7/5/2009 2:58:22 PM
Posts: 134, Visits: 13
fxstein

My understanding was compressed values are never part of Row. They are more part of the table header and they are always calculated as an Table Header overhead Vs Row. The row has its own overheads like presence bits, etc.
Yes, they do impact the row size as they are stored in the table header as against the row itself.

Correct me if my understanding is wrong in this regard.

Vinay
Post #5111
Posted 1/13/2007 10:57:47 PM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 3/10/2007 6:21:00 AM
Posts: 2, Visits: 1
Yes, a compressed value is not present in the row. I think the previous poster was saying that not all values will be compressed, so some rows will have a value for the field, and other rows will not have bytes for the field at all, and that therefore row size will vary even if all the fields are fixed length types.
Post #6307
« Prev Topic | Next Topic »


Reading This Topic Expand / Collapse
Active Users: 0 ( 0 guests, 0 members, 0 anonymous members )
No members currently viewing this topic.


All times are GMT -5:00, Time now is 4:00pm

Powered By InstantForum.NET v4.1.4 © 2009
Execution: 0.063. 5 queries. Compression Disabled.