Find Skewed Tables in DBC.TableSizeV | Teradata Vantage - Finding Skewed Tables in DBC.TableSizeV - Analytics Database - Teradata Vantage

Database Administration

Deployment
VantageCloud
VantageCore
Edition
Enterprise
IntelliFlex
VMware
Product
Analytics Database
Teradata Vantage
Release Number
17.20
Published
June 2022
ft:locale
en-US
ft:lastEdition
2024-10-04
dita:mapPath
pgf1628096104492.ditamap
dita:ditavalPath
qkf1628213546010.ditaval
dita:id
ujp1472240543947
lifecycle
latest
Product Category
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.