Finding Skewed Tables in DBC.TableSizeV - Teradata Database

Teradata Database Administration

Product
Teradata Database
Release Number
15.10
Language
English (United States)
Last Update
2018-10-06
Product Category
Software

Finding Skewed Tables in DBC.TableSizeV

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 “Finding Skewed Tables by Querying the TableSizeV View” on page 179.