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

2

8

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

Pennsylvania answered 5/11, 2014 at 21:4 Comment(0)
L
17

Try this query.

select used_bytes/pow(1024,3) as used_gb, *
from _v_table_storage_stat
where tablename = 'my_table_name'
Lombroso answered 6/11, 2014 at 15:6 Comment(0)
W
3

In Aginity (v2.1.181.6948), right click on your database. Select 'Show Tables Size'. The new window that appears will have table names, owner, created, bytes allocated, bytes used, etc.

Wendalyn answered 3/11, 2015 at 16:33 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.