4 ms·
Thanks, that's exactly the answer I was looking for. For some reason, I was under the impression that simplifying queries was actually a design goal of NoSQL wh
by olalonde 17y ago
Thanks, that's exactly the answer I was looking for. For some reason, I was under the impression that simplifying queries was actually a design goal of NoSQL whereas it really is about scalability and performance... right?
- justinsb 17y agoYes - that's my understanding of the goal of NoSQL. As for whether they've achieved it, that's a more complex question :-)
- cperciva 17y agoNoSQL simplifies queries to the extent that it makes complex queries impossible and thereby forces people to design their data structures in such a way as to allow them to do everything they need using only simple queries. :-)
- justinsb 17y agoThat's a great way to look at it. The problem here comes when you want to add a new feature, and you find that your design doesn't allow for the new queries needed. The relational model and data normalization are reasonable at stopping you painting yourself into a corner, and SQL's bulk data manipulation operations can get you out of trouble. With NoSQL, you're on your own, which is great for those that are infallible and omniscient. Ironically enough, I think that means that only Larry Ellison should be using NoSQL, to twist the well known joke.
- richcollins 17y agoHow are complex queries impossible? You could easy write a declarative language for querying graphs.