This would go for HASH join where smaller table (REP) is duplicated on all AMPs based on hashing CUST_KEY.
If it is a frequently used query, then creating hash index on REP table is a good option.
This would enhance the select query performance, but would consume more space and may cause longer DML operations on REP table.
This would go for HASH join where smaller table (REP) is duplicated on all AMPs based on hashing CUST_KEY.
If it is a frequently used query, then creating hash index on REP table is a good option.
This would enhance the select query performance, but would consume more space and may cause longer DML operations on REP table.