The analysis of table sizes and disk utilization per AMP in Teradata is based on table dbc.tablesize.
Two typical queries are:
select
vproc,
databasename,
sum(currentperm) / 2**30 as cp,
sum( peakperm ) / 2**30 pp
from dbc.tablesize
group by 1,2;
to find space utilization by AMP and
select
tablename,
databasename,
sum(currentperm) / 2**30 as cp,
sum( peakperm ) / 2**30 pp
from dbc.tablesize
group by 1,2;
to find out the sizes of tables.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment