terminalclick
Programmer
Hi,
I think I'm correct in saying that the Primary Index is set against a table to effect data distribution across AMPs. So, in effect, a good primary index is a column containing unique data.
Am I therefore correct in thinking that if a 'serial' column is added to a table to just count from 1 upwards for each row, this would be ideal for a primary index? (i.e. it will mean the rows are evenly distributed across AMPs even though the column isn't used for actual joining)
(Please correct me if I misunderstand).
Thanks in advance, Rich.
I think I'm correct in saying that the Primary Index is set against a table to effect data distribution across AMPs. So, in effect, a good primary index is a column containing unique data.
Am I therefore correct in thinking that if a 'serial' column is added to a table to just count from 1 upwards for each row, this would be ideal for a primary index? (i.e. it will mean the rows are evenly distributed across AMPs even though the column isn't used for actual joining)
(Please correct me if I misunderstand).
Thanks in advance, Rich.