Netezza Commands
Table Size select tablename, used_bytes/pow(1024,4) as used_TB from _v_table_storage_stat where tablename in ( select tablename from _v_table where tablename not like '_VT_%' and tablename not like '_T_%'); Objects owned by a user: select o.objname, d.database, oc.classname, u.usename from _t_object o, _t_user u, _t_object_classes oc, _v_database d where u.usename='username' and u.usesysid=o.objowner and o.objclass=oc.objclass and o.objdb=d.objid; Tip: Use NZ_HELP to get syntax of all commands Like - nz_help | grep grant [nz@dfw86inzb-04 ~]$ nz_help | grep grant nz_db_group_access_listing To show what groups have been granted access to what databases. nz_db_user_access_listing To show what users have been granted access to what databases. nz_ddl_grant_group ...