Logical data model focuses on data organization
Customer
, Product
, Order
.Customer
entity has attributes like CustomerID
, Name
, Email
.Customer
places an Order
.Customer
, Product
, Order
.Customer
has CustomerID
, Name
, Email
.Customer
places an Order
.Customer
table into Customer
and Address
tables.CustomerID
is the primary key for the Customer
table.Aspect | Logical Data Model | Physical Data Model |
---|---|---|
Purpose | Focuses on what data is needed and how it should be organized. | Focuses on how data will be stored and accessed in a specific DBMS. |
DBMS Dependency | Independent of any specific DBMS. | Dependent on a specific DBMS (e.g., MySQL, Oracle). |
Level of Detail | High-level, conceptual. | Low-level, implementation-specific. |
Audience | Business analysts, stakeholders. | Database administrators, developers. |
Normalization | Emphasizes normalization for data integrity. | May denormalize for performance optimization. |