If you take the time to learn mongo, it’s actually pretty cool and powerful. If you like objects, you’ll probably get along with it well.
However, most MongoDB implementations are pretty awful, because relational databases exist and those habits are hard to break. When you try and shoehorn relational DB practices into MongoDB - it’s terribly painful and you’ll fight the database the entire time. It’s a bad experience and you’ll hate it.
The aggregation pipeline is incredible and the query interface, while wildly different than SQL is great to work with - provided you have properly shaped documents and records. Modeling our CMS data in Mongo actually resulted in a robust content block management system for an e-commerce platform I worked on for many years.
That being said, I’m happily recovering in PostgreSQL now and I’ve definitely missed the structure of SQL and relational databases.
View all comments
1
u/flyguy879 Oct 19 '24
If you take the time to learn mongo, it’s actually pretty cool and powerful. If you like objects, you’ll probably get along with it well.
However, most MongoDB implementations are pretty awful, because relational databases exist and those habits are hard to break. When you try and shoehorn relational DB practices into MongoDB - it’s terribly painful and you’ll fight the database the entire time. It’s a bad experience and you’ll hate it.
The aggregation pipeline is incredible and the query interface, while wildly different than SQL is great to work with - provided you have properly shaped documents and records. Modeling our CMS data in Mongo actually resulted in a robust content block management system for an e-commerce platform I worked on for many years.
That being said, I’m happily recovering in PostgreSQL now and I’ve definitely missed the structure of SQL and relational databases.