# Which one should I choose between ES and MongoDB?

**URL:** <https://discuss.elastic.co/t/which-one-should-i-choose-between-es-and-mongodb/151728>\
**Category:** Elasticsearch\
**Created:** [October 10, 2018, 1:26am UTC](https://discuss.elastic.co/t/which-one-should-i-choose-between-es-and-mongodb/151728 "2018-10-10T01:26:17Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![nandan\_bigdata](https://avatars.discourse-cdn.com/v4/letter/n/f07891/32.png) [@nandan\_bigdata](https://discuss.elastic.co/u/nandan_bigdata)\
**Post date:** [October 10, 2018, 1:26am UTC](https://discuss.elastic.co/t/which-one-should-i-choose-between-es-and-mongodb/151728/1 "2018-10-10T01:26:17Z")

</div>

Hi All,  
Just for discussion purpose, I am asking this question.

I am building a single customer view product . Total numbers of customer is around 10 millions. For this building a single customer view which one will be more suitable between Elasticsearch and MongoDB.

Note:- If this question will be not suitable for this forum then let me know, I will delete this.

Thanks

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [October 10, 2018, 7:09am UTC](https://discuss.elastic.co/t/which-one-should-i-choose-between-es-and-mongodb/151728/2 "2018-10-10T07:09:14Z")

</div>

If you want to store data and only get by id, may be MongoDB is ok.  
If you want to provide a search feature for your users, then Elasticsearch is the way to go IMO.

Note that both could be a good combination. One as the source of truth (MongoDB), Elasticsearch as the search engine.

My 0.05 cents.

---

<div class="post-metadata">

**Author:** ![nandan\_bigdata](https://avatars.discourse-cdn.com/v4/letter/n/f07891/32.png) [@nandan\_bigdata](https://discuss.elastic.co/u/nandan_bigdata)\
**Post date:** [October 11, 2018, 6:25am UTC](https://discuss.elastic.co/t/which-one-should-i-choose-between-es-and-mongodb/151728/3 "2018-10-11T06:25:00Z")

</div>

Yes, I am planning as MongoDB to use for Unified Datastorage where I will store data about customers and data will index into Elasticseach which will provide me search based on name, email or phone number.

---

<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:** [November 8, 2018, 6:25am UTC](https://discuss.elastic.co/t/which-one-should-i-choose-between-es-and-mongodb/151728/4 "2018-11-08T06:25:00Z")

</div>

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