# Kibana performance while reindex

**URL:** <https://discuss.elastic.co/t/kibana-performance-while-reindex/240991>\
**Category:** Kibana\
**Created:** [July 13, 2020, 2:09pm UTC](https://discuss.elastic.co/t/kibana-performance-while-reindex/240991 "2020-07-13T14:09:24Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Angelos](https://avatars.discourse-cdn.com/v4/letter/a/4bbf92/32.png) [@Angelos](https://discuss.elastic.co/u/Angelos)\
**Post date:** [July 13, 2020, 2:09pm UTC](https://discuss.elastic.co/t/kibana-performance-while-reindex/240991/1 "2020-07-13T14:09:24Z")

</div>

Hello,

Can Kibana's performance be affected while I reindex?

For example I want to reindex good amount of data and it will take some days. During those days will I have reduced performance in loading visualisations or dashboards?

Thank you very much in advance!

/Angelos

---

<div class="post-metadata">

**Author:** ![flash1293](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/flash1293/32/41227_2.png) [@flash1293](https://discuss.elastic.co/u/flash1293)\
**Post date:** [July 17, 2020, 11:52am UTC](https://discuss.elastic.co/t/kibana-performance-while-reindex/240991/2 "2020-07-17T11:52:03Z")

</div>

When it comes to visualizations on dashboards, Kibana is just the frontend putting the pixels together and all the heavy work fetching data and aggregating it happens in Elasticsearch, triggered by Kibana sending search requests.

When you are reindexing, your ES cluster will experience higher load than normal - this can absolutely slow down performance of search requests as well and thus increase the time till a dashboard is fully rendered. However, it depends on a lot of factors how much it will actually be slowed down - testing in the evening with a partial reindex is probably the easiest way to get reliable data.

You can throttle the reindexing ([https://www.elastic.co/guide/en/elasticsearch/reference/current/docs-reindex.html#docs-reindex-throttle](https://www.elastic.co/guide/en/elasticsearch/reference/current/docs-reindex.html#docs-reindex-throttle)) to spread it out over a longer time frame while going easy on your cluster resources, keeping Kibana fast. It probably makes sense to play around a little to find a config fitting your case.

---

<div class="post-metadata">

**Author:** ![Angelos](https://avatars.discourse-cdn.com/v4/letter/a/4bbf92/32.png) [@Angelos](https://discuss.elastic.co/u/Angelos)\
**Post date:** [July 20, 2020, 12:02pm UTC](https://discuss.elastic.co/t/kibana-performance-while-reindex/240991/3 "2020-07-20T12:02:22Z")

</div>

Hi Joe,

Thank you for your response!

I reindex 10b documents, so it will take some weeks.  
But what I discovered is that visualisations or discoveries are affecting all the other index patterns except for the one that reindex.

So lets say that we have the "first" index pattern and I want to reindex and named it "test-first".  
If you look the results bellow the "test-first" is not affected but the "first" is affected the most.

> Reindexing period\*\*:  
> 0.8b documents  
> Index pattern: first 50s, 45s  
> Reindex - Index pattern: test-first 28s, 28s

> No reindexing time period\*\*\*:  
> 0.8b documents  
> Index pattern: first 14s, 14s, 13s  
> Reindex - Index pattern: test-first 27s, 27s, 27s

\*\* Reindexing period is the period(months) that data is still increasing(updating)  
\*\*\* No reindexing time period is the period(months) that is not updating any more because it is finished.

Is this normal?

/Angelos

---

<div class="post-metadata">

**Author:** ![flash1293](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/flash1293/32/41227_2.png) [@flash1293](https://discuss.elastic.co/u/flash1293)\
**Post date:** [July 20, 2020, 3:33pm UTC](https://discuss.elastic.co/t/kibana-performance-while-reindex/240991/4 "2020-07-20T15:33:13Z")

</div>

It's an interesting pattern I can't explain without digging deeper into it, but it intuitively makes sense as `first` is getting hit with lots of read requests from the re-indexing so the Kibana requests probably get queued, while `test-first` is written to but is not experiencing a high frequency of search requests. Not sure whether that's actually what's going on though.

If you want to go deeper here I suggest posting the question in the Elasticsearch subforum.

---

<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:** [August 17, 2020, 3:33pm UTC](https://discuss.elastic.co/t/kibana-performance-while-reindex/240991/5 "2020-08-17T15:33:14Z")

</div>

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