# Why are queries getting slower and slower

**URL:** <https://discuss.elastic.co/t/why-are-queries-getting-slower-and-slower/155326>\
**Category:** Elasticsearch\
**Created:** [November 5, 2018, 2:48am UTC](https://discuss.elastic.co/t/why-are-queries-getting-slower-and-slower/155326 "2018-11-05T02:48:20Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![dayo](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dayo/32/37280_2.png) [@dayo](https://discuss.elastic.co/u/dayo)\
**Post date:** [November 5, 2018, 2:48am UTC](https://discuss.elastic.co/t/why-are-queries-getting-slower-and-slower/155326/1 "2018-11-05T02:48:21Z")

</div>

Before Oct 18, static 99% less than 439ms, After Oct 18 is 603ms.  
cluster: 5 node mdi, 32core 128G memory(but jvm config is 31g). 1 index 100shards,2b documents with 2T disk used space.

Is it because there's too much documentation?

---

<div class="post-metadata">

**Author:** ![Christian\_Dahlqvist](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/christian_dahlqvist/32/4617_2.png) [@Christian\_Dahlqvist](https://discuss.elastic.co/u/Christian_Dahlqvist)\
**Post date:** [November 5, 2018, 4:01am UTC](https://discuss.elastic.co/t/why-are-queries-getting-slower-and-slower/155326/2 "2018-11-05T04:01:03Z")

</div>

Disk I/O is often a limiting factor in Elasticsearch. What does it look like in your cluster, e.g. using iostat? Has your data set grown or changed?

---

<div class="post-metadata">

**Author:** ![dayo](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dayo/32/37280_2.png) [@dayo](https://discuss.elastic.co/u/dayo)\
**Post date:** [November 13, 2018, 8:55am UTC](https://discuss.elastic.co/t/why-are-queries-getting-slower-and-slower/155326/3 "2018-11-13T08:55:08Z")

</div>

Thanks.  
I find that the I/O usage rate is indeed soaring.  
Could you tell me how to improve this situation?  
Add more nodes?

---

<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:** [December 11, 2018, 8:55am UTC](https://discuss.elastic.co/t/why-are-queries-getting-slower-and-slower/155326/4 "2018-12-11T08:55:20Z")

</div>

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