# Force merge reduced performance

**URL:** <https://discuss.elastic.co/t/force-merge-reduced-performance/163838>\
**Category:** Elasticsearch\
**Created:** [January 11, 2019, 5:10am UTC](https://discuss.elastic.co/t/force-merge-reduced-performance/163838 "2019-01-11T05:10:10Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![nuwancs](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nuwancs/32/46419_2.png) [@nuwancs](https://discuss.elastic.co/u/nuwancs)\
**Post date:** [January 11, 2019, 5:10am UTC](https://discuss.elastic.co/t/force-merge-reduced-performance/163838/1 "2019-01-11T05:10:11Z")

</div>

Hi Team,  
I forced merged my index to reduce segment size from 82 to 5, with the hope of increasing the search performance.  
Dashboard load time for the same index was as follows,  
82 segments - 10 seconds  
5 segments - 250 seconds

As per the documents referred performance should be increased, any idea for this behavior?

My Data information  
1 index only  
5 shards  
50 million docs  
Index size (primary)

- 2 GB - after force merge
- 3.5GB - before force merge  
Replicas - 1

My cluster information,  
Es, kibana - 6.3.0 version  
3 node cluster  
15gb 4 core  
7gb heap  
400Gb disk per node

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [January 11, 2019, 7:16am UTC](https://discuss.elastic.co/t/force-merge-reduced-performance/163838/2 "2019-01-11T07:16:24Z")

</div>

You should test your queries in the dev console and just look at the `took` field.  
Here you also have some browser rendering...

Some comments:

- one shard is probably enough for your dataset
- test the search request multiple times as the OS cache is not used the very first time

---

<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:** [February 8, 2019, 7:16am UTC](https://discuss.elastic.co/t/force-merge-reduced-performance/163838/3 "2019-02-08T07:16:25Z")

</div>

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