DBAtlas · Database operations atlas

Change the replica count

ElasticsearchIndex Lifecycle

Command

PUT /customer/_settings
{
  "index": { "number_of_replicas": 2 }
}

What it does

Dynamically changes the number of replica shards for the index.

When to use it

To increase/decrease redundancy or read capacity.

Caution

Adding replicas creates extra disk usage and network traffic (recovery); dropping to 0 removes redundancy.

Open in DBAtlas →

Related