When can RANDOM distribution be used?
-
Large tables
-
Small tables
-
Any size tables
-
None
B
Correct answer
Explanation
RANDOM distribution spreads data evenly but without logic, causing matching rows to be scattered across SPUs. This forces massive data movement during joins because related data isn't collocated. It's only acceptable for small tables (like dimension tables) where redistribution cost is minimal. Large tables should use hash or key distribution on join columns.