The Data Modeling & Architecture Field Guide
A working-knowledge reference on two terms people use almost interchangeably and shouldn't: what each one actually means, how they relate, the principles and best practices behind both, how they survive contact with an Agile team, the tools people actually use (and the free ones), and the questions you're likely to be asked.
The Distinction
The single question interviewers use to check you actually understand both terms.
Data architecture is the macro-level blueprint: the systems, storage technologies, data flows, integration patterns, and standards that describe how data moves and is held across an entire organization or platform. It answers questions like "where does data live," "how does it get from source systems to the people who need it," "who owns which pipeline," and "what technology do we standardize on." It's closer to city planning or the structural design of a building — roads, zoning, utilities, load-bearing walls.
Data modeling is the micro-level structural definition: how the data itself is organized inside a given system or database — its entities, attributes, relationships, keys, and constraints. It answers questions like "what is a customer," "how does an order relate to a payment," "what grain does this fact table need," and "should this be normalized or denormalized." It's closer to the floor plan of one specific room — where the walls, doors, and wiring for that room go.
Data architecture asks
Where should this data live? Batch or streaming? Warehouse, lake, or lakehouse? Who owns this domain? What's our disaster recovery story? How do fifty systems agree on one customer identity?
Data modeling asks
What's the grain of this table? Is this a one-to-many or many-to-many relationship? Should this be a slowly changing dimension? What's the primary key? Third normal form, or a wide denormalized mart?
The two are deeply related and constantly confused because good architecture creates the conditions for good modeling, and bad modeling can undermine even well-designed architecture: an organization can have a beautifully planned lakehouse architecture and still produce an unusable, undocumented, inconsistent data model inside it, and conversely a brilliantly designed dimensional model is only as good as the pipeline architecture that reliably lands trustworthy data behind it.
| Data Architecture | Data Modeling | |
|---|---|---|
| Scope | Enterprise or platform-wide | A specific database, domain, or dataset |
| Typical artifact | Reference architecture diagram, technology standards, data flow diagram | ER diagram, star schema, Data Vault model, DDL |
| Primary concern | Where data lives, how it flows, who's accountable, what technology is used | How entities relate, what the grain is, how history is tracked |
| Who typically owns it | Data/enterprise architect, platform engineering | Data modeler, analytics engineer, sometimes a DBA |
| Changes how often | Slowly — architectural decisions are expensive to reverse | More frequently — models evolve as business questions evolve |
| Building analogy | City planning / structural engineering | Interior floor plan of one room |
If asked to distinguish the two in one sentence: "Architecture decides where data lives and how it flows across systems; modeling decides how the data is structured within a given system — architecture is the plumbing and the floor plan of the whole building, modeling is the wiring diagram of one room." Being able to give a concrete example of each in the same sentence (as above) reads as far stronger than reciting definitions.
Data Modeling Concepts
The vocabulary and paradigms that come up in almost every modeling conversation.
Conceptual, logical, and physical models
Modeling is conventionally done at three levels of increasing detail, each aimed at a different audience:
A conceptual model is deliberately implementation-free — it's a tool for agreeing with business stakeholders on what the important "things" are and how they relate, before anyone talks about tables. A logical model adds attributes, primary/foreign keys, cardinality, and normalization, but is still database-agnostic — the same logical model could become a Postgres schema or a Snowflake schema. A physical model is where it becomes real: actual data types, indexes, partitioning strategy, and the DDL a specific engine will run.
Normalization, keys, and cardinality
Normalization is the discipline of structuring tables to minimize data redundancy and avoid update/insert/delete anomalies, achieved through a series of "normal forms":
| Form | Rule |
|---|---|
| 1NF | Every column holds atomic (indivisible) values, and each row is uniquely identifiable — no repeating groups. |
| 2NF | 1NF, plus every non-key attribute depends on the whole primary key, not just part of a composite key. |
| 3NF | 2NF, plus no non-key attribute depends on another non-key attribute (eliminating transitive dependencies). |
| BCNF | A stricter version of 3NF: every determinant (anything another column depends on) must be a candidate key. |
Denormalization deliberately reintroduces redundancy — duplicating data or pre-joining tables — to optimize for read performance and query simplicity, which is exactly what analytical/dimensional models do on purpose. The practical rule of thumb: normalize where you write a lot and correctness matters most (OLTP systems), denormalize where you read a lot and query speed/simplicity matters most (analytical marts).
Cardinality describes how many instances of one entity relate to instances of another — one-to-one, one-to-many, or many-to-many — and is usually the first thing to get right in any relationship, since getting it wrong (treating a many-to-many as one-to-many, for instance) silently produces duplicated or dropped rows downstream.
Modeling paradigms
Different problems call for different modeling styles — knowing when to reach for which is a stronger signal than deep expertise in only one.
Entity-Relationship (ER) modeling
The classic relational approach: entities (tables), attributes (columns), and relationships (foreign keys), typically normalized to 3NF. Dominant for transactional (OLTP) systems where data integrity and avoiding update anomalies matter more than query simplicity. Notation is usually Chen (entities as boxes, relationships as diamonds) or Crow's Foot (relationship cardinality shown as line endings — see the cheat sheet).
Dimensional modeling (Kimball)
The dominant paradigm for analytical warehouses: a central fact table (the measurable events — orders, clicks, transactions, at a specific grain) surrounded by dimension tables (the descriptive context — customer, product, date) it joins to. A star schema has dimensions denormalized into single flat tables radiating directly off the fact table; a snowflake schema normalizes those dimensions further into sub-dimensions, trading some storage/simplicity for reduced redundancy. Conformed dimensions — the same dimension (e.g. a shared dim_date or dim_customer) reused consistently across multiple fact tables/subject areas — are what let separate business processes be compared and combined without contradicting each other.
Data Vault (2.0)
A modeling approach purpose-built for the historized, auditable integration layer of an enterprise warehouse, decomposing data into three core structures: Hubs (a business key and nothing else — the unique list of a business concept like "customer"), Links (the relationships/transactions between hubs), and Satellites (all the descriptive, time-versioned attributes hanging off a hub or link). Its selling point is that it's highly resilient to source-system change and naturally supports full historical auditability and parallel loading, at the cost of being far more verbose and requiring a further modeling step (typically a dimensional layer) before it's pleasant for business users to query directly.
Document / NoSQL and graph modeling
Document databases (MongoDB, DynamoDB) invert the normalization instinct: model around how the application will query the data, embedding related data into a single document to avoid joins, and only normalizing (referencing another document) where embedded data would grow unbounded or need independent updates. Graph modeling (Neo4j and similar) treats relationships as first-class citizens rather than foreign-key joins, which fits naturally for problems dominated by traversal — fraud rings, recommendation networks, org hierarchies — where a relational join-heavy model becomes unwieldy.
Data Architecture Concepts
The vocabulary of the macro-level blueprint.
Layers and a typical reference architecture
Nearly every modern data architecture, regardless of specific vendor, is describable as a chain of layers, and being able to name what happens at each one — and which tools typically live there — is close to table stakes:
| Layer | Purpose | Common technology |
|---|---|---|
| Source systems | Where data originates — application databases, SaaS tools, event streams, files. | Postgres/MySQL, Salesforce, Kafka, IoT devices |
| Ingestion | Moves data from sources into the platform, batch or streaming. | Fivetran, Airbyte, Kafka/Kinesis, Openflow |
| Storage | Durable, scalable landing zone for raw and processed data. | Data warehouse (Snowflake, BigQuery), data lake (S3 + Iceberg/Delta), lakehouse |
| Processing / transformation | Cleans, joins, and models raw data into trusted, analysis-ready structures. | dbt, Spark, Snowpark |
| Serving / semantic | Governed, business-friendly access to modeled data. | Semantic layers (dbt Semantic Layer, LookML), APIs, reverse ETL |
| Consumption | Where humans and systems actually use the data. | BI tools, ML models, embedded analytics, AI agents |
| Orchestration & governance | Cross-cutting: scheduling, lineage, cataloging, access control, quality monitoring — touches every other layer. | Airflow/Dagster, catalogs (DataHub, Collibra), IAM/RBAC |
Architectural patterns worth knowing by name
Layered / medallion architecture
Data progresses through successive quality tiers, most commonly named bronze (raw, as-landed, unmodified), silver (cleaned, conformed, deduplicated, lightly joined), and gold (business-level aggregates and marts ready for consumption). It's less a specific technology than a naming and governance convention — the same pattern maps directly onto dbt's staging/intermediate/marts layering — and a common recent refinement pairs Data Vault at the silver layer (for auditable, resilient integration) with dimensional modeling at gold (for consumption-friendly marts).
Lambda and kappa architecture
Lambda architecture runs two parallel paths — a batch layer for accuracy over the full historical dataset and a speed/streaming layer for low-latency approximate results — merging both at serving time; it solves the batch-vs-real-time tension but at the cost of maintaining two codebases doing conceptually the same transformation. Kappa architecture simplifies this by treating everything as a stream, including reprocessing historical data by replaying the stream from the beginning, avoiding the dual-codebase problem at the cost of requiring a stream-processing platform capable of that replay at scale.
Data mesh
A decentralization pattern that treats data as a product owned by the domain teams closest to it (marketing owns marketing data, logistics owns logistics data) rather than centralized in one data team's monolithic platform, governed by four principles: domain-oriented ownership, data-as-a-product (with discoverability, quality, and documentation as first-class requirements), a self-serve data infrastructure platform, and federated computational governance (global standards enforced automatically, not manually by a central gatekeeper). It's the organizational/architectural analogue of dbt Mesh at the modeling-tool level, and the two often appear together.
Data fabric
An architecture emphasizing a unified metadata and integration layer — often AI/ML-augmented — that connects and virtually unifies data across many heterogeneous, distributed systems without necessarily physically moving or centralizing it. Where data mesh is primarily an organizational/ownership pattern, data fabric is primarily a technology/integration pattern; the two are complementary rather than competing and are frequently confused in interviews specifically because vendors marketing "data fabric" products often borrow data mesh's organizational language.
Governance, MDM, and metadata
Master Data Management (MDM) establishes one authoritative version of core business entities (a single "customer" record, not five slightly different ones across five systems) typically via matching/merging rules and a golden-record store. Metadata management — technical metadata (schemas, types), operational metadata (lineage, freshness, run history), and business metadata (definitions, ownership, glossary terms) — is what makes a large data estate navigable and trustworthy, usually centralized in a data catalog. Both are architecture-layer concerns that directly determine whether the models built on top of them are trustworthy or just consistent-looking.
The DAMA-DMBOK (Data Management Body of Knowledge) is the closest thing the field has to an industry-standard reference framework, organizing data management into eleven knowledge areas (data governance, data architecture, data modeling and design, data storage and operations, data security, data integration, master and reference data, data warehousing and BI, metadata, document and content management, and data quality) around a "wheel" with governance at the center. It's worth knowing the name and the rough shape even if you've never worked somewhere that formally adopted it — architecture and modeling are explicitly two of its eleven distinct knowledge areas, which is itself decent evidence for why they're treated as related-but-separate disciplines.
Principles & Best Practices
What good practitioners actually do differently, in both disciplines.
Data modeling principles
- Model the business, not the source system. A logical model should reflect how the business actually talks about its concepts, not the accidental structure of whatever CRM or ERP happens to store it today.
- Get the grain right before anything else. Every fact table needs an unambiguous answer to "what does one row represent" — most dimensional modeling bugs trace back to an unclear or accidentally-changed grain.
- Normalize for write-heavy correctness, denormalize for read-heavy speed — and be explicit about which goal a given model is optimizing for, rather than normalizing or denormalizing out of habit.
- Use conformed dimensions so separate fact tables/business processes can be compared without redefining "customer" or "date" three different ways.
- Design for slowly changing dimensions deliberately — decide up front whether a changing attribute should overwrite history (Type 1), preserve it (Type 2), or track both current and prior values in one row (Type 3), rather than discovering the need mid-project.
- Document the model as you build it — column-level descriptions and clear naming conventions pay for themselves the first time someone outside the original team needs the data.
- Version your schemas — treat breaking changes to a shared table's structure with the same care as a breaking API change, since downstream consumers you don't know about may depend on it.
Data architecture principles
- Decouple storage from compute, and decouple layers from each other — so any one component (a warehouse, an orchestrator, a BI tool) can be replaced without a full re-architecture.
- Design for change, not for a single anticipated future state — data volumes, source systems, and consumption patterns all shift faster than most architectural decisions anticipate; prefer patterns that are cheap to evolve over ones that are theoretically optimal for today's known requirements.
- Build quality and governance in, not on — testing, lineage, and access control designed into the pipeline from the start are far cheaper than retrofitting them after a trust incident.
- Prefer boring, well-understood technology at the core, and spend novelty budget only where it creates real differentiated value — architecture decisions are expensive to reverse, and the ecosystem/talent-pool effects of a mainstream choice compound over years.
- Make cost a first-class design constraint, not an afterthought discovered on the first invoice — separated storage/compute pricing models make it easy to accidentally build something technically elegant and financially unsustainable.
- Federate ownership where the organization has outgrown a single central team — a data mesh-style domain ownership model isn't automatically better, but a single central team inevitably becomes a bottleneck past a certain organizational size.
- Treat the architecture itself as documented and versioned — architecture decision records (ADRs) that capture what was decided and why turn "why is it built this way" from oral history into a searchable artifact.
Doing This in an Agile Project
Both disciplines have an uncomfortable relationship with two-week sprints — here's how good teams reconcile it.
Classic data modeling and architecture practice grew up in a waterfall world: model everything up front, get it signed off, then build. Agile's iterative, incremental philosophy is in real tension with that — but the resolution isn't "skip modeling and architecture," it's doing both in a deliberately lighter-weight, just-in-time way.
"Just enough" modeling, not big design up front
Rather than fully modeling an entire domain before any code is written, model only what the current sprint or increment actually needs, at the lowest level of formality that's useful — a whiteboard sketch or an ER diagram in a 30-minute model storming session with the team, rather than a fully worked physical model with every future column anticipated. The model is expected to evolve as real requirements surface, and that's treated as normal iteration rather than a planning failure.
Evolutionary architecture and fitness functions
The architectural analogue is evolutionary architecture: instead of a fixed target architecture designed once, the architecture is expected to change incrementally as requirements emerge, guarded by fitness functions — automated checks (a CI test verifying a service still meets a latency SLA, a lint rule preventing a new dependency between modules that should stay decoupled) that catch a change that would violate an important architectural property, so the team can move fast without the architecture silently eroding underneath them.
Making data work fit into sprints and backlogs
- Write data user stories the same way as any other story — "As an analyst, I want a conformed
dim_customerso that marketing and finance reports agree" — rather than letting modeling work hide as an invisible prerequisite to a "real" feature story. - Use spike stories for genuinely unknown modeling or architectural questions (e.g. "investigate whether this source system's data supports the grain we need") before committing to an estimate on the story that depends on the answer.
- Include model/schema review in the Definition of Done for any story that changes a shared table — a small, fast review step catches a grain mistake or a broken conformed dimension before it ships, at a fraction of the cost of fixing it after three dashboards depend on it.
- Embed a data architect or lead modeler in the squad rather than routing every schema decision through a separate architecture-review board with its own queue — the review still happens, but synchronously and inside the team's own cadence instead of as an external gate.
- Use architecture decision records (ADRs) as lightweight, sprint-compatible documentation — a one-page "we chose X over Y because Z" captured at decision time, not a heavyweight architecture document maintained separately from the code.
- Adopt data contracts between producer and consumer teams as the agile-compatible substitute for a big upfront enterprise data model — each team commits to a stable, versioned interface for the data it owns, and downstream teams build against that contract rather than waiting for a fully centrally-modeled data platform.
"Agile" is sometimes used to justify skipping modeling and architecture entirely — shipping tables with no documented grain, no naming convention, and no thought given to how today's shortcut will be queried by three more teams next quarter. That isn't agile, it's just accumulating technical debt under an agile label. The actual agile answer is iterative modeling and architecture — done continuously in small increments — not absent modeling and architecture.
Tools & Free Options
What practitioners actually reach for, and what costs nothing.
Data modeling tools
| Tool | Type | Notes |
|---|---|---|
| erwin Data Modeler | Commercial | Long-standing enterprise standard for ER modeling, strong in regulated/large enterprise environments. |
| ER/Studio | Commercial | Similar enterprise positioning to erwin; strong metadata/glossary integration. |
| SqlDBM, Vertabelo | Commercial (free tiers) | Browser-based modeling tools popular with analytics engineering teams; reverse-engineer schemas from an existing warehouse. |
| Hackolade | Commercial (free tier) | One of the few tools purpose-built for NoSQL/document/graph schema modeling, not just relational. |
| dbdiagram.io | Free | Simple text-to-ER-diagram tool (a small DSL compiles to a diagram); very popular for quick, shareable logical models. |
| QuickDBD | Free tier | Similar text-to-diagram approach to dbdiagram.io. |
| draw.io / diagrams.net | Free, open source | General-purpose diagramming with ER shape libraries; no schema intelligence, but zero cost and works entirely offline. |
| Mermaid (erDiagram) | Free, open source | Diagrams-as-code in Markdown; renders natively in GitHub, GitLab, Notion and many other tools — good for keeping a model diagram version-controlled next to the DDL it describes. |
| pgModeler | Free / open source core | Open-source physical modeling tool specifically for PostgreSQL, generates and reverse-engineers real DDL. |
| dbt | Free (Core/Fusion) | Not a diagramming tool, but arguably today's most common vehicle for actually implementing and enforcing a physical/dimensional model in a warehouse, including tests and documentation. |
Data architecture & enterprise modeling tools
| Tool | Type | Notes |
|---|---|---|
| Sparx Enterprise Architect | Commercial | Broad enterprise architecture tool supporting ArchiMate, UML, and BPMN alongside data architecture views. |
| Archi | Free, open source | Open-source ArchiMate modeling tool — a genuinely free way to produce standards-compliant enterprise architecture diagrams. |
| LeanIX, Ardoq | Commercial (SaaS) | Enterprise architecture management platforms with data architecture and application-landscape mapping. |
| DataHub | Free, open source | Open-source metadata platform/data catalog with lineage, originally built at LinkedIn; a common free alternative to commercial catalogs. |
| Amundsen | Free, open source | Another open-source data catalog/discovery tool, originally built at Lyft. |
| OpenMetadata | Free, open source | Newer open-source metadata/catalog/lineage/quality platform, increasingly popular as an all-in-one governance layer. |
| Collibra, Alation | Commercial | Enterprise data governance/catalog platforms common in large, regulated organizations. |
| Cloud reference architectures (AWS, Azure, GCP) | Free to read | Each major cloud publishes detailed, free reference architectures for data platforms — a legitimate, no-cost way to study real-world architectural patterns. |
| Terraform / Pulumi | Free, open source core | Infrastructure-as-code tools that let an architecture's actual implementation (warehouses, storage buckets, IAM) be version-controlled and reviewed like any other design artifact. |
You don't need an enterprise license to practice either discipline seriously: sketch conceptual and logical models for free in Mermaid or draw.io, implement and test the physical model for free with dbt Core/Fusion against DuckDB or a free-tier warehouse trial, and study real reference architectures for free directly from AWS/Azure/GCP's own published documentation. The paid tools mostly buy convenience, collaboration features, and enterprise governance integration — not capability you can't get for free at learning or small-team scale.
Use Case Examples
Concrete scenarios that show the two disciplines working together.
1. A new SaaS product needs its first data platform
Architecture decision: ingest via a managed ELT tool into a cloud warehouse, transform with dbt, serve through a BI tool — a deliberately simple, well-understood stack rather than a bespoke streaming platform the team doesn't yet need. Modeling decision: a straightforward dimensional model (a handful of fact tables for core events, conformed customer/date/product dimensions) rather than a full Data Vault, since the integration complexity and auditability Data Vault solves for aren't yet real problems at this scale.
2. A bank must integrate twelve core banking systems acquired through mergers
Architecture decision: a hub-and-spoke integration layer with strong governance and lineage, since regulatory audit requirements make "how did this number get here" a first-class question. Modeling decision: Data Vault at the integration layer specifically because of its resilience to constantly-changing, inconsistent source systems and its built-in historical auditability, with a dimensional layer built on top for the actual reporting/BI consumers who shouldn't have to understand Hubs and Links.
3. Five product teams each need to move fast without a central bottleneck
Architecture decision: a data mesh-style pattern — each team owns and publishes its own domain's data as a governed product against shared platform standards, rather than filing tickets against one central data team. Modeling decision: each domain team models its own fact/dimension tables independently but must publish them against a shared, federated set of conformed dimensions (a common dim_customer, for instance) so cross-domain analysis still works.
4. A recommendation engine needs to reason about a social graph
Architecture decision: a graph database sits alongside the primary analytical warehouse specifically for this workload, rather than forcing a fundamentally relationship-heavy problem into join-heavy relational tables. Modeling decision: a graph model with people/products as nodes and interactions as edges, since traversal queries (find friends-of-friends who bought X) are what the graph paradigm is built for and a relational join chain would be for.
5. Two departments each compute "active customer" differently
Architecture decision: introduce a governed semantic layer as the single point every BI tool queries through, rather than letting each department's dashboard re-derive the definition independently. Modeling decision: a conformed dim_customer and a single, explicitly documented definition of "active" encoded once in the semantic model, replacing two silently-diverging spreadsheet definitions.
Interview Questions & Answers
Organized from fundamentals to systems-design-style scenario questions. Click any question to expand.
Fundamentals
fundamentalsWhat's the difference between data modeling and data architecture?
Data architecture is the enterprise or platform-wide blueprint — where data lives, how it flows between systems, what technology is standardized on, and who's accountable for which part. Data modeling is the structural definition of data within a specific system or dataset — its entities, attributes, relationships, keys, and grain. Architecture is closer to city planning; modeling is closer to a floor plan for one specific building.
fundamentalsExplain the difference between conceptual, logical, and physical data models.
A conceptual model captures entities and relationships in business language, with no reference to any specific database — its audience is stakeholders agreeing on what the important concepts are. A logical model adds attributes, keys, cardinality, and normalization, but is still technology-agnostic. A physical model adds the specifics of one database engine — data types, indexes, partitioning — and becomes actual DDL. Each level adds implementation detail and narrows the audience from business stakeholders toward engineers.
fundamentalsWhat is normalization, and when would you deliberately denormalize instead?
Normalization structures tables to minimize redundancy and prevent update/insert/delete anomalies, typically up to third normal form for transactional systems. Denormalization deliberately reintroduces redundancy — duplicating or pre-joining data — to optimize read performance and query simplicity. The rule of thumb: normalize where you write frequently and correctness matters most (OLTP), denormalize where you read frequently and query speed/simplicity matters most (analytical marts) — dimensional models are denormalized on purpose for exactly this reason.
fundamentalsWhat's the difference between a star schema and a snowflake schema?
Both are dimensional modeling layouts with a central fact table surrounded by dimension tables. In a star schema, each dimension is a single, denormalized flat table joined directly to the fact table. In a snowflake schema, dimensions are further normalized into sub-dimension tables (e.g. splitting a product dimension into product and product-category tables), reducing redundancy at the cost of extra joins and more complex queries. Star schemas are generally preferred for BI/query simplicity; snowflake schemas trade that simplicity for reduced storage and stricter normalization.
fundamentalsWhat is the "grain" of a fact table, and why does getting it wrong cause problems?
The grain is the precise definition of what a single row in a fact table represents — "one row per order line item," not just "one row per order." Every measure and every dimension join in that table must be true at that exact grain. Getting the grain wrong or ambiguous is one of the most common sources of dimensional modeling bugs: joining a dimension at the wrong grain silently duplicates or drops rows, and downstream aggregates end up subtly, sometimes catastrophically, wrong without any error being thrown.
Intermediate
intermediateWhen would you choose Data Vault over a straight dimensional model for a new warehouse?
Data Vault earns its complexity when you're integrating many source systems that change independently and frequently, when full historical auditability is a hard requirement (regulatory environments especially), or when you need to load data in parallel without complex dependency ordering. For a smaller number of stable sources without strict audit requirements, a straight dimensional model is usually simpler to build, query, and maintain — Data Vault's benefits mostly show up at integration complexity and scale that many organizations never actually reach, and it's frequently over-applied.
intermediateHow do you handle a slowly changing dimension, and how do you decide which SCD type to use?
Type 1 overwrites the old value with the new one, losing history — appropriate when the old value has no analytical value (correcting a typo in a name). Type 2 inserts a new row with validity date ranges, preserving full history — appropriate when you need to analyze facts "as they were" at the time (what region was this customer in when they churned). Type 3 adds a "previous value" column alongside the current one — a lightweight compromise appropriate only when you need exactly one prior value, not a full history. The decision comes down to what question the business will actually need answered about how that attribute changes over time.
intermediateWhat's the difference between data mesh and data fabric, and why do people confuse them?
Data mesh is primarily an organizational and ownership pattern: domains own their own data as a product, governed by federated, automated standards rather than a central team. Data fabric is primarily a technology and integration pattern: a unified metadata layer that connects and virtually unifies data across many systems, often with AI/ML assistance, without necessarily centralizing it physically. They're complementary, not competing, but get confused because vendors selling data fabric products frequently borrow data mesh's organizational vocabulary in their marketing, and because both are reactions to the same underlying problem — a single centralized data team becoming a bottleneck.
intermediateHow would you design a schema to support both fast-changing operational reporting and stable historical analysis?
Layer it rather than trying to solve both with one model: land raw, unmodified data (bronze), build a conformed, deduplicated, historically-tracked integration layer (silver — often where SCD Type 2 tracking or Data Vault-style structures live), then build purpose-built, denormalized dimensional marts (gold) tuned for the specific reporting needs of each consumer. Fast-changing operational reporting can read from a near-real-time layer with simpler Type 1 handling where history doesn't matter, while historical analysis reads from Type 2-tracked structures — the layering lets you make different modeling trade-offs at different points in the same pipeline instead of compromising one model to serve two different needs.
Advanced / scenario
advancedYou inherit a warehouse where every team built its own version of "revenue" in its own schema, with no shared dimensions. How do you fix it without a six-month freeze on feature work?
Avoid a big-bang rebuild — instead, identify the highest-value conformed dimensions and facts first (almost always customer, date, and a canonical revenue/order fact), build those centrally with clear ownership and tests, and migrate the highest-impact reports onto them one at a time while leaving lower-priority team-specific schemas alone until their normal maintenance cycle. In parallel, introduce a lightweight architectural governance step — even just a required review for any new fact table claiming a business metric name — so the problem stops growing while the existing mess is incrementally cleaned up. The judgment being tested is prioritizing incremental, in-production remediation over a clean-slate rebuild that stalls delivery for months.
advancedHow would you architect a platform that needs to support both real-time fraud detection and next-day financial reporting from the same underlying events?
A kappa-style architecture is a strong starting point: treat the event stream as the single source of truth, with a streaming layer doing low-latency fraud scoring directly off the stream, and a separate consumer of the same stream landing data into the warehouse for batch modeling and next-day reporting. This avoids maintaining two independent transformation codebases (as a lambda architecture would) for what is conceptually the same underlying data, at the cost of requiring a stream-processing platform that can replay history reliably if the batch-side logic needs to be corrected and reprocessed. The modeling implication is that the fraud-detection path likely needs a much simpler, low-latency-optimized model (feature lookups, not joins across ten dimension tables) than the reporting path's full dimensional model — same source stream, deliberately different downstream models for different latency/accuracy trade-offs.
advancedA stakeholder insists on Data Vault for a brand-new, single-source-system startup warehouse because "it's the enterprise standard." How do you respond?
Rather than a flat no, name the actual trade-off: Data Vault's core benefits — resilience to many independently-changing sources, full historical auditability, parallel loading at scale — solve problems a single-source-system startup doesn't yet have, while its costs — significantly more tables, more complexity, a mandatory additional dimensional layer before it's usable by anyone outside the data team — are paid immediately regardless of scale. The honest recommendation is usually a straightforward dimensional model now, with the explicit understanding that a Data Vault-style integration layer becomes worth revisiting specifically when and if source-system count and audit requirements actually grow to justify it — architecture decisions should be made against the problem you actually have, not the one a case study described.
Behavioral / architecture judgment
judgmentHow do you balance "just enough" agile modeling against the risk of accumulating undocumented technical debt?
Just-enough modeling means scoping the model to what the current increment needs, not skipping documentation or review to save time — those are different axes. In practice this means every model, however small, still gets a clear grain definition, basic tests (uniqueness, not-null, referential integrity), and a short description of what it represents, even if the full domain isn't modeled yet. The debt risk isn't from modeling iteratively — it's from treating "iterative" as an excuse to skip the cheap, fast disciplines (naming, testing, documentation) that don't actually cost sprint velocity but get dropped anyway under time pressure.
judgmentAn architecture decision you made a year ago is now clearly wrong for the scale the company has reached. How do you handle raising it?
Lead with the current evidence and cost, not with "I was wrong" or a defense of the original call — a decision that was reasonable given what was known a year ago can still be the right decision to reverse now, and treating architecture decisions as living rather than permanent is itself the correct posture. Present what's changed (scale, requirements, cost data), what it's costing to keep the current architecture, and a concrete, staged migration path rather than a demand for an immediate rebuild — and if an ADR was written for the original decision, referencing it directly shows the reversal is principled evolution, not an admission of an unrecorded mistake.
Notation & Quick Reference
The diagram symbols and side-by-side comparisons you'll actually need.
Crow's Foot cardinality notation
| Symbol at the line end | Meaning |
|---|---|
| —| | Exactly one (mandatory one) |
| —o| | Zero or one (optional one) |
| —< | Many (crow's foot) |
| —o< | Zero or many (optional many) |
| —|< | One or many (mandatory many) |
Data Vault components at a glance
| Component | Holds | Relational analogue |
|---|---|---|
| Hub | A unique business key and nothing else (e.g. the list of all customer IDs) | Roughly a stripped-down entity table with only its natural key |
| Link | A relationship/transaction/event connecting two or more hubs | Roughly an associative/junction table |
| Satellite | Descriptive, time-versioned attributes attached to a hub or link | Roughly a Type-2 SCD attached to the hub/link's key |
Modeling paradigm at a glance
| Paradigm | Best fit | Trade-off |
|---|---|---|
| 3NF / ER model | Transactional (OLTP) systems | Strong integrity, poor for wide analytical queries without many joins |
| Star schema | Analytical warehouses / BI | Fast, simple queries; some redundancy in dimensions |
| Snowflake schema | Analytical warehouses with very large, hierarchical dimensions | Less redundancy; more joins, more query complexity |
| Data Vault 2.0 | Multi-source enterprise integration layer | Highly resilient/auditable; verbose, needs a further consumption layer |
| Document model | Application-driven access patterns, nested/variable structures | Fast for known access patterns; awkward for ad hoc analytical joins |
| Graph model | Relationship-traversal-heavy problems | Excellent for traversal; not a general analytical substitute |
Architecture pattern at a glance
| Pattern | Core idea | Watch out for |
|---|---|---|
| Medallion (bronze/silver/gold) | Progressive data quality tiers | A naming/governance convention, not a guarantee of good modeling within each tier |
| Lambda | Parallel batch + speed layers, merged at serving time | Maintaining two codebases for the same transformation logic |
| Kappa | Everything as a replayable stream | Requires a stream platform capable of full historical replay |
| Data mesh | Domain-owned data products, federated governance | Needs real platform investment or domains reinvent infrastructure independently |
| Data fabric | Unified metadata/integration layer across distributed systems | Often conflated with data mesh in vendor marketing despite different focus |
Glossary
Every term used in this guide, in one place.
- ADR
- Architecture Decision Record — a short, versioned document capturing an architectural decision and the reasoning behind it.
- Cardinality
- How many instances of one entity relate to instances of another — one-to-one, one-to-many, or many-to-many.
- Conceptual model
- An implementation-free model of entities and relationships expressed in business language, for stakeholder alignment.
- Conformed dimension
- The same dimension reused consistently across multiple fact tables or subject areas, enabling cross-process comparison.
- Data contract
- A stable, versioned interface agreement between a data producer and consumer team, describing schema, semantics, and guarantees.
- Data fabric
- An architectural pattern emphasizing a unified metadata/integration layer connecting distributed data systems, often AI-assisted.
- Data mesh
- A decentralized architectural and organizational pattern where domains own their data as governed, discoverable products.
- Data Vault
- A modeling methodology (Hubs, Links, Satellites) purpose-built for auditable, resilient integration of many changing source systems.
- DAMA-DMBOK
- The Data Management Body of Knowledge — an industry-reference framework organizing data management into eleven knowledge areas around governance.
- Denormalization
- Deliberately reintroducing redundancy into a data model to optimize read performance and query simplicity.
- Dimension
- A table of descriptive context (customer, product, date) that a fact table joins to in a dimensional model.
- Evolutionary architecture
- An architecture explicitly designed to change incrementally over time, guarded by fitness functions.
- Fact table
- The central table in a dimensional model holding measurable events at a defined grain, surrounded by dimensions.
- Fitness function
- An automated check that verifies an architectural property still holds as a system evolves.
- Grain
- The precise definition of what a single row in a fact table represents.
- Kappa architecture
- A pattern treating all data as a replayable stream, avoiding separate batch and speed-layer codebases.
- Lambda architecture
- A pattern running parallel batch (accurate, historical) and speed (low-latency, approximate) layers, merged at serving time.
- Logical model
- A database-agnostic model adding attributes, keys, cardinality, and normalization on top of a conceptual model.
- MDM
- Master Data Management — establishing one authoritative "golden record" for core business entities across systems.
- Medallion architecture
- A layered data-quality convention: bronze (raw), silver (cleaned/conformed), gold (business-level marts).
- Model storming
- A short, lightweight, collaborative modeling session (often whiteboard-based) used in agile settings instead of upfront formal modeling.
- Normalization
- Structuring tables to minimize redundancy and prevent update/insert/delete anomalies, per a series of normal forms (1NF–BCNF).
- Physical model
- A model specific to one database engine, including data types, indexes, partitioning, and actual DDL.
- SCD
- Slowly Changing Dimension — a dimension whose attribute values change over time, handled via Type 1 (overwrite), Type 2 (versioned history), or Type 3 (prior-value column) strategies.
- Snowflake schema
- A dimensional model where dimension tables are further normalized into sub-dimensions.
- Star schema
- A dimensional model with denormalized dimension tables joined directly to a central fact table.