# What if there are too many types in an index

**URL:** <https://discuss.elastic.co/t/what-if-there-are-too-many-types-in-an-index/21943>\
**Category:** Elasticsearch\
**Created:** [February 2, 2015, 5:48am UTC](https://discuss.elastic.co/t/what-if-there-are-too-many-types-in-an-index/21943 "2015-02-02T05:48:35Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![11149](https://avatars.discourse-cdn.com/v4/letter/1/da6949/32.png) [@11149](https://discuss.elastic.co/u/11149)\
**Post date:** [February 2, 2015, 5:48am UTC](https://discuss.elastic.co/t/what-if-there-are-too-many-types-in-an-index/21943/1 "2015-02-02T05:48:35Z")

</div>

what if there are thousands of or even more types within an index (and keep  
increasing quickly) , it will consume more heap size and impact the  
performance of the cluster ?

Thanks.

--  
不学习，不知道

--  
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/CA%2BJstLCbCMpw9N2OpF0s33EjzVkUe9U\_cCRQ\_im28tmO5m0OFQ%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CA%2BJstLCbCMpw9N2OpF0s33EjzVkUe9U_cCRQ_im28tmO5m0OFQ%40mail.gmail.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![Sarang\_Zargar](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sarang_zargar/32/935_2.png) [@Sarang\_Zargar](https://discuss.elastic.co/u/Sarang_Zargar)\
**Post date:** [February 4, 2015, 8:03am UTC](https://discuss.elastic.co/t/what-if-there-are-too-many-types-in-an-index/21943/2 "2015-02-04T08:03:13Z")

</div>

I don't think this should cause any issues. Types in Elasticsearch is  
similar to "tables" in any relational data base. Your memory/performance  
will ultimately depend on

- types of queries your use
- amount of data you index
- most important, kind of hardware you use to run Elasticsearch

On Sunday, 1 February 2015 21:48:46 UTC-8, 潘飞 wrote:

> what if there are thousands of or even more types within an index (and  
> keep increasing quickly) , it will consume more heap size and impact the  
> performance of the cluster ?
> 
> Thanks.
> 
> --  
> 不学习，不知道

--  
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/3f869101-e11d-4ca6-9894-df0197e62036%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/3f869101-e11d-4ca6-9894-df0197e62036%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:35am UTC](https://discuss.elastic.co/t/what-if-there-are-too-many-types-in-an-index/21943/3 "2017-07-06T00:35:03Z")

</div>

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


