Logical Data Models: Structure and Relationships
Add precision to a conceptual model without locking into physical storage.
A logical data model describes the information structure and business rules in enough detail for review, while remaining independent of a particular physical database implementation.
What a logical model contains
- Entities and attributes with definitions.
- Candidate identifiers and key constraints.
- Relationships, cardinalities and optionality.
- Data domains and rules such as allowed statuses.
- History requirements and ownership where relevant.
Refine a conceptual model
Take a concept such as Order. Define what makes an order unique, which attributes are needed, what its lifecycle is, how it relates to customers and lines, and which values are required. Separate attributes that describe an event from attributes that describe the entity's current state.
| Question | Logical decision |
|---|---|
| How is an order recognized? | Choose an identifier with explicit scope |
| Can it exist without a customer? | Define relationship optionality |
| Can its status change? | Define allowed states and history |
| Can it have multiple products? | Model order lines and their grain |
Keep logical and physical decisions separate
The logical model can say an amount has a currency and a defined precision requirement; the physical model chooses platform-specific types and storage settings. The logical design can require a unique order number within a source; the physical design determines how the target platform enforces and indexes it.
Validate the model
- Definitions are understandable outside the modeling team.
- Identifiers and relationships are precise enough to test.
- Rules cover exceptions and lifecycle changes.
- Source mappings and unresolved assumptions are visible.
- Consumers can trace fields to the business questions they support.
Related guides
- Conceptual Data Models: Concepts and Examples
- Physical Data Models: Tables and Storage
- Relational Data Modeling Foundations
Build a logical model step by step
Begin with the reviewed concepts and events from discovery. For each one, write a definition and state whether it has an independent identity. Add attributes that support the required use cases, not every value found in a source system. Define relationships in both directions, including minimum and maximum counts, then identify rules that must always hold.
- Write a grain or identity statement for every entity and event.
- Choose candidate keys and explain their scope and stability.
- Resolve one-to-one, one-to-many and many-to-many relationships.
- Specify required, optional, unknown and not-applicable values.
- State how time, corrections and lifecycle transitions are represented.
- Test the model with representative examples and invalid cases.
For an order process, “one row per order line” is a meaningful grain statement; “order detail” is not. The model may need Order, Order Line, Product and Shipment Event, with explicit references and quantities. If a line can be split across shipments, the relationship between line and shipment is many-to-many and may require an allocation or shipment-line entity.
Review logical structure with precise questions
Can two rows represent the same real-world identity? If yes, is that allowed or a quality failure? Can an entity exist before all optional details arrive? Does a relationship change over time, and if so, do consumers need the prior relationship? Are calculated values stored, derived or both? Which source owns a fact when systems disagree?
Resolve these questions before platform optimization because they affect keys, cardinality, history and constraints. A logical model can remain platform independent while still being precise about data types in the abstract, such as a currency amount with stated precision or an instant with defined timezone semantics.
Model identity and history separately
A technical primary key identifies a row, while a business key identifies a concept according to domain rules. They may be the same, but do not assume so. If a source key can change, be reused or differ across systems, retain mappings and scope. If a relationship needs history, represent the association's validity rather than overwriting it without discussion.
For events, capture when something happened separately from when the platform learned about it when both matter. A late-arriving event can change a historical view. Define whether reports use event time, processing time or a correction policy, and create examples around time boundaries.
Validate through walkthroughs
Review the model with at least one business participant and one intended consumer. Walk through a normal case, a partial or repeated case, an exception and a correction. For each case, identify which records are created or changed and what a query would return. Then have a reviewer generate a question the model should answer and check whether the relationship path is unambiguous.
- Every entity and event has a definition and identity or grain.
- Relationships include cardinality and optionality.
- Constraints and lifecycle behavior can be tested.
- Time and history match stated consumer needs.
- Source mappings and unresolved assumptions are visible.
When logical review is complete, map the design to Physical Data Models: Tables and Storage and record platform-specific decisions separately.
Review logical model traceability
Link entities and relationships to business definitions, source requirements, and implementation constraints. Confirm keys, cardinality, optionality, and lifecycle. Keep assumptions and alternatives visible to reviewers.
When implementation diverges, document why and verify that consumers still receive the required meaning. Update the logical model as the domain changes.