# Performance degrade after using Elastic 8

**URL:** https://discuss.elastic.co/t/performance-degrade-after-using-elastic-8/345703
**Category:** Elasticsearch
**Created:** [October 25, 2023, 7:36am UTC](https://discuss.elastic.co/t/performance-degrade-after-using-elastic-8/345703 "2023-10-25T07:36:09Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![smiley\_tamy](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/smiley_tamy/32/113375_2.png) [@smiley\_tamy](https://discuss.elastic.co/u/smiley_tamy)
#### Post date: [October 25, 2023, 7:36am UTC](https://discuss.elastic.co/t/performance-degrade-after-using-elastic-8/345703/1 "2023-10-25T07:36:09Z")

</div>

We have been using elastic 7.17  
Our application has load tests and we generally measure the performance

After upgrading to elastic 8, we see lot of difference in the results we had when compared to elastic 7

We also noticed that if Elasticsearch is restarted, then the results are matching to the previous results of elastic 8  
It is also noticed that it uses more heap memory compared to before version  
Could you please provide us some insights why it is so

---

<div class="post-metadata">

### Author: ![carly.richmond](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/carly.richmond/32/104935_2.png) [@carly.richmond](https://discuss.elastic.co/u/carly.richmond)
#### Post date: [October 26, 2023, 2:57pm UTC](https://discuss.elastic.co/t/performance-degrade-after-using-elastic-8/345703/2 "2023-10-26T14:57:10Z")

</div>

Hi @smiley_tamy,

Welcome back! Can you share a bit more detail on any particular query that is giving you different results and what the differences are?

Can you also share a bit more detail on your setup and the heap stats that you are pulling?

---

<div class="post-metadata">

### Author: ![linkerc](https://avatars.discourse-cdn.com/v4/letter/l/13edae/32.png) [@linkerc](https://discuss.elastic.co/u/linkerc)
#### Post date: [October 26, 2023, 9:02pm UTC](https://discuss.elastic.co/t/performance-degrade-after-using-elastic-8/345703/3 "2023-10-26T21:02:45Z")

</div>

My experience from the past few years moving from ES5 -\> 6 -\> 7 and about to go to 8.  
The performance has diminishes on each upgrade. The performance degradation is not huge. Something like 5 - 10%. We eventually get used to the new norm and scale accordingly.  
I think it's the trade off between more feature vs efficiency.

---

<div class="post-metadata">

### Author: ![smiley\_tamy](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/smiley_tamy/32/113375_2.png) [@smiley\_tamy](https://discuss.elastic.co/u/smiley_tamy)
#### Post date: [November 1, 2023, 8:00am UTC](https://discuss.elastic.co/t/performance-degrade-after-using-elastic-8/345703/5 "2023-11-01T08:00:08Z")

</div>

It is observed to have a user error while setting up the data  
Now we donot face such issue

---

<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 29, 2023, 8:00am UTC](https://discuss.elastic.co/t/performance-degrade-after-using-elastic-8/345703/6 "2023-11-29T08:00:18Z")

</div>

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