# Index per organization or one index for all organizations to scale

**URL:** <https://discuss.elastic.co/t/index-per-organization-or-one-index-for-all-organizations-to-scale/215302>\
**Category:** Elasticsearch\
**Created:** [January 16, 2020, 11:25am UTC](https://discuss.elastic.co/t/index-per-organization-or-one-index-for-all-organizations-to-scale/215302 "2020-01-16T11:25:34Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![agonzalez](https://avatars.discourse-cdn.com/v4/letter/a/ba8739/32.png) [@agonzalez](https://discuss.elastic.co/u/agonzalez)\
**Post date:** [January 16, 2020, 11:25am UTC](https://discuss.elastic.co/t/index-per-organization-or-one-index-for-all-organizations-to-scale/215302/1 "2020-01-16T11:25:34Z")

</div>

I have one multitenant application that is storing lof of data like events in elasticsearch, each organization will search events only from their organization.

My question is about query/search perfomance and speed to scale up to hundreds of organizations, it is better to have one index per organization like:

events\_orgA  
events\_orgB  
events\_orgC

Or the performance is the same if we only have one index events for all organizations and we search filtering by Org

---

<div class="post-metadata">

**Author:** ![agonzalez](https://avatars.discourse-cdn.com/v4/letter/a/ba8739/32.png) [@agonzalez](https://discuss.elastic.co/u/agonzalez)\
**Post date:** [January 20, 2020, 1:36pm UTC](https://discuss.elastic.co/t/index-per-organization-or-one-index-for-all-organizations-to-scale/215302/2 "2020-01-20T13:36:16Z")

</div>

any idea on this? I need to structere my application correctly in one way or the other.

---

<div class="post-metadata">

**Author:** ![spinscale](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/spinscale/32/25011_2.png) [@spinscale](https://discuss.elastic.co/u/spinscale)\
**Post date:** [January 20, 2020, 4:43pm UTC](https://discuss.elastic.co/t/index-per-organization-or-one-index-for-all-organizations-to-scale/215302/3 "2020-01-20T16:43:11Z")

</div>

There is a couple of pages about this in the definitive guide. You can read it at [https://www.elastic.co/guide/en/elasticsearch/guide/current/user-based.html](https://www.elastic.co/guide/en/elasticsearch/guide/current/user-based.html)

---

<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:** [February 17, 2020, 4:43pm UTC](https://discuss.elastic.co/t/index-per-organization-or-one-index-for-all-organizations-to-scale/215302/4 "2020-02-17T16:43:26Z")

</div>

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