# Performance with n Indices in Aliases

**URL:** <https://discuss.elastic.co/t/performance-with-n-indices-in-aliases/21863>\
**Category:** Elasticsearch\
**Created:** [January 28, 2015, 12:42am UTC](https://discuss.elastic.co/t/performance-with-n-indices-in-aliases/21863 "2015-01-28T00:42:20Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![webish](https://avatars.discourse-cdn.com/v4/letter/w/919ad9/32.png) [@webish](https://discuss.elastic.co/u/webish)\
**Post date:** [January 28, 2015, 12:42am UTC](https://discuss.elastic.co/t/performance-with-n-indices-in-aliases/21863/1 "2015-01-28T00:42:20Z")

</div>

I was wondering what is going on behind the scenes when adding n number of  
indices to an alias. Are there any performance implications?

So an alias with a single index that has a single shard will allocate a  
single process to scan the index... So that would mean, with the same  
data, when having two indices each with a single shard in an alias it would  
require two processes in parallel to scan the index. The key being the  
scan time is but in ~half due since there are two processes scanning half  
the data. This scales to the point of thread saturation. The performance  
is then affected by number and power of cores...

I'm wondering if there is a significant difference performance in using an  
alias with 100 indices or even 10,000 vs an alias with a single index (on a  
single core machine)?

What impacts are there to the performance and considerations one must take?

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/09e3678a-92f7-4f26-885a-4f461a49f318%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/09e3678a-92f7-4f26-885a-4f461a49f318%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<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:** [July 6, 2017, 12:36am UTC](https://discuss.elastic.co/t/performance-with-n-indices-in-aliases/21863/2 "2017-07-06T00:36:17Z")

</div>

Closed on July 6, 2017, 12:36am UTC


