# Indexation issue

**URL:** <https://discuss.elastic.co/t/indexation-issue/172327>\
**Category:** Elasticsearch\
**Created:** [March 14, 2019, 11:37am UTC](https://discuss.elastic.co/t/indexation-issue/172327 "2019-03-14T11:37:12Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![pme](https://avatars.discourse-cdn.com/v4/letter/p/67e7ee/32.png) [@pme](https://discuss.elastic.co/u/pme)\
**Post date:** [March 14, 2019, 11:37am UTC](https://discuss.elastic.co/t/indexation-issue/172327/1 "2019-03-14T11:37:12Z")

</div>

Hello,

We have a performance issue on our cluster elastic that doesn't succeed ingesting in real time our 3000eps.

The size of our indexes is around 200GB.  
We have 8 nodes, and each of our index have 4 shards and 1 replica.  
Our heap size on each of our data nodes is 16GB.  
We have 32 GB available but reading elastic docs we have seen that lucenes processes need 50% of the RAM.

Does the number of shards impact the indexation process ?  
We know that more shards you have more the research process is fast but what about the indexation ?  
If we add shards, does the indexation will be faster ?

Thank you for your response  
Pierre

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [March 14, 2019, 11:56am UTC](https://discuss.elastic.co/t/indexation-issue/172327/2 "2019-03-14T11:56:20Z")

</div>

Yes. The more primaries you have, the more parallel indexing the cluster can support.  
But are you sure that the contention comes from elasticsearch?

How do you index your data?

May I suggest you look at the following resources about sizing:

[https://www.elastic.co/elasticon/conf/2016/sf/quantitative-cluster-sizing](https://www.elastic.co/elasticon/conf/2016/sf/quantitative-cluster-sizing)

> **[How many shards should I have in my Elasticsearch cluster?
	  	 | Elastic](https://www.elastic.co/blog/how-many-shards-should-i-have-in-my-elasticsearch-cluster)**
>
> Elasticsearch is a very versatile platform, that supports a variety of use cases, and provides great flexibility around data organisation and replication strategies. This flexibility can however somet...

https://www.slideshare.net/slideshow/embed_code/key/vR0XKDq4TGa77z

And [https://www.elastic.co/webinars/using-rally-to-get-your-elasticsearch-cluster-size-right](https://www.elastic.co/webinars/using-rally-to-get-your-elasticsearch-cluster-size-right)

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [April 11, 2019, 11:56am UTC](https://discuss.elastic.co/t/indexation-issue/172327/3 "2019-04-11T11:56:24Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
