"To Embed or Not to Embed. That is the Question." Hamlet Data modeling is a well defined and mature field in relational database systems. The model provides a consistent framework for application developers to add and manipulate the data. Everything is great until you need to change. This lack of schema flexibility was a key trigger NoSQL database systems. As we've learned before , both MongoDB and Couchbase are JSON based document database. JSON gives the developers the schema flexibility; the indexes, collections, query engine provide access paths to this data; the developer uses MQL in MongoDB and N1QL in Couchbase to query this data. Let's compare the modeling methods in Couchbase. Note: T his article is short because the modeling options are similar. That's a good thing. Some differences in modeling options, access methods and optimizations are highlighted below. Query processing on JSON Comparison of modeling options and featu...
A blog about all things data and data processing issues and interests. SQL, NoSQL, flexible schema, scale-up, scale-out, transactions, high availability.