Type to search.

High replica count on warm nodes

ECH

Elastic Cloud Hosted lets you manage and configure one or more deployments of the versioned Elastic Stack, hosted on Elastic Cloud.

Availability

  • Generally available

    This functionality is generally available and ready for production usage.

ECK

Elastic Cloud on Kubernetes extends Kubernetes orchestration capabilities to allow you to deploy and manage components of the Elastic Stack.

Availability

  • Generally available

    This functionality is generally available and ready for production usage.

This documentation corresponds to the latest patch available for each minor version. If you're not using the latest patch, check the release notes for changes.

ECE

Elastic Cloud Enterprise is a self-managed orchestration platform for deploying and managing the Elastic Stack at scale.

Availability

  • Generally available

    This functionality is generally available and ready for production usage.

This documentation corresponds to the latest patch available for each minor version. If you're not using the latest patch, check the release notes for changes.

Self-managed

Self-managed deployments are Elastic Stack deployments managed without the assistance of an orchestrator.

Availability

  • Generally available

    This functionality is generally available and ready for production usage.

This documentation corresponds to the latest patch available for each minor version. If you're not using the latest patch, check the release notes for changes.

Some indices on warm nodes have a higher replica count than the configured threshold. Extra replicas duplicate every primary shard and still consume disk and background resources on warm nodes even when traffic is lower than on the hot tier.

Note

For a complete list of insights, refer to AutoOps insights.

Field Value
Component Elasticsearch
Severity Low
Scope Node
Domains replication, resource-utilization

The following is an example of what you might see when this insight is triggered. Real insights use live data and links from your deployment or cluster.

2 replicas on warm nodes for these indices: logs-prod-000045, logs-prod-000046.

Note

AutoOps shows different recommendations depending on how their conditions match your deployment or cluster.

Reduce replicas to one

Condition: Shown when replication factor exceeds warm tier threshold.

Set number_of_replicas to 1 for logs-prod-000045 (currently 2 replicas) on the warm tier with the action below. Fewer replicas can increase search latency because fewer nodes serve reads.

JSON
PUT logs-prod-000045/_settings
{
  "index": {
    "number_of_replicas": 1
  }
}
Note

Requires the manage index privilege. Requires Elasticsearch 8.0.0 or later. This action changes cluster or index configuration.

Each replica is a full copy of a primary shard. Higher replica counts improve availability and search capacity, but they also multiply disk use and write amplification: every index, update, and recovery must reach every replica.

On the warm tier, which usually holds older or less active data, more replicas than you need for fault tolerance still occupy storage and background capacity. If the replica count stays high without a matching availability requirement, warm-tier cost and node pressure tend to rise without improving hot-tier performance.

Warning: Not enough nodes to allocate all shard replicas