HN Hall of Fame Weekly email

Why You Should Never Use MongoDB

www.sarahmei.com Essays & writing Essays & articles Software engineering Class of 2021-02 Hall of Fame

Resurfaced independently across 5 calendar years, with breakout response in 3 of them.

submissions
6
submitters
6
observed span
2013–2024
peak thread · 337 comments
568 pts
latest 20+ return · 2021-02-01
131 pts

Submission timeline

2007–2026

One slot for every year since HN launched. Height is that year's peak points; orange marks a 100+ point or 50+ comment breakout. Select a bar to open its strongest thread.

First comments on top threads

HN comment order

> Seven-table joins. Ugh. What? That's what relationship databases are for. And seven is nothing. Properly indexed, that's probably super-super-fast. This is the equivalent of a C programmer saying "dereferencing a pointer, ugh". Or a PHP programmer saying "associative arrays, ugh". I think this attitude comes from a similar place as JavaScript-hate. A lot of people have to write JavaScript, but aren't good at JavaScript, so they don't take time to learn the language, and then when it doesn't do…

gmjoe·568-point thread·

My first introduction to databases was with PHP/MySQL, where normalization was the name of the game. The whole point of normalization is that there is no duplication of data anywhere. If it's possible for duplicate data to exist, that's a symptom of a design flaw in the schema. I've been using Mongo recently, and every time I raise criticism of it, the counterargument I hear is "forget about normalization! Duplication is okay." Like the author, I really cannot wrap my…

This article keeps coming up every once in a while and reminds me of all those “Why JS sucks”, “Never use PHP”, “Java is enterprise only”, “Ruby only works on hobby projects” etc... But then in real life people built great software with all the above, so I’ll just say a great classic: pick something you know, use it well, build something good, end of story! No tool will fix wrong assumptions or bad design, we can dive into philosophy…

This is old, but a really interesting read. Not so much because of the discussion of Mongo; more that it shows what happens when you unthinkingly follow tech trends, without thinking carefully about your own requirements.

The first top-level comment from each of the four biggest threads, in HN’s own order. Excerpts are shortened; open a comment for full context.

Breakout years
3

100+ points or 50+ comments

Total points
908

reference only — not used in Hall rules or ranking

Total comments
663

reference only — not used in Hall rules or ranking

Every submission

DateTitle as submittedByPointsComments
2013-11-11Why You Should Never Use MongoDBFirst breakout · Best threadhyperpape568337
2016-08-15Why you should never use MongoDB (2013)wheresvic1194183
2019-04-03Why You Should Never Use MongoDB (2013)jjordan20
2021-01-15Never Use MongoDBluu81
2021-02-01Never use MongoDB (2013)Hall induction · Latest 20+ point returnmikecarlton131141
2024-07-04Why You Should Never Use MongoDB (2013)thunderbong51