3 ms·
Any data can be modelled in a relational way, I guess. It doesn't mean it's the best representation. Try modelling a cyclic graph in a relational way and you'l
by growse 9y ago
Any data can be modelled in a relational way, I guess. It doesn't mean it's the best representation.
Try modelling a cyclic graph in a relational way and you'll quickly tie yourself in knots trying to update and query it.
The point is, relational databases a great for storing data that you've decided to model relationally. If you decide not to, then you probably want some other sort of database.
- gaius 9y agoThe point is, relational databases a great for storing data that you've decided to model relationally. If you decide not to, then you probably want some other sort of database. Sure. But that database is not MongoDB.
- growse 9y agoOh, I totally agree! The "you only need relational databases" mantra bugs me though, because it's so obviously not true.
- mygo 9y agosuch a naive outlook. MongoDB has two things that are being incredibly overlooked right now: 1- company stability. So you don't have to redo your database in 3 years. 2- developer community / pervasiveness. So you have an easier time integrating it into your projects, even with its technical shortcomings. I bet two years ago there was someone out there saying "if you're going to do NoSQL you better use RethinkDB over MongoDB" How great the technology is, is absolutely not the only factor. Good thing people can take in many different factors when making their decisions.