Query to find Row Size:
SELECT
databasename,
tablename,
SUM(columnlength) ROWSIZE,
COUNT(*) columncount
FROM
dbc.COLUMNS
WHERE
databasename LIKE '%XXX%' AND TABLENAME='YYY'
GROUP BY databasename,tablename;
--- X
SELECT COUNT(*) FROM TABLE; Y
Here is u r desired result X*Y
By using row size and table size you will able to calculate the size of partial records in a table. Its not 100%
By using row size and table size you will able to calculate the size of partial records in a table.
Below are the steps:
-
Find total number of rows in table… assume as X
-
Find size of the row … assume as Y
Then total size of rows is X*Y
By using row size and table size you will able to calculate the size of partial records in a table. Its not 100%
By using row size and table size you will able to calculate the size of partial records in a table.
Below are the steps:
Then total size of rows is X*Y