Skip to content

Commit

Permalink
(Doc+) "min_primary_shard_size" for 10-50GB shards (elastic#111574)
Browse files Browse the repository at this point in the history
πŸ‘‹πŸ½ howdy, team! 

Expands [10-50GB sharding recommendation](https://www.elastic.co/guide/en/elasticsearch/reference/master/size-your-shards.html#shard-size-recommendation) to include ILM's more recent [`min_primary_shard_size`](https://www.elastic.co/guide/en/elasticsearch/reference/master/ilm-rollover.html) option to avoid small shards.
  • Loading branch information
stefnestor authored Aug 21, 2024
1 parent 5d5d2e8 commit f5de9c0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/reference/how-to/size-your-shards.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,8 @@ and smaller shards may be appropriate for
{enterprise-search-ref}/index.html[Enterprise Search] and similar use cases.

If you use {ilm-init}, set the <<ilm-rollover,rollover action>>'s
`max_primary_shard_size` threshold to `50gb` to avoid shards larger than 50GB.
`max_primary_shard_size` threshold to `50gb` to avoid shards larger than 50GB
and `min_primary_shard_size` threshold to `10gb` to avoid shards smaller than 10GB.

To see the current size of your shards, use the <<cat-shards,cat shards API>>.

Expand Down

0 comments on commit f5de9c0

Please sign in to comment.