Altering data partitions

You can use the alter table command to:

See the Reference Manual: Commands.

StepsRepartitioning a table

The general procedure for repartitioning a table is:

  1. If the partition key or type is to change during the repartition process, drop all indexes on the table.

  2. Use alter table to repartition the table.

  3. If the partition key or type changed during the repartition process, re-create the indexes on the table.