I typically suggest to start with the default of 5 shards. A single shard can 
hold several tens of gigabytes. Certainly in your case it seems like 20 shards 
is overkill for a 4 node cluster. 


> On Mar 17, 2015, at 11:00 AM, John S <[email protected]> wrote:
> 
> Hi All,
> 
> Is there any best practices of having on the number of shards for a cluster? 
> I have a 4 node cluster and used shards of 20.
> 
> During any node failure or other events i doubts since the shards number is 
> high, replication to new node is taking more time...
> 
> Is there any metrics or formula to be done for number or shards?
> 
> Regards
> John
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "elasticsearch" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected] 
> <mailto:[email protected]>.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/elasticsearch/6e51f1e4-8938-4196-84a9-007705869b6a%40googlegroups.com
>  
> <https://groups.google.com/d/msgid/elasticsearch/6e51f1e4-8938-4196-84a9-007705869b6a%40googlegroups.com?utm_medium=email&utm_source=footer>.
> For more options, visit https://groups.google.com/d/optout 
> <https://groups.google.com/d/optout>.

-- 
You received this message because you are subscribed to the Google Groups 
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/DD2AA858-ABD4-49F5-9F9C-D73C01F615CE%40elastic.co.
For more options, visit https://groups.google.com/d/optout.

Reply via email to