Hi Raja,
You can certainly use the HASH BY COLUMN or HASH BY RANDOM options, if you are on 14.0. They work on any NOPI table (column-partitioned or not), but not on tables that have a primary index. You cannot use the HASH BY clause on an INSERT into a table with a primary index or primary AMP index since that would conflict with the distribution required by the index.
I can't tell you which will perform better, fastload or insert/select, you would need to test that out with your data. If the table being loaded is a column-partitioned table, you cannot use fastload against it, only insert/select.
Thanks, -Carrie
Hi Raja,
You can certainly use the HASH BY COLUMN or HASH BY RANDOM options, if you are on 14.0. They work on any NOPI table (column-partitioned or not), but not on tables that have a primary index. You cannot use the HASH BY clause on an INSERT into a table with a primary index or primary AMP index since that would conflict with the distribution required by the index.
I can't tell you which will perform better, fastload or insert/select, you would need to test that out with your data. If the table being loaded is a column-partitioned table, you cannot use fastload against it, only insert/select.
Thanks, -Carrie