# ES 7.4 Search performance is much slow than ES 5.5

**URL:** https://discuss.elastic.co/t/es-7-4-search-performance-is-much-slow-than-es-5-5/217425
**Category:** Elasticsearch
**Created:** [January 31, 2020, 4:20pm UTC](https://discuss.elastic.co/t/es-7-4-search-performance-is-much-slow-than-es-5-5/217425 "2020-01-31T16:20:26Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![taoyantu](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/taoyantu/32/124169_2.png) [@taoyantu](https://discuss.elastic.co/u/taoyantu)
#### Post date: [January 31, 2020, 4:20pm UTC](https://discuss.elastic.co/t/es-7-4-search-performance-is-much-slow-than-es-5-5/217425/1 "2020-01-31T16:20:26Z")

</div>

We currently use the ES 5.5 version and plan to upgrade to the ES 7.4 version.

I deployed two environments,use the same server , 88 core cpu , 256G memory , the cluster have 3 servers, each server starts 3 nodes, the cluster has a total of 9 nodes.

jvm is configured to 30G, others use the default configuration

I used jmeter to write the same data to the cluster,index with 9 shards and 1 replcate. The amount of data is 300G.

When executing the query, the ES 7.4 result took a lot larger than the ES 5.5 , and the ES 7.4 server's io is also very large, there are a lot of disk read conditions.

Query like:  
{  
"size": 0,  
"query": {  
"bool": {  
"filter": [{  
"term": {  
"aaa": "bbb"  
}  
}, {  
"range": {  
"@timestamp": {  
"gte": "1576117714282",  
"lte": "1576118614282"  
}  
}  
}  
], "Must\_not": [{  
"terms": {  
"bizcode": ["00000000"]  
}  
}  
]  
}  
},  
"aggs": {  
"distribution": {  
"terms": {  
"field": "payer",  
"size": 10,  
"order": {  
"\_count": "desc"  
}  
}  
},  
"aggs": {  
"distribution2": {  
"terms": {  
"field": "from",  
"size": 10,  
"order": {  
"\_count": "desc"  
}  
}  
}  
}  
}  
}

What is the cause of this problem? Are there any changes to the query in ES 7.4?

---

<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 28, 2020, 4:20pm UTC](https://discuss.elastic.co/t/es-7-4-search-performance-is-much-slow-than-es-5-5/217425/2 "2020-02-28T16:20:31Z")

</div>

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