Is MongoDB Dead?

byOr Cohen
Updated Dec 4, 2018

MongoDB is still a very young platform to judge to life or death.

NoSQL databases have emerged in recent years to provide the performance, scalability, and flexibility required of modern applications. This new wave of databases are much better suited for Big Data applications and agile software development practices than its relational counterparts.

NoSQL databases offers many benefits, including:

  • Flexible Data Model. Unlike relational databases, NoSQL databases easily store and combine any type of data, both structured and unstructured. You can also dynamically update the schema to evolve with changing requirements and without any interruption or downtime to your application.

  • Elastic Scalability. NoSQL databases scale out on low cost, commodity hardware, allowing for almost unlimited growth.

  • High Performance. NoSQL databases are built for great performance, measured in terms of both throughput and latency.

While MongoDB is great for application key-value store. I wouldn't recommend it as an analytics DB due to the following reasons:

  • No multi-document transaction. This means it can’t guarantee consistency in some cases.

  • Can’t write queries that use more than one collection. Aggregation framework only works on one collection at a time. Joining data has to be done programmatically and doesn't scale.

  • Nesting isn't always possible, and there are no foreign key constraints to enforce consistency.

I’ve encountered dozens of data teams struggling with this exact problem, that’s why I’m adamant about it. To be honest, MongoDB to BigQuery migration - is one of the main use-cases I see here at Alooma.

In conclusion, like any technology, MongoDB has its own pros and cons. But by using the right tools you can leverage only the pros, so I wouldn't be so quick to discount MongoDB.

Like what you read? Share on
MongoDBDatabase Systems

Further reading

What is spark and how to use MongoDB?
Yaara Gazit • Updated May 25, 2017
Schedule a free demo!
Learn how Alooma can integrate all of your data sources in minutes.
Get Started