Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@

### Shard distribution guidelines

To ensure that each node is working optimally, distribute shards evenly across nodes. Uneven distribution can cause some nodes to work harder than others, leading to performance degradation and instability.
{{es}} uses its [desired balance allocator](elasticsearch://reference/elasticsearch/configuration-reference/cluster-level-shard-allocation-routing-settings.md#shards-rebalancing-heuristics) to distribute shards across nodes based off heuristics for data stream writes, shard counts, and disk usage. Shard counts may end up unevenly distributed in order to evenly spread the node work. An [unbalanced cluster](/troubleshoot/elasticsearch/troubleshooting-unbalanced-cluster.md) may lead to performance degradation and instability, such as [watermark errors](/troubleshoot/elasticsearch/fix-watermark-errors.md). Poorly specified [sharding strategies](#create-a-sharding-strategy) may cause [hot spotting](/troubleshoot/elasticsearch/hotspotting.md).

Check notice on line 34 in deploy-manage/production-guidance/optimize-performance/size-shards.md

View workflow job for this annotation

GitHub Actions / preview / vale

Elastic.WordChoice: Consider using 'can, might' instead of 'may', unless the term is in the UI.

Check notice on line 34 in deploy-manage/production-guidance/optimize-performance/size-shards.md

View workflow job for this annotation

GitHub Actions / preview / vale

Elastic.WordChoice: Consider using 'can, might' instead of 'may', unless the term is in the UI.

Check notice on line 34 in deploy-manage/production-guidance/optimize-performance/size-shards.md

View workflow job for this annotation

GitHub Actions / preview / vale

Elastic.Wordiness: Consider using 'to' instead of 'in order to'.

Check notice on line 34 in deploy-manage/production-guidance/optimize-performance/size-shards.md

View workflow job for this annotation

GitHub Actions / preview / vale

Elastic.WordChoice: Consider using 'can, might' instead of 'may', unless the term is in the UI.

While {{es}} automatically balances shards, you need to configure indices with an appropriate number of shards and replicas to allow for even distribution across nodes.

Expand Down
Loading