I check it this way:
ct raja_test(id varchar(1)) unique primary index id1(id) say. I dont insert any value(zero rows), then I check :
SELECT CurrentPerm
FROM DBC.TablesizeV
WHERE TableName = 'raja_test';
Without any value(s) inserted , it gives me the bytes for each amp used. It depends how many amps we have in our system.
So, my calculation is this plus physical size of all columns.
If your question is how to find tablesize alone, you can get from dbc tablesize.
Cheers,
Raja
I check it this way:
ct raja_test(id varchar(1)) unique primary index id1(id) say. I dont insert any value(zero rows), then I check :
SELECT CurrentPerm
FROM DBC.TablesizeV
WHERE TableName = 'raja_test';
Without any value(s) inserted , it gives me the bytes for each amp used. It depends how many amps we have in our system.
So, my calculation is this plus physical size of all columns.
If your question is how to find tablesize alone, you can get from dbc tablesize.
Cheers,
Raja