# Multi-index overhead

**URL:** <https://discuss.elastic.co/t/multi-index-overhead/178489>\
**Category:** Elasticsearch\
**Created:** [April 25, 2019, 2:55pm UTC](https://discuss.elastic.co/t/multi-index-overhead/178489 "2019-04-25T14:55:03Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Pradyumna\_Achar](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/pradyumna_achar/32/99780_2.png) [@Pradyumna\_Achar](https://discuss.elastic.co/u/Pradyumna_Achar)\
**Post date:** [April 25, 2019, 2:55pm UTC](https://discuss.elastic.co/t/multi-index-overhead/178489/1 "2019-04-25T14:55:03Z")

</div>

Hello,  
If I have a situation wherein there are a large number of aliases all pointing to a few concrete indices.  
For example, 10,000 aliases, with each of them pointing to one or more of just 5 concrete indices.

In this situation, suppose I were to run a multi-index Search query on all the aliases.

Would there be a performance penalty in using the multi-index search query (consisting of comma-separated list of the 10,000 aliases) as opposed to using 5 concrete indices the multi-index query?

Thank you

---

<div class="post-metadata">

**Author:** ![polyfractal](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/polyfractal/32/48162_2.png) [@polyfractal](https://discuss.elastic.co/u/polyfractal)\
**Post date:** [April 25, 2019, 3:46pm UTC](https://discuss.elastic.co/t/multi-index-overhead/178489/2 "2019-04-25T15:46:07Z")

</div>

A bit of overhead associated with resolving the aliases to their concrete indices, but when the search is executed it'll just be directed at the concrete indices. So the bulk of the time will be the same since most of the work is in the search request, not the alias resolution.

There is some overhead to aliases in the form of cluster state updates... more aliases == more items needed to be tracked in the cluster state. That can slow down updates by the masters, and is more information that needs to be published to the cluster.

So thousands of aliases is generally ok, hundreds of thousands/millions is starting to get abusive 🙂

---

<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:** [May 23, 2019, 3:48pm UTC](https://discuss.elastic.co/t/multi-index-overhead/178489/3 "2019-05-23T15:48:18Z")

</div>

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