On this page
Warning:
Cockroach Labs will stop providing Assistance Support for v22.1 on November 24, 2023. Prior to that date, upgrade to a more recent version to continue receiving support. For more details, see 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. |