# ElasticSearch Insert Document getting slower

**URL:** <https://discuss.elastic.co/t/elasticsearch-insert-document-getting-slower/76452>\
**Category:** Elasticsearch\
**Created:** [February 24, 2017, 9:58pm UTC](https://discuss.elastic.co/t/elasticsearch-insert-document-getting-slower/76452 "2017-02-24T21:58:50Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![dausdashsan](https://avatars.discourse-cdn.com/v4/letter/d/13edae/32.png) [@dausdashsan](https://discuss.elastic.co/u/dausdashsan)\
**Post date:** [February 24, 2017, 9:58pm UTC](https://discuss.elastic.co/t/elasticsearch-insert-document-getting-slower/76452/1 "2017-02-24T21:58:50Z")

</div>

Hi,

I recently just deployed ElasticSearch 5 on production (4 months ago). Our average document per day is around 5M. I index my document per day based on some datetime format. Initially it went just fine. But lately I noticed the Insert threshold getting slower. Please help, I'm already out of ideas. Below are some info related to my environment.

OS - Windows  
Current Storage Used - 300GB per node

**\_cluster/health**  
"cluster\_name" : "sds-escluster",  
"status" : "green",  
"timed\_out" : false,  
"number\_of\_nodes" : 2,  
"number\_of\_data\_nodes" : 2,  
"active\_primary\_shards" : 750,  
"active\_shards" : 1500,  
"relocating\_shards" : 0,  
"initializing\_shards" : 0,  
"unassigned\_shards" : 0,  
"delayed\_unassigned\_shards" : 0,  
"number\_of\_pending\_tasks" : 0,  
"number\_of\_in\_flight\_fetch" : 0,  
"task\_max\_waiting\_in\_queue\_millis" : 0,  
"active\_shards\_percent\_as\_number" : 100.0

**\_nodes/stats**  
[http://pastebin.com/M7fCwFrr](http://pastebin.com/M7fCwFrr)

---

<div class="post-metadata">

**Author:** ![jkuang](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jkuang/32/72637_2.png) [@jkuang](https://discuss.elastic.co/u/jkuang)\
**Post date:** [February 24, 2017, 10:41pm UTC](https://discuss.elastic.co/t/elasticsearch-insert-document-getting-slower/76452/2 "2017-02-24T22:41:21Z")

</div>

Please provide the diagnostic files by running the .bat below. It will gather your ES cluster info.

> **[elastic/elasticsearch-support-diagnostics](https://github.com/elastic/elasticsearch-support-diagnostics/releases/tag/5.5)**
>
> elasticsearch-support-diagnostics - Support diagnostics utility for elasticsearch and logstash

---

<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:** [March 24, 2017, 10:41pm UTC](https://discuss.elastic.co/t/elasticsearch-insert-document-getting-slower/76452/3 "2017-03-24T22:41:25Z")

</div>

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