# Search query performance issue when index size is growing

**URL:** <https://discuss.elastic.co/t/search-query-performance-issue-when-index-size-is-growing/19779>\
**Category:** Elasticsearch\
**Created:** [September 15, 2014, 5:51am UTC](https://discuss.elastic.co/t/search-query-performance-issue-when-index-size-is-growing/19779 "2014-09-15T05:51:53Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![gopi\_k](https://avatars.discourse-cdn.com/v4/letter/g/9d8465/32.png) [@gopi\_k](https://discuss.elastic.co/u/gopi_k)\
**Post date:** [September 15, 2014, 5:51am UTC](https://discuss.elastic.co/t/search-query-performance-issue-when-index-size-is-growing/19779/1 "2014-09-15T05:51:53Z")

</div>

Hi All,

I'm experiencing search performance degradation when index size is growing.  
Eg: For a given query, i'm getting _3500_ RPS (Request per second) with _1M_  
documents on index, whereas with _6M_ documents on index is giving me _1200_  
RPS. Each document size on index is average of 500 bytes. Tried with  
following different cluster configs, and the behavior is same in both  
cases.

Elastic Search version:\* 1.2.1\*

_Cluster 1 configuration: 4 node cluster_  
2 Routers Nodes: VMs with 4 Core CPU, 4 GB Ram, 20GB disk  
2 Data Nodes: Physicals with 32 Core CPU, 198GB Ram (24G allocated to ES  
process), 250 GB disk

_Cluster 2 configuration: 7 node cluster_  
2 Routers Nodes: VMs with 4 Core CPU, 4 GB Ram, 20GB disk  
2 Data Nodes: VMs with 8 Core CPU, 48GB Ram (24G allocated to ES  
process), 250 GB local storage

In addition to search query performance issue, i observed that the Data  
nodes CPU is always spiking to 100% on all core.

Any inputs would be greatly appreciated.

Thanks  
Gopi

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/4afce9b6-8076-492a-b79c-97ab793eb2f9%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/4afce9b6-8076-492a-b79c-97ab793eb2f9%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<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, 1:02am UTC](https://discuss.elastic.co/t/search-query-performance-issue-when-index-size-is-growing/19779/2 "2017-07-06T01:02:25Z")

</div>

Closed on July 6, 2017, 1:02am UTC


