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

MongoDB vs PostgreSQL comparison

 

Comparison Buyer's Guide

Executive SummaryUpdated on Jan 23, 2025

Review summaries and opinions

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

Categories and Ranking

MongoDB
Ranking in Open Source Databases
5th
Average Rating
8.2
Reviews Sentiment
6.8
Number of Reviews
79
Ranking in other categories
NoSQL Databases (1st), Managed NoSQL Databases (9th)
PostgreSQL
Ranking in Open Source Databases
2nd
Average Rating
8.4
Reviews Sentiment
7.7
Number of Reviews
125
Ranking in other categories
Vector Databases (9th)
 

Mindshare comparison

As of March 2025, in the Open Source Databases category, the mindshare of MongoDB is 4.4%, up from 3.4% compared to the previous year. The mindshare of PostgreSQL is 18.4%, down from 21.4% compared to the previous year. It is calculated based on PeerSpot user engagement data.
Open Source Databases
 

Featured Reviews

Uzair Faruqi - PeerSpot reviewer
Transforms data flow with adaptable schema and smooth public cloud deployment
One of our business units uses MongoDB, and we developed an ETL pipeline that extracts data from MongoDB and transfers it into our data warehouse MongoDB is a NoSQL database that is similar to a document database. It offers flexibility in schema adaptation, allowing us to change the schema and…
AdityaSharma3 - PeerSpot reviewer
Transaction processes are fast and good replication capability
Use cases include querying data warehouses and databases to fetch data for clients already working on PostgreSQL.  We also use Postgres for building reports It's a transactional database, so we use Postgres for most of our reporting. That's where it's helping. The query speed is fast, and the…

Quotes from Members

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

Pros

"Migrating to MongoDB upgrades the IT environment and puts users in the NoSQL environment, which is faster."
"I found that MongoDB is most valuable for storing school-related queries. It's also user-friendly, and I found no difficulty accessing it. Setting it up is easy too."
"The Dynamic Application is a valuable feature."
"The tool is also user-friendly."
"The reports are useful for controlling the load of our whole architecture."
"The solution is user-friendly with a good object retrieval feature."
"The most valuable feature is the geometric information done with GeoJSON."
"I think that MongoDB isn't too structured, and that's good for our technical team because they are able to search through the database better than if they are using SQL Server."
"It's a useful solution, that can be widely used."
"The solution has many valuable features such as it easy to use and the interface is intuitive."
"This is an open-source solution, operates at a high speed, and supports more than one SQL language."
"The community support and the open-source community for it are good."
"The performance is good."
"It is very useful for both structured and unstructured data. You can store unstructured and structured data in PostgreSQL. It is easy to use. You can easily manage things through PostgreSQL Admin. It is cost-effective. Its on-premise version is free. It is agnostic of on-premise or cloud. You can install it on the cloud or on-premises. It is available with all clouds, and you can also install it on desktop or Windows Servers."
"PostgreSQL makes it very adaptable to several descriptions of a record. Instead of having several tables or several relations for one entity, I can adapt this entity. It can be a multiform entity. For example, here in Mexico, a company and a person can be sold to us as a physical entity or a physical person."
"It is easy to use."
 

Cons

"More stable indexes would be helpful in a future release. That's been an issue for some time. I don't know if it's been fixed now but we transitioned to it because we needed a search index to be able to search for things and if that goes or starts disappearing, we have to move away from that solution. I don't know if they fixed it, last time I had this issue was three years ago so they might have solved it."
"The stability could be improved."
"The on-premises version of the solution is still pretty expensive, especially compared to the cloud version."
"Data encryption is possible using third-party tools but they should have their own encryption capability built-in to this solution."
"I rate the support from MongoDB a four out of five."
"The product's data consistency could be more efficient than traditional SQLs."
"Simplifying the aggregation framework would be an improvement."
"The free tools, like MongoDB Compass, could be enhanced."
"There are some products out there that have a slightly different method of implementation for the SQL language. Some of those are slightly better in some areas, and PostgreSQL is slightly better in some areas. I would probably like to match all of those products together. It is just down to the functionality. For example, Oracle has a number of options within SQL that are outside of what you would class as the SQL standard. PostgreSQL misses some of those, but PostgreSQL does other things that are better than what Oracle does. I would like to merge those two products so that there is a certain amount of functionality in a single product."
"Sometimes, it becomes slow because of the network. So, there is room for improvement in performance."
"There are several features I would like to improve that aren't working as expected. It's likely that the latest version is doing something that was missed in the previous versions. For example, the output parameters — the stored procedures — is something new in PostgreSQL that Firebird has already had for a long time."
"I had some issues when I integrated with the Jupyter Notebook."
"It is possible that in the newer version this has been addressed, but I would like the deployment in microservices architecture could be improved."
"The solution could improve the integration."
"I find it difficult to get connectors on the tool. For example, .NET has only one free provider in PostgreSQL. I need to pay the provider if I need something more sophisticated features. Other languages like PHP and Java have good community support. We need community support for .NET."
"I have noticed that user and access management should be improved."
 

Pricing and Cost Advice

"I don't know, but I have heard from people who procure it that it is much cheaper than Oracle."
"MongoDB is an open-source solution."
"The solution is open source, so it is free."
"I believe that the licensing fees are paid on a yearly basis."
"I only used the open-source version."
"The pricing is normal. Price-wise, the product is not too much expensive."
"The solution is open source so is free."
"It's a community edition, so we do not pay anything."
"PostgreSQL is a free and open-source database."
"It is open source. There is no licensing."
"The need for our customers to pay for licences is contingent on their projects and budgets."
"The licensing model is good."
"It could be much cheaper. If you would like to build an application on Amazon today, PostgreSQL is the standard database with Redshift. If you want other databases, you can add them, but PostgreSQL is the basis of everything. It's a question of money, that's it."
"The tool is cheaply priced compared to other RDBMS providers in the market."
"This solution can offer a cheaper choice for customers since it is open-source."
"It is open-source. If you use it on-premise, it is free. It also has enterprise or commercial versions. If you go for the cloud version, there will be a cost, but it is lower than Oracle or Microsoft."
report
Use our free recommendation engine to learn which Open Source Databases solutions are best for your needs.
842,296 professionals have used our research since 2012.
 

Top Industries

By visitors reading reviews
Financial Services Firm
18%
Computer Software Company
15%
University
7%
Manufacturing Company
6%
Computer Software Company
16%
Financial Services Firm
12%
Comms Service Provider
9%
Manufacturing Company
8%
 

Company Size

By reviewers
Large Enterprise
Midsize Enterprise
Small Business
 

Questions from the Community

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.
How does Firebird SQL compare with PostgreSQL?
PostgreSQL was designed in a way that provides you with not only a high degree of flexibility but also offers you a cheap and easy-to-use solution. It gives you the ability to redesign and audit yo...
What do you like most about PostgreSQL?
It's a transactional database, so we use Postgres for most of our reporting. That's where it's helping.
What is your experience regarding pricing and costs for PostgreSQL?
The tool is free of cost. For now, it's not about making money. But once we perfect it, we can offer it to customers willing to pay for support and other services. Most of my deployments are free.
 

Comparisons

 

Overview

 

Sample Customers

Facebook, MetLife, City of Chicago, Expedia, eBay, Google
1. Apple 2. Cisco 3. Fujitsu 4. Instagram 5. Netflix 6. Red Hat 7. Sony 8. Uber 9. Cisco Systems 10. Skype 11. LinkedIn 12. Etsy 13. Yelp 14. Reddit 15. Dropbox 16. Slack 17. Twitch 18. WhatsApp 19. Snapchat 20. Shazam 21. SoundCloud 22. The New York Times 23. Cisco WebEx 24. Atlassian 25. Cisco Meraki 26. Heroku 27. GitLab 28. Zalando 29. OpenTable 30. Trello 31. Square Enix 32. Bloomberg
Find out what your peers are saying about MongoDB vs. PostgreSQL and other solutions. Updated: March 2025.
842,296 professionals have used our research since 2012.