style | use case |
---|---|
key | same value same slice, for joins |
all | dimension small table for frequent joins, data is copied to all nodes first slice |
even | unknown cases |
- Set DISTKEY to the column most used in a JOIN
- Set SORTKEY to the column(s) most used in a WHERE