What is data modeling? It is the process of designing how data is structured, related and stored so that it can be understood, used and maintained. A data model is a blueprint, showing the things a business cares about, such as customers, orders and products, the attributes of each and how they connect. Good modelling prevents duplicated, inconsistent and hard to query data, and it is the foundation for databases, warehouses, integrations and analytics. This guide explains data modeling, the three levels of models, common techniques, how to build a model step by step and the mistakes that cause costly rework.
Short answer: Data modeling turns business concepts into a structured design. It moves from a conceptual model of business entities, to a logical model that defines attributes and keys, to a physical model for a chosen database. Different goals need different techniques, such as normalised models for transactions and star schemas for analytics.
What is data modeling?
The data modeling article on Wikipedia describes it as defining the data elements and the relationships between them. Every system has a model, whether or not anyone drew it. Drawing it deliberately lets stakeholders agree on meaning before code is written, and it is cheaper to correct a diagram than a production database. Modelling underpins databases, SQL queries and the data warehouse designs that support reporting.
The three levels of data model

| Level | Audience | Content | Example |
|---|---|---|---|
| Conceptual | Business stakeholders | Main entities and relationships, no technical detail | Customer places Order |
| Logical | Analysts and architects | Attributes, keys and rules independent of a database product | Customer has customer id, name, email |
| Physical | Developers and database administrators | Tables, columns, data types, indexes and partitions for a platform | customers table with integer id and varchar email |
Key data modeling concepts
| Concept | Meaning | Example |
|---|---|---|
| Entity | A thing of interest to the business | Customer, product, invoice |
| Attribute | A property of an entity | Customer email |
| Primary key | Unique identifier of a record | customer_id |
| Foreign key | A reference to a record in another table | order.customer_id |
| Relationship and cardinality | How entities relate: one to one, one to many, many to many | A customer has many orders |
| Normalisation | Removing redundancy by splitting data into related tables | Keep address in one place |
| Denormalisation | Combining data for faster reads | Wide reporting table |
Common data modeling techniques
| Technique | Best for | Notes |
|---|---|---|
| Entity relationship modeling | Transactional databases | Normalised structure, supports data integrity |
| Dimensional modeling, star schema | Reporting and analytics | Facts and dimensions, fast queries. See what is a data warehouse |
| Data vault | Warehouses with many changing sources | Hubs, links and satellites keep full history |
| Document and graph models | Flexible or highly connected data. See what is NoSQL | Different shape for different workloads |
| Canonical data model | Integration between many systems. See what is system integration | One shared format reduces point to point mappings |
How to build a data model step by step
- Gather requirements. Interview users and review reports and processes to find the questions the data must answer.
- Identify entities. List the core things the business tracks and agree names and definitions.
- Define relationships. Decide how entities relate and the cardinality of each relationship.
- Add attributes and keys. Specify the attributes, identifiers and rules such as which fields are mandatory.
- Choose the approach. Use a normalised model for transactions, a dimensional model for analytics, or another pattern for the need.
- Create the physical design. Select data types, indexes and partitions for the target platform.
- Validate and iterate. Walk through the model with users and developers, test with sample data and update as needs change.
Benefits of good data modeling
- Shared understanding of business concepts between technical and non technical people.
- Better data quality through enforced keys, types and relationships. See data quality.
- Faster development because the structure is agreed in advance.
- Easier integration and migration, since mappings are based on documented meaning. See what is data migration.
- Improved performance through suitable structures and indexing.
- Lower long term cost, because changing a diagram is cheaper than changing a live system.
Common data modeling mistakes
- Starting at the physical level before agreeing business meaning.
- Over normalising analytical data so every report needs many joins.
- Using meaningless or inconsistent names, such as field1 or cust_nm in one table and customer_name in another.
- No history: overwriting values that the business needs to track over time.
- Ignoring how data will be queried, which leads to slow reports.
- Letting the model drift from reality with no owner or version control.
Our data warehousing service designs dimensional and data vault models, our system integration service builds canonical models between systems and our data analytics service models data for reporting and machine learning.
A worked example: modelling subscriptions
A software company sells monthly and annual subscriptions, with upgrades, discounts and cancellations. Its first system stored one row per customer with a current plan, so finance could not answer how many customers were on each plan last quarter. The team designs a new model. Customer, plan and subscription are separate entities, a subscription has a start date, an end date and a price, and each change creates a new row rather than overwriting the old one.
For reporting, a star schema has a subscription fact table and dimensions for customer, plan and date. Monthly recurring revenue, churn and upgrade rates can now be calculated for any past period with simple queries. The modelling workshop also uncovers that sales and finance define cancellation differently, which is fixed in the glossary before anything is built. Eighteen months later, adding a new bundled product needs a new dimension value and no redesign, which is the real benefit of a well thought out model.
Tools and documentation
- Diagramming and modelling tools such as ER diagrams in a design tool or dedicated software.
- Version control for schema scripts and migration files.
- A data dictionary that records the meaning, owner and source of every field.
- Automated tests that check keys, null rules and relationships.
- A catalog so others can find and reuse existing models. See what is a data catalog.
Modeling for history and change
| Pattern | How it works | Use when |
|---|---|---|
| Overwrite | Replace the old value | History is not needed |
| Add a new row with dates | Keep start and end dates for each version of a record | You must report as things were at any date |
| Add a previous value column | Keep the current and one earlier value | Only the last change matters |
| Event table | Record every change as an event | You need a full audit trail |
Slowly changing dimensions, as these patterns are called in warehouse design, are one of the most common sources of reporting errors. If a customer moves from one region to another, should past sales be reported under the old or the new region? The answer is a business decision that must be made during modelling, not discovered after the first board report.
Review checklist for a data model
- Does every entity have a clear definition and an owner?
- Can each record be identified uniquely and reliably?
- Are relationships and their cardinality correct and documented?
- Are names consistent, readable and free from abbreviations nobody understands?
- Does the design support the most important queries efficiently?
- Is history handled in the way the business needs?
- Are sensitive fields identified and protected?
Key takeaways
- Data modeling designs how data is structured and related.
- Conceptual, logical and physical models move from business meaning to implementation.
- Choose normalised, dimensional or other techniques to match the workload.
- Agree definitions with the business before designing tables.
- Keep models documented, versioned and aligned with how data is used.
Quick glossary
| Term | Meaning |
|---|---|
| Entity | A thing the business tracks |
| Cardinality | How many records relate to how many |
| Normalisation | Reducing redundancy by splitting tables |
| Star schema | A fact table surrounded by dimensions |
| Data dictionary | A catalog of fields and their meanings |
Read next: BigQuery vs Snowflake: Which Cloud Data Platform? · BigQuery Streaming Inserts: Real-Time Ingestion Guide · BigQuery Access Control: IAM, Policy Tags and Row Security
Frequently asked questions
What is data modeling in simple terms?
It is designing how data will be organised, including what things you store, their details and how they relate, so systems and people can use it reliably.
What are the three types of data model?
Conceptual models show business entities, logical models add attributes and keys, and physical models define tables and columns for a specific database.
What is the difference between normalisation and denormalisation?
Normalisation splits data into related tables to remove duplication and protect integrity. Denormalisation combines data to make reading and reporting faster.
What is a star schema?
A star schema is a dimensional model with a central fact table of measurements linked to dimension tables that describe them. It is common in data warehouses.
What is an entity relationship diagram?
An entity relationship diagram shows entities as boxes and their relationships as lines, often with cardinality, to describe a database design visually.
Why is data modeling important?
It creates shared understanding, improves data quality, speeds development, simplifies integration and avoids expensive redesign later.
Who creates data models?
Data architects, data modelers, analysts and engineers, working with business stakeholders who supply the meaning and rules.
Do NoSQL databases need data modeling?
Yes. They are flexible, but designing document shapes, keys and access patterns carefully is still essential for performance and consistency.
