I'm very interested in understanding how shards are managed in elasticsearch. I mean I want to understand from basics to everything that we should know for designing and maintaining a elasctisearch cluster in production.
As of now, I've a baisc knowledge but I want to understand more like how many shards are created for every index, how much max data each shard can allocate , how to design to improve the performance like these I have many questions?
Can you please suggest me the best resources to understand shard and index management in ES.
Also are there any books for the same. would be happy, if avaialable.
By default each index has 5 shards but you can configure that. There are recommendations to how large a shard should be and how many shards per ES node makes sense but it all depends a lot on what your data looks like and your use case.
Sorry @rahulnama, I have not read any books on Elasticsearch so can't help you there. So far I have been ok with the documentation supplied by Elastic.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.