Skip to content

Data Modeling

Jaafar Alkaales edited this page Aug 5, 2024 · 1 revision

Conceptual Data Modeling

Database Workload

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.

Conceptual Data Model - Workload

Conceptual Data Model

The conceptual model defines the high-level entities and relationships within the system.

Conceptual Data Model - Conceptual Model

Physical Data Model

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.

Physical Data Model

Clone this wiki locally