-
Notifications
You must be signed in to change notification settings - Fork 0
Data Modeling
Jaafar Alkaales edited this page Aug 5, 2024
·
1 revision
Understanding workload helps in deciding on the relationship between entities. Based on the relationship we can also decide to reference or embed documents.
Read Operations: Retrieving documents from the Database.
Write Operations: Adding new docuemnts to the database or updating or deleting documents.
The conceptual model defines the high-level entities and relationships within the system.

The physical model specifies how data is stored in the database. It translates the conceptual model into actual database structures. In MongoDB, and based on the workload we decide whether to use embedded documents or references for relationships.
