ALTER INDEX

Warning:
CockroachDB v2.0 is no longer supported as of October 4, 2019. For more details, refer to the Release Support Policy.

The ALTER INDEX statement applies a schema change to an index.

Note:
To understand how CockroachDB changes schema elements without requiring table locking or other user-visible downtime, see Online Schema Changes in CockroachDB.

For information on using ALTER INDEX, see the documents for its relevant subcommands.

Subcommand Description
RENAME Change the name of an index.
SPLIT AT Force a key-value layer range split at the specified row in the index.

Yes No