# Why I can't use Elasticsearch for as primary database? not the same way

**URL:** <https://discuss.elastic.co/t/why-i-cant-use-elasticsearch-for-as-primary-database-not-the-same-way/244476>\
**Category:** Elasticsearch\
**Created:** [August 11, 2020, 1:41am UTC](https://discuss.elastic.co/t/why-i-cant-use-elasticsearch-for-as-primary-database-not-the-same-way/244476 "2020-08-11T01:41:09Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![chawki](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/chawki/32/65690_2.png) [@chawki](https://discuss.elastic.co/u/chawki)\
**Post date:** [August 11, 2020, 1:41am UTC](https://discuss.elastic.co/t/why-i-cant-use-elasticsearch-for-as-primary-database-not-the-same-way/244476/1 "2020-08-11T01:41:10Z")

</div>

This is a common question but in different use case.

My application is a buy and sells platform does not launch yet. It uses MongoDB on the server(local) as the primary database to store Ads and I have integrated elasticsearch only for full-text search and I thought of using elasticsearch as my primary database skipping MongoDB in middle

Why?

- I don't need to keep two copies of data on MongoDB and elasticsearch
- **My application only store ads for 40 - 80 days**
- I can directly use and get elasticsearch benefits
- I'm storing my user data on a remote database

Is anyone has done this? And What are the pros and cons I would get if I'm doing this so?

---

<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:** [September 8, 2020, 1:41am UTC](https://discuss.elastic.co/t/why-i-cant-use-elasticsearch-for-as-primary-database-not-the-same-way/244476/2 "2020-09-08T01:41:24Z")

</div>

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