TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Ask HN: Why do so many people dislike MongoDB?

2 pointsby kadomonyover 2 years ago
Just curious, what is it about MongoDB that many people seem to dislike? Is the developer experience lacking in any way? Do people just prefer schemas? Or is it more that people dislike NoSQL in general and MongoDB is the big name in the space?

3 comments

saurikover 2 years ago
I mean, most people I know are rightfully holding a permanent grudge over MongoDB shipping with all forms of data safety disabled in order to look fast (and I am not even sure if it had working safety features anyway), when disabling the same features in normal relational databases that supported such disabling made MongoDB look pointless. The memes back in the day were all about "database engineers running with scissors" (and there was a great photo of a bunch of bearded people in pocket shirts running with scissors that I can't find right now). The product essentially lied and cheated its way to prominence, and forever lost the trust of anyone who was paying attention (or who cares enough about their craft and tools to study history).
评论 #32872913 未加载
hitpointdrewover 2 years ago
I feel like the use case for it has really shrunk over the past 10 years.<p>When it comes databases I most commonly hear customers split two needs&#x2F;wants. 1) data integrity (ACID). 2) Speed.<p>When it comes to data integrity the obvious choice is to go with a SQL database like Postgres. When it comes to speed the obvious choice is go with a memory db like Redis. Mongo sits awkwardly in the middle where it isn&#x27;t ACID compliant, and it isn&#x27;t a memory db so can&#x27;t outperform Redis.<p>Another factor is that a lot of things have migrated to cloud managed db&#x27;s, so if you need a document store, and are going to use a cloud managed db, then something like DynomoDB makes a lot of sense.<p>EDIT: Apparently Mongo added support of multi-document ACID transactions back in 2018 <a href="https:&#x2F;&#x2F;www.mongodb.com&#x2F;blog&#x2F;post&#x2F;mongodb-multi-document-acid-transactions-general-availability" rel="nofollow">https:&#x2F;&#x2F;www.mongodb.com&#x2F;blog&#x2F;post&#x2F;mongodb-multi-document-aci...</a> . Who knew? Not sure why but when I think of a database that needs to be ACID, mongo isn&#x27;t even on the list for me. Seems like just a misconception&#x2F;myth on my part though.
hodgesrmover 2 years ago
&gt; Ask HN: Why do so many people dislike MongoDB?<p>That should be: Why do so many people <i>on HN</i> dislike MongoDB?<p>MongoDB is the #5 database on DB Engines and has been in that position for a number of years. [0] In the general developer population it is quite widely used.<p>[0] <a href="https:&#x2F;&#x2F;db-engines.com&#x2F;en&#x2F;ranking_trend" rel="nofollow">https:&#x2F;&#x2F;db-engines.com&#x2F;en&#x2F;ranking_trend</a>