Finding Skewed Tables in DBC.TableSizeV - Teradata Database - Teradata Vantage NewSQL Engine

Teradata Vantage™ - Database Administration

Product
Teradata Database
Teradata Vantage NewSQL Engine
Release Number
16.20
Published
March 2019
Language
English (United States)
Last Update
2019-05-03
dita:mapPath
tgx1512080410608.ditamap
dita:ditavalPath
TD_DBS_16_20_Update1.ditaval
dita:id
ujp1472240543947
Product Category
Software
Teradata Vantage

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.