# Elastisearch query performance improvement

**URL:** <https://discuss.elastic.co/t/elastisearch-query-performance-improvement/19856>\
**Category:** Elasticsearch\
**Created:** [September 18, 2014, 7:59am UTC](https://discuss.elastic.co/t/elastisearch-query-performance-improvement/19856 "2014-09-18T07:59:58Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Hsu\_Orozco](https://avatars.discourse-cdn.com/v4/letter/h/e495f1/32.png) [@Hsu\_Orozco](https://discuss.elastic.co/u/Hsu_Orozco)\
**Post date:** [September 18, 2014, 7:59am UTC](https://discuss.elastic.co/t/elastisearch-query-performance-improvement/19856/1 "2014-09-18T07:59:58Z")

</div>

Hi all,

I have 4 nodes, memory size respectively has 64GB, 64GB, 64GB and 128 GB  
for handing a huge data (8,577,271,728 documents) with 68 TB

I release ES API for kibana and a webUI query, but some issues happen to  
slow-query or out of memory.

Here is my briefly configuration:

shards = 176  
replica = 0  
indices = 43

my question:

1. Should I set replica from 0 to 1 ?? As I know, replica means data  
distributing to different nodes, and that will help data recovery.  
But does it helps to increase data searching performance while ES is doing  
the query??

2. Adding more machines is the best-practice and also the one of solution,  
however is any other approaches that I can try to make a better ES  
configuration?

Thank

Best, Orozco

--  
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/d4f8ad21-3178-44df-b587-648919449357%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/d4f8ad21-3178-44df-b587-648919449357%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:01am UTC](https://discuss.elastic.co/t/elastisearch-query-performance-improvement/19856/2 "2017-07-06T01:01:25Z")

</div>


