Disadvs of NoSql DBs
Disadvantages of NoSQL DBs 1. The Death of the "True" Join In NoSQL, native cross-collection relationships do not exist . In an RDBMS, you normalize data across tables and link them using foreign keys. MongoDB: While you can use the $lookup aggregation stage to perform a left-outer join, it is highly resource-intensive. If your query filters heavily on non-indexed joined fields, performance degrades rapidly. Cosmos DB: It does not support joining data across separate containers natively. To join data, you must self-join within the same item, query collections separately in application code, or completely change your architecture to de-normalize your data. 2. Duplicate Data and Memory Bloat NoSQL is to duplicates data across multiple documents. Data Duplication: If a user updates their username, your application code must hunt down and update that string across every single order, comment, and document where it was copied....