On this page
Warning:
CockroachDB v22.1 is no longer supported as of November 24, 2023. For more details, refer to the Release Support Policy.
The ALTER RANGE
statement applies a schema change to a range. For information on using ALTER RANGE
, see the pages for its subcommands.
Note:
The ALTER RANGE
statement performs a schema change. For more information about how online schema changes work in CockroachDB, see Online Schema Changes.
Subcommands
Subcommand | Description |
---|---|
CONFIGURE ZONE |
Configure replication zones for a database. |
New in v22.1: RELOCATE |
Move a lease or replica between stores in an emergency situation. |