How to Choose Primary Index(PI) in
Teradata?
Choosing a Primary Index is based on Data
Distribution and Join frequency of the Column. If a Column is used for joining
most of the tables then it is wise to choose the column as PI candidate.
For example, We have an Employee table with EMPID
and DEPTID and this table needs to be joined to the Department Table based on
DEPTID.
No comments:
Post a Comment