16.10 - Finding Skewed Tables in DBC.TableSizeV - Teradata Database

Teradata Database Administration

Product
Teradata Database
Release Number
16.10
Published
April 2018
Language
English (United States)
Last Update
2018-04-26
dita:mapPath
qjg1509413559832.ditamap
dita:ditavalPath
changebar_rev_16_10_exclude_audience_ie.ditaval
dita:id
ujp1472240543947

You can query the DBC.TableSizeV view to determine if data for a given table is evenly distributed across all AMP vprocs.

SELECT vproc,CurrentPerm
FROM DBC.TableSizeV
WHERE Databasename = 'RST'
AND Tablename = 'Message'
ORDER BY 2 desc;

The output lists the AMPs in order of the space they use for the Message table, from the most to least space used. See Example of Finding Skewed Tables by Querying the TableSizeV View.