The easiest thing to do is to use the VSIZE function on the table's columns to determine how much space is being used. Summing the results of the VSIZE functions will give you the total number of bytes for that row of data. For instance, if the EMP table contains the EMPID, ENAME and DEPTNO columns, the following query will show you the total number of bytes for the data in each row:
SELECT empid, VSIZE(empid)+VSIZE(ename)+
VSIZE(deptno) AS total_bytes FROM emp;
If you need further information, I have a white paper titled "Dumping Oracle Blocks" on my Web site which will show you how to see the rows in a block.
|