4 ms·
With a feature like this is there still a good reason to use MongoDB? Honest question, I know Oracle and Postges well, but not their JSON features. I'm just st
by weinzierl 3y ago
With a feature like this is there still a good reason to use MongoDB?
Honest question, I know Oracle and Postges well, but not their JSON features. I'm just starting to learn MongoDB seriously because of a current project.
- CalRobert 3y agoAfter Postgres added JSON support I couldn't get away from MongoDB fast enough. I haven't missed it.
- rajamaka 3y agoMaybe a personal frustration but I find postgres JSON operators really annoying to deal with compared to mongosh
- pravus 3y agoNot really, imo. The biggest advantage of Mongo was being able to store a single hierarchical document and search it. Now that you can do that in the RDBMS there's no advantage at all. You also throw away all capability of doing relations in the database with Mongo which is optional in an RDBMS and sometimes very beneficial. Mongo could win if it were more performant or had a better query syntax... but it isn't and it doesn't. It might have some slight advantage in the speed you can set up a replicated cluster but you'll pay long-term in overall performance from my experience. If all you are doing is storing documents, just use an S3 bucket, etc...
- buzzm 3y agoSQL extensions for JSON in RDBMS is not the same thing as MongoDB query language on MongoDB. Try this on for size: https://moschetti.org/rants/postgresvmongo.html https://moschetti.org/rants/postgresvmongo.html
- hahn-kev 3y agoA fair bit of that is out of date as it's from 2017.
- ElectricalUnion 3y agoTo me the only really good reason to use MongoDB those days is very high data ingestion rate. It was the main reason why CERN used it in the LHC, but I don't know if that solution is still in place.