# Elastic Search performance degraded after veriosn update from ES 1.4.2 to ES 7.9

**URL:** https://discuss.elastic.co/t/elastic-search-performance-degraded-after-veriosn-update-from-es-1-4-2-to-es-7-9/251367
**Category:** Elasticsearch
**Created:** [October 8, 2020, 4:23am UTC](https://discuss.elastic.co/t/elastic-search-performance-degraded-after-veriosn-update-from-es-1-4-2-to-es-7-9/251367 "2020-10-08T04:23:20Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![GauriA](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/gauria/32/76841_2.png) [@GauriA](https://discuss.elastic.co/u/GauriA)
#### Post date: [October 8, 2020, 4:23am UTC](https://discuss.elastic.co/t/elastic-search-performance-degraded-after-veriosn-update-from-es-1-4-2-to-es-7-9/251367/1 "2020-10-08T04:23:20Z")

</div>

We want to upgrade the OLD ES 1.4.2 setup to new ES 7.9. For that we are testing the search performance. I am testing the search performance by querying the search queries returning different no. of documents simultaneously by 5 different clients(REST API).I am using scroll API to get the results by calling it one after other to get all the matching results. I am just iterating through the results before making next scroll request. Some queries returning very large data, some returns medium data. There is a query which returns 90% of documents of the index. This scroll API query takes 2 hrs to complete in ES 1.4.2 and same query takes about 11 hrs to complete in ES 7.9. I was expecting performance increase after upgrading to ES 7.9 but found huge performance degradation. Anyone knows the reason behind this?. All the default settings I m using for both the ES versions. Please provide help here. Thanks

Sample Query : #Query 1 : [http://localhost:9200/cgh\_hs\_hg19\_20170821/\_search?scroll=1m](http://localhost:9200/cgh_hs_hg19_20170821/_search?scroll=1m)

```auto
{
    "size": 1000,
   
     
    "query" : {
      "match_phrase" : {
         "num_hits" : "1"
      }
   }
}

```

---

<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: [November 5, 2020, 4:23am UTC](https://discuss.elastic.co/t/elastic-search-performance-degraded-after-veriosn-update-from-es-1-4-2-to-es-7-9/251367/2 "2020-11-05T04:23:29Z")

</div>

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