On this page
Warning:CockroachDB v20.1 is no longer supported. For more details, see the Release Support Policy.
ALTER INDEX statement applies a schema change to an index. For information on using
ALTER INDEX, see the pages for its relevant subcommands.
This statement performs a schema change. For more information about how online schema changes work in CockroachDB, see Online Schema Changes.
||Configure replication zones for an index.|
||Partition, re-partition, or un-partition an index. (Enterprise-only).|
||Change the name of an index.|
||Force a range split at the specified row in the index.|
||Remove a range split enforcement at a specified row in the index.|
Viewing schema changes
This schema change statement is registered as a job. You can view long-running jobs with