Is there a system table or view in Netezza that shows the number of records for each table?
Asked
Active
Viewed 3.5k times
2 Answers
2
How about:
SELECT TABLENAME,
OBJTYPE,
OWNER,
CREATEDATE,
USED_BYTES,
USED_BYTES/1073741824 as USED_GB,
RELTUPLES as "ROWS"
FROM _V_TABLE_ONLY_STORAGE_STAT
WHERE OBJCLASS = 4905 OR OBJCLASS = 4911
ORDER BY TABLENAME;
ypercubeᵀᴹ
- 99,450
- 13
- 217
- 306
Fred Benningshof
- 21
- 3