Skip to Content
avatar image
Former Member

Calculating a record length of a table

Hi All,

In SAP 4.6C Oracle 9g I need to find a record length of a table.For that I am using :

Table name is ABC.

Tablespace in KBytes of ABC X

Total no records in ABC Y

Single record length in Kbytes (Z) = Tablespace (X) / Total no of records(Y)

I would like to know weather is this the correct way to calculate in approximation.I would also like to know any other methods of knowing it.

Any inputs are appreciated.

Thanks,

Priya.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    Jan 28, 2008 at 04:11 PM

    Hello Priya,

    why calculating?

    http://download.oracle.com/docs/cd/B19306_01/server.102/b14237/statviews_2105.htm#i1592091

    => AVG_ROW_LEN* NUMBER Average length of a row in the table (in bytes)

    But this is only an average (estimated and including row overhead).

    The real length of a row depends on the character set... the character itself and the storage of the data (row chaining and so on...).

    Regards

    Stefan

    Add comment
    10|10000 characters needed characters exceeded