source: https://dev.to/geetcloud/azure-cosmos-db-mongo-db-embedding-vs-reference-81p

Schema-less Databases similar to Mongo DB help us design models, store and query data easily and rapidly. But it is very important to understand, design and create the right schema design for your application which has great impact on the performance, scalability, costs etc.

Below are the key factors we need to consider before start designing our data models in Mongo DB.

  • Understand the difference between Normalized/Relational database to a Schema-less Mongo/Azure Cosmos DB
  • Is our application read or write heavy
  • How to model data in a schema-less database?
  • In which scenarios we need to embed data and which scenarios we need to refer to data?

Read more..


This free site is ad-supported. Learn more