sql - How to get the size(memory) of a row that gets inserted into netezza -
i trying size of row gets inserted netezza. there in-built views memory of data sitting on nz tables. thoughts appreciated.
what have found? _v_sys_object_dslice_info have object memory doesnt have details memory of each individual record.
first create temp table based on 1 row of data.
create temp table tmptable select * table limit 1 then check used bytes of temp table. should size per row.
select used_bytes _v_sys_object_storage_size inner join _v_table b on a.tblid = b.objid , b.tablename = 'tmptable'
Comments
Post a Comment