How to set the shards of Elasticsearch 5

how to set the number of shards about elasticsearch 5.4.2.
ie: 100 nodes ,one node have 6 disk to es .how to set the number fo es index shards.
thank.s

You need to set that in an index template - https://www.elastic.co/guide/en/elasticsearch/reference/5.5/indices-templates.html

yes i know how to set the number,
but i don't know the best number of set the shards .

some one can help me.
thanks.

Please read

Specifically the "be patient" part.

Watch this: https://www.elastic.co/fr/elasticon/conf/2016/sf/quantitative-cluster-sizing

i need elasticsearch 5.x cluster sizing not 2.x
thanks.

Did you watch the video?

in my network can't open it.
@dadoonet

That's sad. It contains lot of advices on how to find the right numbers for your use case.
It applies to 5.x and 6.x as well.

1 Like

@dadoonet
can give me a word file or pdf file about the video?
thanks.

Slides https://speakerdeck.com/elastic/quantitative-cluster-sizing

also can't open ,can give me a pdf file to down.
@dadoonet

Where are you based?

Discuss the Elastic Stack:
can give me a pdf file to down. not the video.
thanks.

Where are you based?

Sounds like you are in China.

@medcl could you check and help if possible ?

yes.:slightly_frowning_face:
in china.
can you give a video file to down . link mp4.
google can't open
@dadoonet

Hi, @zqc0512
Currently we don't host our video inside China, but regarding your question,
there is a good reading, you may check it out first, it is in Chinese:
https://www.elastic.co/guide/cn/elasticsearch/guide/current/scale.html

2 Likes

i see,but not the best to me .thanks.
can post a video file to down in elastic.co?
@medcl.net @dadoonet
thanks so much

some one can help me.