# Slow Kibana after update 7.4.2 -\> 7.9.2

**URL:** <https://discuss.elastic.co/t/slow-kibana-after-update-7-4-2-7-9-2/250878>\
**Category:** Kibana\
**Created:** [October 3, 2020, 4:48pm UTC](https://discuss.elastic.co/t/slow-kibana-after-update-7-4-2-7-9-2/250878 "2020-10-03T16:48:20Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![ebuildy](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ebuildy/32/6070_2.png) [@ebuildy](https://discuss.elastic.co/u/ebuildy)\
**Post date:** [October 3, 2020, 4:48pm UTC](https://discuss.elastic.co/t/slow-kibana-after-update-7-4-2-7-9-2/250878/1 "2020-10-03T16:48:20Z")

</div>

Loading a dashboard with 5 visualizations takes 4x time with K7.9 than K7.4 (with exactly same indices and resources).

ES cluster has 3 nodes, all queries take no more than 1 seconde, but dashboard is loading on 10 secondes with Kibana 7.9.

By inspecting AJAX queries, I see K7.4 is using "msearch", whereas K7.9 is using async search. And in async search response, I see "took: 15000ms" !!! Thats really too much.

Is it normal ? Can I rollback to "msearch" strategy ?

---

<div class="post-metadata">

**Author:** ![Wolfram\_Haussig](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/wolfram_haussig/32/70528_2.png) [@Wolfram\_Haussig](https://discuss.elastic.co/u/Wolfram_Haussig)\
**Post date:** [October 5, 2020, 5:28am UTC](https://discuss.elastic.co/t/slow-kibana-after-update-7-4-2-7-9-2/250878/2 "2020-10-05T05:28:12Z")

</div>

Hello Thomas,

I think that the async search is not the problem itself: I found [here](https://github.com/elastic/kibana/pull/60706) that the async search is called if the search takes longer than 10 seconds. So, would the call be completed in 1 second the async search would not have been called.

Do you still have the old stack as a backup? Maybe it would help to compare the [Explain plans](https://www.elastic.co/guide/en/elasticsearch/reference/7.9/search-explain.html) of both versions?

Best regards  
Wolfram

---

<div class="post-metadata">

**Author:** ![ebuildy](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ebuildy/32/6070_2.png) [@ebuildy](https://discuss.elastic.co/u/ebuildy)\
**Post date:** [October 5, 2020, 6:59am UTC](https://discuss.elastic.co/t/slow-kibana-after-update-7-4-2-7-9-2/250878/3 "2020-10-05T06:59:09Z")

</div>

Thanks you,

ES query is fine:

- I use exactly same data, same mapping, same CPU/RAM resources between ES7.4 and ES7.9 cluster
- Exactly the same Kibana dashboard / vizu, with same ES queries
- When I run the ES query in dev console, it takes less than 1 secondes

Async search is used all the time, here a screenshot of all AJAX calls by K7.9:

 ![Capture d’écran 2020-10-05 à 08.40.03](https://us1.discourse-cdn.com/elastic/original/3X/0/9/0929708031226964829b16629febcb3f371dbb1e.png)

The last AJAX query gives: `took: 24558` !!! where as the ES query it-self takes less 1 seconde. The query is just a date-histogram with sub terms aggregation, against 10G data.

To compare, here a screenshot of K7.4, same dashboard:

 ![Capture d’écran 2020-10-05 à 08.43.50](https://us1.discourse-cdn.com/elastic/original/3X/a/1/a1381fb6603d3e0f45ab3578a948ac5a47535b72.png)

---

<div class="post-metadata">

**Author:** ![ebuildy](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ebuildy/32/6070_2.png) [@ebuildy](https://discuss.elastic.co/u/ebuildy)\
**Post date:** [October 5, 2020, 7:57am UTC](https://discuss.elastic.co/t/slow-kibana-after-update-7-4-2-7-9-2/250878/4 "2020-10-05T07:57:31Z")

</div>

wait time is now 100ms ! according the last commits:

> <https://github.com/elastic/kibana/commit/d552bfe4cc7c5b5bcf0aea4b7dae587d7b65718d#diff-fcab40db3044ea62fecc736c4648afaeR83>

I understand now why I see hundred of AJAX calls ....

---

<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 2, 2020, 7:57am UTC](https://discuss.elastic.co/t/slow-kibana-after-update-7-4-2-7-9-2/250878/5 "2020-11-02T07:57:37Z")

</div>

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