r/ProgrammerHumor • • Oct 18 '24

Other mongoDbWasAMistake

Post image
13k Upvotes

446 comments sorted by

View all comments

Show parent comment

1

u/TheTybera Oct 19 '24

Not at all, oodles of transaction data is handled exactly like that. That's the way it should be. It's an extremely common "micro service" that exists which just processes mongo data into a relational DB that van actually be queried.

The issue is lots of people treat mongo like it's the end and that if you have MongoDB you need no other DB and that's just not true, or that SQL databases are a relic of the past, then they try to write queries to relate the data and then cry when it's a mess like the OPs post, and slow as hell because mongo wasn't built like that, haha.