# After 10million docs indexed the insert /search operation become slower and slower

**URL:** <https://discuss.elastic.co/t/after-10million-docs-indexed-the-insert-search-operation-become-slower-and-slower/7903>\
**Category:** Elasticsearch\
**Created:** [May 30, 2012, 5:31am UTC](https://discuss.elastic.co/t/after-10million-docs-indexed-the-insert-search-operation-become-slower-and-slower/7903 "2012-05-30T05:31:27Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![miles](https://avatars.discourse-cdn.com/v4/letter/m/47e85d/32.png) [@miles](https://discuss.elastic.co/u/miles)\
**Post date:** [May 30, 2012, 5:31am UTC](https://discuss.elastic.co/t/after-10million-docs-indexed-the-insert-search-operation-become-slower-and-slower/7903/1 "2012-05-30T05:31:27Z")

</div>

Hello,

After 10million docs indexed the insert /search operation become slower and slower.

We'are using elasticsearch-0.19

elasticsearch setting:3 nodes, 5 shards, 2 replicas  
os:linux,32g ram  
jvm:-Xmx6g -Xms6g

test case: Each document contains 5 fileds (300 byte)  
test setting: 150 threads（One client send indexing request, the other send searching request）

At the beginning, the throughput is high(about 2000-3000/sec),  
but after 10million docs indexed the insert/search operation become slower and slower.  
(index: 60/sec, search:160/sec ).

Why is there such a big contrast?  
Is there any way make the indexing/searching faster?  
or is this expected?

Thanks.

---

<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:** [July 6, 2017, 3:26am UTC](https://discuss.elastic.co/t/after-10million-docs-indexed-the-insert-search-operation-become-slower-and-slower/7903/2 "2017-07-06T03:26:22Z")

</div>


