Creating a partitioned table from an existing table  Changing an unpartitioned table to a partitioned table

Chapter 10: Partitioning Tables and Indexes

Altering data partitions

You can use the alter table command to:

See the Reference Manual for complete syntax and usage information for alter table.

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. Repartition the table using alter table.

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





Copyright © 2005. Sybase Inc. All rights reserved. Changing an unpartitioned table to a partitioned table

View this book as PDF