Skip to content

Commit 625e6b3

Browse files
committed
rewording and clarifying section
1 parent b76070d commit 625e6b3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

troubleshoot/elasticsearch/high-cpu-usage.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -103,16 +103,16 @@ For details on diagnosing and resolving these issues, refer to [](hotspotting.md
103103

104104
### Oversharding [high-cpu-usage-oversharding]
105105

106-
If your Elasticsearch cluster contains a large number of shards, you might be facing an oversharding issue.
107-
108-
Oversharding occurs when there are too many shards, causing each shard to be smaller than optimal. While Elasticsearch doesn’t have a strict minimum shard size, an excessive number of small shards can negatively impact performance. Each shard consumes cluster resources since Elasticsearch must maintain metadata and manage shard states across all nodes.
106+
Oversharding occurs when a cluster has too many shards, often times caused by shards being smaller than optimal. While Elasticsearch doesn’t have a strict minimum shard size, an excessive number of small shards can negatively impact performance. Each shard consumes cluster resources since Elasticsearch must maintain metadata and manage shard states across all nodes.
109107

110108
If you have too many small shards, you can address this by doing the following:
111109

112110
* Removing empty or unused indices.
113111
* Deleting or closing indices containing outdated or unnecessary data.
114112
* Reindexing smaller shards into fewer, larger shards to optimize cluster performance.
115113

114+
If your shards are sized correctly but you are still experiencing oversharding, creating a more aggressive [index lifecycle management strategy](/manage-data/lifecycle/index-lifecycle-management.md) or deleting old indices can help reduce the number of shards.
115+
116116
For more information, refer to [](/deploy-manage/production-guidance/optimize-performance/size-shards.md).
117117

118118
### Additional recommendations

0 commit comments

Comments
 (0)