# Performance Issue with Single-Type Index vs. Multi-Type Index in Elasticsearch

**URL:** <https://discuss.elastic.co/t/performance-issue-with-single-type-index-vs-multi-type-index-in-elasticsearch/370604>\
**Category:** Elasticsearch\
**Tags:** user-experience\
**Created:** [November 15, 2024, 12:50pm UTC](https://discuss.elastic.co/t/performance-issue-with-single-type-index-vs-multi-type-index-in-elasticsearch/370604 "2024-11-15T12:50:53Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![HARSHAL\_CHAUDHARI](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/harshal_chaudhari/32/36058_2.png) [@HARSHAL\_CHAUDHARI](https://discuss.elastic.co/u/HARSHAL_CHAUDHARI)\
**Post date:** [November 15, 2024, 12:50pm UTC](https://discuss.elastic.co/t/performance-issue-with-single-type-index-vs-multi-type-index-in-elasticsearch/370604/1 "2024-11-15T12:50:53Z")

</div>

I have a scenario where I initially created an index with a single type, and later, I created a new index by combining multiple types into one index. During performance testing, I've noticed that the index with a single type is performing slower, even though it has fewer records compared to the multi-type index.

- The single-type index contains fewer documents.
- The multi-type index combines multiple mappings for different document types.
- Despite the smaller size, the performance of the single-type index is noticeably worse.

Can anyone explain why this might be happening? Is there something in the way Elasticsearch handles single-type versus multi-type indices that could be affecting performance?

**Configuration: 1 Primary Shard and 2 Replica Shards for All Indices**

Any insights or suggestions would be appreciated. Thanks!

---

<div class="post-metadata">

**Author:** ![Christian\_Dahlqvist](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/christian_dahlqvist/32/4617_2.png) [@Christian\_Dahlqvist](https://discuss.elastic.co/u/Christian_Dahlqvist)\
**Post date:** [November 15, 2024, 1:08pm UTC](https://discuss.elastic.co/t/performance-issue-with-single-type-index-vs-multi-type-index-in-elasticsearch/370604/2 "2024-11-15T13:08:44Z")

</div>

Elasticsearch have not supported multiple document types for a long time. Which version of Elasticsearch are you using?
