I need to find a table size on IBM netezza sql database from Aginity workbench on win 7.
I used this
SELECT * FROM _V_TABLE
where tablename = 'my_table_name'
But, no information about table size.
I right-clicked the table name in Aginity, but, nothing came out.
Any help would be appreciated.
thanks
Try this query.
select used_bytes/pow(1024,3) as used_gb, *
from _v_table_storage_stat
where tablename = 'my_table_name'