Try our new research platform with insights from 80,000+ expert users

Microsoft Azure Cosmos DB vs MongoDB comparison

 

Comparison Buyer's Guide

Executive SummaryUpdated on Jan 5, 2025
 

Categories and Ranking

Microsoft Azure Cosmos DB
Ranking in NoSQL Databases
3rd
Ranking in Managed NoSQL Databases
1st
Average Rating
8.2
Reviews Sentiment
7.3
Number of Reviews
78
Ranking in other categories
Database as a Service (DBaaS) (6th), Vector Databases (5th)
MongoDB
Ranking in NoSQL Databases
1st
Ranking in Managed NoSQL Databases
9th
Average Rating
8.2
Reviews Sentiment
6.9
Number of Reviews
78
Ranking in other categories
Open Source Databases (5th)
 

Featured Reviews

Michael Calvin - PeerSpot reviewer
Easy to integrate, has a shallow learning curve, and scales dynamically
Azure Cosmos DB is quick to adopt with a shallow learning curve. The average user can be operational within hours or days, handling small to medium data volumes. However, optimizing for ultra-high throughput scenarios involves a steeper learning curve, requiring substantial knowledge to master Azure Cosmos DB. Nonetheless, most users can leverage it as their operational data store with minimal effort. Our platform boasts several extensive language model features, particularly around summarization capabilities. We use vector searching in Azure Cosmos DB to facilitate the retrieval of an augmented generation model with our LLM implementation. It's a standard RAG implementation using Azure Cosmos DB. Compared to other options, a key advantage of vector indexing in Azure Cosmos DB is the ability to query documents alongside vectors. This pinpoints the precise information required for RAG in our LLM solution, granting us greater flexibility than vector searching in other Azure services. We integrated the vector database with the Azure OpenAI service for our LLM solution. The Azure AI services were simple to integrate with the vector database. There was a slight learning curve, especially as we were on the private preview of vector searching. This led to some hiccups with our existing database configurations, specifically regarding continuous backup. We couldn't enable continuous backup and vector searching simultaneously. However, this was solely due to our participation in the preview, and I'm confident this issue won't persist in the general availability release. Azure Cosmos DB is fantastic for searching large amounts of data when the data is within a single partition. Over the last two weekends, we ingested over 400 gigabytes of data into our Azure Cosmos DB database and saw no change in querying performance compared to when our database was only 20 gigabytes in size. This is impressive and powerful, but the scope is limited to those partition queries. The first benefit we've seen is increased developer productivity. Azure Cosmos DB is an easy database to work with. Its schema-less nature allows us to iterate quickly on our platform, develop new features, and store the associated data in Azure. Developers find it easy to use, eliminating the need for object-relational mapping tools and other overhead. Geographic replication and the ability to scale geographically is another advantage. This is challenging with other databases, even other NoSQL databases, but Azure Cosmos DB makes it easy. Cost optimization is a major benefit as well. We've been able to run our platform at a fraction of the infrastructure cost our customers incur when integrating with us. This allows us to focus resources on feature development and platform building rather than infrastructure maintenance. Azure Cosmos DB helped reduce the total cost of ownership. We don't need DBAs, system administrators, or typical IT staff to run the infrastructure because we can use Azure Cosmos DB as a platform or a software-as-a-service data storage solution. This makes the total cost of ownership significantly lower than any comparable solution using relational databases or other NoSQL solutions like MongoDB. We enable auto-scaling on all of our Azure Cosmos DB resources, which helps us achieve cost optimizations.
Hamidul Islam - PeerSpot reviewer
Lightweight with good flexibility and very fast performance for searching data
I used the solution in the production level to search data and create education-based tutorials for a project. We had 30 managers, senior architects, tech leads, and software engineers working on the project.  Currently, I use the solution for my personal work.  The solution has good flexibility…

Quotes from Members

We asked business professionals to review the solutions they use. Here are some excerpts of what they said:
 

Pros

"The most valuable features of Microsoft Azure Cosmos DB include the TTL, the ability to scale up and down as needed, and geo-replication, which comes out of the box."
"Since it's a managed service, Azure backend handles scalability. From a user's perspective, we don't need to worry about scalability."
"Its wide support to the ecosystem is valuable. We can use this database with a lot of use cases, and that's one of the reasons why we prefer it. We have a lot of vendors, databases, and use cases, and wherever possible, we are trying to standardize databases. It is also secure."
"The most valuable feature of Azure Cosmos DB is its scalability. That is the biggest reason I use Azure Cosmos DB."
"The most valuable features of Microsoft Azure Cosmos DB were the general infrastructure, ease to use, and interface."
"The customer gave us the feedback that they are able to easily find the data they are looking for. It is very quick."
"We value the replication and regional availability features that Cosmos DB provides. The replication includes read replicas and write replicas. The recent addition of vectorization and similarity comparisons add values for AI workloads. The performance and scaling capabilities of Cosmos DB are excellent, allowing it to handle large workloads compared to other services such as Azure AI Search."
"Cosmos is a PaaS, so you don't need to worry about infrastructure and hosting. It has various APIs that allow it to integrate with other solutions. For example, we are using a MongoDB-compatible API for customers, which makes it easier for developers on the team who previously used MongoDB or are accustomed to the old document storage paradigm."
"The Dynamic Application is a valuable feature."
"We've found the product to be scalable."
"The clustering is very good. It allows us to have high availability."
"I like that MongoDB has a free version. You can also buy the enterprise edition, which is cheaper than Oracle."
"One of the first things I noticed when I had my first experience with MongoDB was how easy it was to use. I was expecting more difficulties or at least some challenges, but it was very, very easy to use. It's great technology, performs well, and is very convenient."
"The installation is very easy to do and understand."
"Migrating to MongoDB upgrades the IT environment and puts users in the NoSQL environment, which is faster."
"It is very fast - faster than an SQL or MySQL Server."
 

Cons

"It would be nice to have more options to ingest the data, for example, more file options or more search options. Currently, you can use JSON, but if there were other file types you can use for data ingestion, that would be nice."
"I have been a devoted Microsoft fan, but Redis DB's memory caching capabilities are really making progress. Even if Cosmos DB is continuously improving and is quite advanced in the field of internal memory optimization, I would still recommend Redis DB to a customer."
"The tool's pricing is expensive."
"The built-in integration of the solution is tight."
"At this stage, we would like more enterprise support. We use MongoDB a lot, and we're trying to get rid of MongoDB. So, I would like to see more features in the Cosmos DB API for MongoDB space."
"Azure Cosmos DB for NoSQL has a less developed interface and fewer SQL commands than MongoDB, and its community support is also smaller."
"There are no particular factors that need improvement. There is a little bit of a learning curve with scaling workloads, but it works smoothly."
"Firstly, having a local development emulator or simulator for Azure Cosmos DB would be beneficial. It would be very handy to have a Docker container that developers can use locally."
"The transaction could use improvement. From MySQL, for example, you cannot create a transaction if you are reading and writing a document at the same time."
"There is a need for improvement in MongoDB's customer support."
"It could be more stable. It would be better if it were more user-friendly like Oracle, which is very easy. For example, creating an index is simple in Oracle. In MongoDB, it's quite challenging to do that. Performance could be better. It's fast and good, but you cannot put every application that you would like to in MongoDB."
"It would help if MongoDB offered a light solution for small projects."
"The performance of the solution could be improved."
"I suppose it could be a little more secure."
"The scalability of the solution has room for improvement."
"The on-premises version of the solution is still pretty expensive, especially compared to the cloud version."
 

Pricing and Cost Advice

"Most customers like the flexibility of the pricing model, and it has not been an issue. They can start small, and the cost grows with adoption, allowing efficient management of the budget. Its pricing model has not been a concern at all for any of our customers. They understand it. It is simple enough to understand. Oftentimes, it is hard to forecast the RUs, but, in general, it has been fine."
"Azure Cosmos DB's pricing is competitive, though there is a need for more personalized pricing models to accommodate small applications without incurring high charges. A suggestion is to implement dynamically adjustable pricing that accounts for various user needs."
"From a startup point of view, it appears to be expensive. If I were to create my startup, it would not have the pricing appeal compared to the competition, such as Supabase. All those other databases are well-advertised by communities. I know there is a free tier with Azure Cosmos DB. It is just not well advertised."
"With heavy use, like a large-scale IoT implementation, you could easily hit a quarter of a million dollars a month in Azure charges if Cosmos DB is a big part of it."
"Azure is a pay as you go subscription."
"Microsoft provides fair pricing."
"The tool is not expensive."
"Cosmos DB is expensive, and the RU-based pricing model is confusing. Although they have a serverless layer, there are deficiencies in what I can define and assign to a database. Estimating infrastructure needs is not straightforward, making it challenging to manage costs."
"I only used the open-source version."
"The solution is open source so is free."
"There is an enterprise license and it could be cheaper. We are using the free open source version."
"It is rather expensive."
"It's a community edition, so we do not pay anything."
"Our customers pay for yearly licenses for MongoDB."
"We use the open-source version, which is available to use free of charge."
"MongoDB's pricing is not reasonable, but it is not as expensive as the others."
report
Use our free recommendation engine to learn which NoSQL Databases solutions are best for your needs.
825,661 professionals have used our research since 2012.
 

Top Industries

By visitors reading reviews
Computer Software Company
14%
Comms Service Provider
12%
Financial Services Firm
11%
Manufacturing Company
6%
Financial Services Firm
18%
Computer Software Company
14%
Manufacturing Company
7%
University
6%
 

Company Size

By reviewers
Large Enterprise
Midsize Enterprise
Small Business
 

Questions from the Community

What do you like most about Microsoft Azure Cosmos DB?
The initial setup is simple and straightforward. You can set up a Cosmos DB in a day, even configuring things like availability zones around the world.
What is your experience regarding pricing and costs for Microsoft Azure Cosmos DB?
Azure Cosmos DB's pricing is competitive, though there is a need for more personalized pricing models to accommodate small applications without incurring high charges. A suggestion is to implement ...
What needs improvement with Microsoft Azure Cosmos DB?
For streaming platforms, Azure Cosmos DB could improve efficiency in data storage. Indexing can also be better. Enhanced capabilities are necessary to manage increased data amounts more effectively...
What do you like most about MongoDB?
MongoDB's approach to handling data in documents rather than traditional tables has been particularly beneficial.
What is your experience regarding pricing and costs for MongoDB?
MongoDB is free of charge. that said, there is also a paid version. We use both free and paid versions.
What needs improvement with MongoDB?
If something is wrong on the cluster, then you need to contact the support team. The stability could be better.
 

Comparisons

 

Also Known As

Microsoft Azure DocumentDB, MS Azure Cosmos DB
No data available
 

Learn More

 

Overview

 

Sample Customers

TomTom, KPMG Australia, Bosch, ASOS, Mercedes Benz, NBA, Zero Friction, Nederlandse Spoorwegen, Kinectify
Facebook, MetLife, City of Chicago, Expedia, eBay, Google
Find out what your peers are saying about Microsoft Azure Cosmos DB vs. MongoDB and other solutions. Updated: November 2024.
825,661 professionals have used our research since 2012.