Skip to content

Latest commit

 

History

History
33 lines (23 loc) · 1.65 KB

when-to-use-zone-vs-region-survival-goals.md

File metadata and controls

33 lines (23 loc) · 1.65 KB
title summary toc
When to use ZONE vs. REGION survival goals
Learn how to use CockroachDB's improved multi-region user experience.
true

New in v21.1: Survival Goals dictate how many simultaneous failure(s) a multi-region database can survive. All tables within the same database operate with the same survival goal. Each database is allowed to have its own survival goal setting.

Allowed survival goals include:

  • ZONE (default)
  • REGION

Set a ZONE survival goal if:

  • You can accept a single node failure up to an entire zone failure. If multiple zones fail in the same region, the database may become unavailable.

Set a REGION survival goal if:

  • The database must remain available, even if a region goes down.
  • You can accept the performance cost: write latency will be increased by at least as much as the round-trip time to the nearest region. Read performance will be unaffected.

{{site.data.alerts.callout_success}} For more information about how to choose a multi-region configuration, see Choosing a multi-region configuration. {{site.data.alerts.end}}

See also