Search code examples
sqldatabasewindows-7netezza

find the table size on IBM netezza sql database from Aginity workbench on win 7


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


Solution

  • Try this query.

    select used_bytes/pow(1024,3) as used_gb, *
    from _v_table_storage_stat
    where tablename = 'my_table_name'