Chapter 2
Enterprise Data Architecture and Modern Platforms
Post Graduate Program in Data science
Data Warehousing & Data Mining
•
Post Graduate
Enterprise Data Architecture and Modern Platforms
Introduction
Enterprise data architecture is the organized design of data stores, integration mechanisms, metadata, governance controls, processing engines, and analytical interfaces used to turn operational data into reliable business information. It is not synonymous with a particular product. A data warehouse, data lake, lakehouse, streaming platform, data mesh, and data fabric are architectural patterns that address different combinations of latency, structure, scale, ownership, and governance requirements.
For postgraduate data-science professionals, platform selection is therefore an architectural decision rather than a technology-shopping exercise. An organization may require a governed enterprise warehouse for financial reporting, a lake for raw sensor data, streaming infrastructure for fraud detection, and a lakehouse for machine-learning development. These components may coexist, but their interfaces, ownership boundaries, quality controls, and semantic definitions must be deliberately designed.
Learning Objectives
By the end of this chapter, the reader should be able to:
Distinguish data marts, enterprise data warehouses, operational data stores, and federated architectures.
Compare cloud warehouses, data lakes, lakehouses, streaming systems, data mesh, data fabric, and medallion architectures.
Evaluate platforms using business, technical, governance, and economic criteria.
Design a suitable combination of platforms for reporting, analytics, machine learning, and real-time use cases.
Identify risks involving data quality, security, privacy, ownership, interoperability, and vendor dependence.
1. Architectural Foundations
1.1 Operational and analytical workloads
Operational systems support transactions: order creation, account updates, inventory changes, and payment processing. They typically require many small, concurrent reads and writes, strong transaction guarantees, and current records. Analytical systems support aggregation, exploration, forecasting, and model training. They usually perform fewer but much larger scans and joins.
A useful distinction is between system of record, system of insight, and system of action. A system of record preserves authoritative business events or states. A system of insight transforms those records into measures, dimensions, and analytical features. A system of action applies decisions to customers, machines, or business processes. Modern architectures increasingly connect all three through batch and streaming pipelines.
1.2 Architectural dimensions
Platform comparison should consider at least the following dimensions:
Dimension
Questions to ask
Data structure
Is the data structured, semi-structured, unstructured, or rapidly changing?
Latency
Is hourly, daily, sub-minute, or millisecond freshness required?
Workload
Are workloads transactional, reporting, ad hoc, machine learning, or event processing?
Scale
What are current and projected data volume, velocity, and concurrency?
Governance
Are lineage, retention, residency, auditability, and access policies mandatory?
Ownership
Is data managed centrally, by domains, or through a hybrid model?
Cost
Are compute and storage separated? Is workload utilization predictable?
Skills
Can the organization operate distributed systems, SQL platforms, and governance tooling?
Interoperability
Must the platform support open formats, multiple clouds, or existing tools?
A platform is appropriate only when it satisfies the required service levels at an acceptable total cost and operational risk. A technically powerful platform can be a poor choice if its governance model, skills requirements, or latency characteristics conflict with business needs.
2. Classical Enterprise Architectures
2.1 Data marts
A data mart is a subject-oriented analytical store serving a department, function, or use case such as marketing, finance, or supply-chain management. A dependent mart is populated from an enterprise warehouse; an independent mart is built directly from operational sources.
Data marts provide focused schemas, simpler user access, and potentially faster delivery. Their principal risk is fragmentation. Independently developed marts may define “customer,” “revenue,” or “active account” differently. This creates reconciliation disputes and duplicated extraction logic. A governed mart should therefore document its grain, measures, dimensions, refresh schedule, ownership, and source lineage.
2.2 Enterprise data warehouse
An enterprise data warehouse (EDW) is an integrated, persistent repository designed to support organization-wide analysis and consistent reporting. It commonly stores conformed dimensions and governed facts. A dimensional model identifies the grain of a fact table before measures and dimensions are added. For example, the grain might be “one product line on one customer order.”
The EDW’s strengths include integrated definitions, mature SQL access, strong controls, and reliable historical reporting. Its limitations include the effort required to model changing requirements, the cost of ingesting very large raw or unstructured data, and possible delays when data must pass through extensive transformation.
A warehouse may use normalized enterprise models, dimensional models, or a combination. Dimensional schemas are often effective for business intelligence because facts and dimensions make analytical relationships explicit. Slowly changing dimensions preserve historical context; for example, a customer’s previous sales region can remain associated with transactions made before a reassignment.
2.3 Operational data store
An operational data store (ODS) integrates current or near-current data from multiple operational systems. It is optimized for operational reporting, customer-service views, reconciliation, and downstream extraction rather than long-term historical analysis. An ODS may retain only the latest state or a limited history.
The ODS is useful when an organization needs a consistent current view without querying production applications directly. It should not automatically be treated as an EDW: an ODS often has shorter retention, less historical depth, and different performance objectives.
2.4 Federated architectures
A federated architecture leaves data in multiple systems while providing a common access layer, virtual integration, distributed query, or shared semantic model. It is valuable where data cannot be centralized because of sovereignty, acquisition history, latency, ownership, or cost.
Federation reduces physical duplication and can provide rapid access to distributed sources. However, it does not eliminate integration complexity. Queries may be slow, source systems may change unexpectedly, and inconsistent meanings remain possible. Federation works best when source contracts, metadata, identity management, and performance boundaries are explicit.
3. Cloud and Open Data Platforms
3.1 Cloud data warehouses
A cloud data warehouse is a managed analytical warehouse operated on elastic cloud infrastructure. Typical capabilities include columnar storage, massively parallel processing, SQL optimization, workload isolation, elastic compute, managed backups, and integration with identity and monitoring services.
Cloud warehouses are particularly suitable for structured reporting, governed self-service analytics, and predictable SQL workloads. Separation of storage and compute can allow independent scaling, although actual cost depends on architecture, data movement, concurrency, caching, and query behavior. “Serverless” does not mean costless; poorly controlled scans and idle or oversized resources can create substantial expenditure.
Important design practices include partitioning or clustering where supported, incremental transformation, workload monitoring, resource quotas, semantic governance, and cost attribution by team or product. Data should not be copied into multiple cloud services merely because each service is convenient.
3.2 Data lakes
A data lake stores data in its original or lightly processed form, often using object storage and open file formats. It can accommodate structured tables, JSON documents, logs, images, audio, geospatial data, and model artifacts. Its flexibility and low-cost storage make it attractive for exploration, machine learning, archival, and high-volume ingestion.
The phrase “schema on read” describes a common lake pattern: structure and interpretation are applied when data is queried. This supports exploratory work but can produce a data swamp if datasets lack owners, documentation, quality tests, security classification, or discoverability. A lake requires more than storage: it needs catalogs, lineage, validation, access controls, lifecycle policies, and reliable table or file organization.
3.3 Lakehouses
A lakehouse combines lake-scale, low-cost storage and open data formats with warehouse-like management, including transactional consistency, schema enforcement or evolution, SQL access, governance, and performance optimization. It is intended to reduce duplication between separate lakes and warehouses.
Lakehouse designs are useful when data scientists and analysts must work from shared data while retaining raw and semi-structured material. Their challenges include platform complexity, competing table formats and engines, metadata consistency, file-layout maintenance, and the need to distinguish experimental data from certified data. A lakehouse does not automatically provide warehouse-quality semantics; those still require modeling, testing, ownership, and governance.
4. Streaming and Real-Time Architectures
4.1 Event streams
A streaming architecture processes continuously generated events such as card authorizations, web clicks, equipment readings, or delivery updates. It commonly includes event producers, a durable event broker, stream-processing operators, state stores, serving databases, and analytical sinks.
Streaming systems differ from batch systems mainly in timing and operational behavior. Important concerns include event ordering, duplicate delivery, late-arriving events, replay, back-pressure, schema evolution, checkpointing, and failure recovery. A business process must define whether processing is at-most-once, at-least-once, or effectively exactly-once for the relevant output. “Exactly once” is not a universal property of an entire business workflow; it depends on transaction boundaries, sinks, retries, and side effects.
A useful conceptual relationship is the freshness objective:
Freshness lag = Observation time − Availability time
Here, freshness lag is elapsed time between when a business event is observed and when its usable representation becomes available to consumers. The relationship assumes both timestamps use the same clock reference and that “availability” has been operationally defined. Lower lag is desirable only when its business value exceeds the additional engineering and operating cost.
4.2 Lambda and kappa ideas
A lambda-style architecture maintains separate batch and speed paths, often combining their outputs. It can provide robust historical recomputation but duplicates logic and may produce reconciliation problems. A kappa-style architecture emphasizes a single streaming path with replayable events, reducing duplicated computation when the event log is durable and sufficiently complete.
Neither pattern is universally superior. A regulated financial report may require controlled batch recomputation, while a fraud alert may require streaming inference. Hybrid architectures are common.
5. Organizational and Cross-Platform Patterns
5.1 Data mesh
Data mesh is an organizational and architectural approach based on four commonly cited principles:
Data is treated as a product.
Ownership is aligned with business domains.
Data infrastructure is provided as a self-service platform.
Governance is federated, with shared standards and local responsibility.
A domain data product should have an owner, defined consumers, quality expectations, documentation, discoverability, access policy, and a stable interface. Data mesh is not simply decentralizing files or allowing every department to build an isolated database. Without interoperability standards and federated governance, mesh can become uncontrolled fragmentation.
5.2 Data fabric
Data fabric is a design approach that uses metadata, automation, integration services, knowledge graphs, policy enforcement, and machine-assisted discovery to connect data across heterogeneous environments. It emphasizes a consistent data-access and governance experience rather than requiring all data to be physically centralized.
The terms data mesh and data fabric address different primary problems. Mesh emphasizes organizational ownership and domain products; fabric emphasizes technical integration, metadata, and automated control. They can coexist: a mesh may use fabric capabilities to discover, secure, and govern distributed products.
5.3 Medallion architecture
A medallion architecture organizes data into progressive layers, often called bronze, silver, and gold:
Bronze: raw or minimally altered source data, preserved for replay and audit.
Silver: cleaned, standardized, deduplicated, and conformed data.
Gold: curated data products, aggregates, features, or business-facing models.
These labels are conventions, not standards. A bronze layer is not necessarily trustworthy, and a gold layer is not necessarily a warehouse. Each layer needs a clear purpose, owner, quality contract, retention rule, and access policy. Additional layers may be appropriate for quarantine, feature serving, or archival data.
Comparison of enterprise data architecture patterns and platform choices
Figure: Comparison of enterprise data architecture patterns and platform choices
Figure: A coordinated enterprise architecture connecting operational and event sources to specialized analytical platforms under common governance.
6. Selecting a Platform: A Decision Framework
Platform selection should begin with business capabilities and non-functional requirements. A practical process is:
Define decisions and users: reporting, optimization, prediction, monitoring, or automated action.
Specify data products and their grain, ownership, consumers, and quality expectations.
Quantify latency, retention, availability, concurrency, security, residency, and recovery requirements.
Map workload characteristics to platforms rather than forcing every workload into one system.
Estimate total cost of ownership, including engineering, operations, migration, training, licenses, data movement, and exit costs.
Conduct a proof of value using representative data, peak concurrency, failure scenarios, and governance controls.
Establish architecture standards, review gates, and a migration roadmap.
A weighted decision matrix can make trade-offs explicit. Let the score for platform p be:
Sp = ∑ᵢ wᵢ rᵢp
where wᵢ is the normalized importance weight of criterion i, rᵢp is platform p’s rating on that criterion, and the weights sum to 1. Ratings must use a documented scale, such as 1 to 5. This is a prioritization aid, not an objective proof: ratings are uncertain, criteria may interact, and mandatory constraints should be treated as gates rather than compensated by high scores elsewhere.
For example, an organization may assign weights of 0.30 to governance, 0.25 to latency, 0.20 to analytical performance, 0.15 to cost, and 0.10 to skills availability. A platform with excellent performance but unacceptable regulatory residency should be rejected before weighted scoring. A score cannot compensate for a non-negotiable compliance failure.
Requirement
Often suitable pattern
Important caution
Certified financial reporting
EDW or cloud warehouse
Govern definitions and close-period data
Departmental exploration
Governed data mart or warehouse semantic layer
Prevent metric fragmentation
Current integrated operational view
ODS
Do not confuse current state with history
Raw multimodal data and ML experimentation
Data lake or lakehouse
Catalog, classify, and test data
Shared SQL plus open-format ML data
Lakehouse
Manage table formats and metadata
Millisecond or second-level decisions
Streaming system and serving store
Handle ordering, retries, and replay
Independent domain ownership
Data mesh
Require interoperability and federated governance
Heterogeneous distributed sources
Federation or data fabric
Virtual access does not remove quality problems
7. Governance, Security, and Responsible Use
Enterprise architecture must implement governance rather than merely describe it. Core controls include identity-based access, least privilege, encryption, key management, network isolation, secrets management, audit logs, data classification, retention, deletion, lineage, and quality monitoring.
Privacy obligations may include purpose limitation, consent or another lawful basis, minimization, access and correction rights, retention limits, cross-border transfer controls, and restrictions on sensitive attributes. Architectural convenience is not a justification for copying personal data into every platform. Tokenization, pseudonymization, row- and column-level controls, and controlled analytical sandboxes can reduce exposure, but they do not remove the need for policy and legal review.
Data quality should be treated as a measurable service. Relevant dimensions include completeness, validity, uniqueness, consistency, timeliness, and accuracy. A quality contract should state the expected thresholds, measurement method, responsible owner, escalation route, and consumer impact. Machine-learning systems additionally require monitoring for drift, leakage, unfair outcomes, and inappropriate use of protected or proxy variables.
Metadata is the connective tissue of modern architecture. Technical metadata describes schemas and pipelines; business metadata explains meaning; operational metadata records freshness and failures; lineage metadata shows transformations; governance metadata records classification and policy. Automated discovery and AI-assisted cataloging can accelerate documentation, but generated descriptions require human validation because plausible metadata can still be wrong.
8. Applied Case: A Regional Retail Bank
Background
This illustrative case concerns a regional bank with branch systems, a mobile application, card transactions, customer-service platforms, and a fraud-monitoring service. Executives need certified daily profitability reports. Fraud analysts need near-real-time alerts. Data scientists need historical transactions, application logs, and call transcripts for model development.
Problem
The bank’s independent departmental marts disagree about customer counts and revenue. Fraud rules query operational databases, causing performance concerns. Data scientists copy extracts to personal workspaces, creating privacy and lineage risks. The bank also operates in jurisdictions with data-residency requirements.
Analysis
The workloads have different characteristics. Regulatory reporting needs stable definitions, historical reproducibility, controlled close processes, and audit evidence. Fraud detection needs low freshness lag, event replay, feature availability, and a reliable serving path. Data science needs multimodal data, experimentation, and governed access. A single platform would either overcomplicate simple reporting or fail to meet real-time and multimodal requirements.
Approach
The bank adopts a hybrid architecture:
An ODS provides a current integrated customer-service view without directly querying production systems.
A cloud EDW stores certified conformed facts and dimensions for finance and regulatory reporting.
A governed lakehouse stores raw event data, transcripts, and historical snapshots, using bronze, silver, and gold zones.
A streaming platform receives card and login events, applies fraud features and rules, and writes decisions to a low-latency serving store.
A catalog records ownership, residency, lineage, classification, and quality status.
Domain teams own customer, payments, and channels data products, while a central platform team supplies reusable ingestion, identity, observability, and policy services.
Sensitive customer identifiers are tokenized for analytical use, access is role-based, and model-training datasets are approved through a documented process. A shared semantic layer defines measures such as customer, transaction, and net revenue.
Outcome
The bank obtains reproducible reporting, reduced load on operational databases, faster fraud decisions, and safer experimentation. It does not eliminate complexity: data contracts, incident response, cost monitoring, and platform skills remain ongoing responsibilities.
Learning points
The case demonstrates that architecture should follow workload and governance requirements. It also shows that data mesh principles can coexist with centralized platform capabilities, while a medallion structure can organize lakehouse processing without replacing enterprise definitions.
9. Challenges and Contemporary Developments
Modern architectures introduce new forms of complexity. Cloud portability may be limited by proprietary services. Open formats improve interoperability but do not guarantee identical behavior across engines. Distributed ownership can improve domain knowledge but complicate accountability. Data virtualization can shorten delivery time but expose source-system performance and availability constraints.
FinOps practices increasingly connect data-platform costs to products, teams, and business outcomes. Observability now covers pipeline health, data freshness, schema changes, query performance, and infrastructure expenditure. Data contracts and product thinking are being applied to analytical interfaces. Semantic layers aim to prevent inconsistent metrics across dashboards, notebooks, and AI applications.
Generative AI increases demand for retrieval systems, vector indexes, governed document stores, and high-quality metadata. These components should be integrated with existing security and lineage controls. A language model can retrieve sensitive or incorrect material if access policies, source quality, and evaluation procedures are weak. AI does not replace architecture; it makes trustworthy architecture more important.
Best Practices
Begin with decisions, users, and service levels rather than product names.
Define data ownership, grain, semantics, and quality expectations before scaling ingestion.
Separate raw preservation, standardized integration, and certified consumption purposes.
Use event replay, idempotent processing, and explicit handling of late or duplicate events in streaming systems.
Treat non-functional requirements—security, residency, recovery, cost, and operability—as design constraints.
Prefer a small number of interoperable platforms over uncontrolled tool proliferation.
Measure platform outcomes: freshness, reliability, adoption, query performance, quality, and cost per useful workload.
Design exit and migration strategies before deep dependence on proprietary features.
Chapter Summary
Enterprise data architecture coordinates operational systems, integration, storage, processing, governance, and consumption. Data marts offer focused departmental access but can fragment definitions. EDWs provide integrated and governed analytical reporting; ODSs provide current integrated operational views; federated architectures provide access across distributed sources but do not solve semantic inconsistency.
Cloud warehouses are strong for managed SQL analytics, data lakes for flexible and multimodal storage, and lakehouses for combining lake-scale storage with warehouse-like management. Streaming systems support continuously arriving events and low-latency decisions but require careful treatment of ordering, duplicates, replay, and failure. Data mesh emphasizes domain ownership and data products, data fabric emphasizes metadata-driven technical integration, and medallion architecture organizes progressive data refinement.
Platform selection should use business requirements, workload characteristics, governance constraints, total cost, organizational capability, and proof-of-value testing. The most effective enterprise architecture is often hybrid, provided that interfaces, semantics, ownership, quality, security, and lineage are explicit.
Key Terms
Data mart: A subject- or department-oriented analytical store.
Enterprise data warehouse: An integrated, persistent repository for organization-wide analysis.
Operational data store: A store providing current or near-current integrated operational information.
Federated architecture: An architecture that accesses data across multiple systems without requiring full physical centralization.
Cloud data warehouse: A managed, elastic analytical warehouse operated on cloud infrastructure.
Data lake: Flexible storage for raw or lightly processed structured and unstructured data.
Lakehouse: A platform pattern combining lake storage flexibility with warehouse-style management and analytics.
Event stream: An ordered or partially ordered flow of continuously generated records.
Freshness lag: The elapsed time between observation of data and its availability for use.
Data mesh: A domain-oriented operating model based on data products, self-service infrastructure, and federated governance.
Data fabric: A metadata- and automation-driven approach to integrating and governing distributed data.
Medallion architecture: Progressive organization of data into raw, standardized, and curated layers.
Conformed dimension: A shared dimension with consistent meaning across analytical models.
Data product: A governed, discoverable data asset with an owner, interface, quality expectations, and consumers.
Data contract: An explicit agreement about schema, semantics, quality, and change behavior.
Schema evolution: Controlled change to the structure or meaning of data over time.
Data lineage: Information showing data origins, transformations, and destinations.
Total cost of ownership: The complete cost of acquiring, operating, governing, changing, and eventually replacing a platform.
Review Questions
Short Answer Questions
What is the principal difference between an ODS and an enterprise data warehouse?
Why can independent data marts produce conflicting business metrics?
What problem does a lakehouse attempt to address?
State the four commonly cited principles of data mesh.
What are the usual purposes of bronze, silver, and gold layers?
Long Answer Questions
Compare data marts, EDWs, ODSs, and federated architectures in terms of workload, history, governance, and limitations.
Explain the architectural and operational characteristics of data lakes, cloud warehouses, and lakehouses.
Discuss the principal design challenges of streaming systems, including replay, ordering, duplicate events, and delivery semantics.
Distinguish data mesh from data fabric and explain how they may coexist in one enterprise.
Develop a platform-selection framework that includes business value, latency, governance, cost, skills, and interoperability.
Analytical / Application Questions
A manufacturer needs daily certified production reports, second-level machine alerts, and machine-learning access to images and sensor histories. Propose a hybrid architecture and justify each platform choice.
An organization scores two platforms highly on cost and performance, but one cannot satisfy mandatory data-residency requirements. Explain how the decision matrix should handle this constraint.
A bank has three definitions of “active customer” across departmental marts. Diagnose the architectural causes and propose governance, modeling, and platform measures to restore consistency.
Multiple Choice Questions with Answers
Question 1
Which platform is primarily designed to provide a current, integrated operational view rather than deep historical analytics?
A. Operational data store
B. Data lake
C. Enterprise data warehouse
D. Independent data mart
Correct Answer: A. Operational data store
Question 2
What is a major risk of independently developed data marts?
A. They cannot contain structured data
B. They always require streaming ingestion
C. They may define common metrics inconsistently
D. They cannot support departmental reporting
Correct Answer: C. They may define common metrics inconsistently
Question 3
Which characteristic most strongly distinguishes a data lake from a traditional warehouse?
A. It supports only relational tables
B. It can store raw, semi-structured, and unstructured data flexibly
C. It eliminates the need for metadata
D. It is optimized only for transaction processing
Correct Answer: B. It can store raw, semi-structured, and unstructured data flexibly
Question 4
In a medallion architecture, the silver layer generally contains data that is:
A. Raw and preserved exactly as received
B. Deleted after initial ingestion
C. Cleaned, standardized, and conformed
D. Restricted exclusively to financial reports
Correct Answer: C. Cleaned, standardized, and conformed
Question 5
Which data-mesh principle assigns primary responsibility for a data product to a business domain?
A. Domain-oriented ownership
B. Centralized storage only
C. Unmanaged self-service access
D. Removal of governance
Correct Answer: A. Domain-oriented ownership
Question 6
A streaming pipeline receives the same event twice because a producer retries delivery. Which concern does this illustrate?
A. Schema normalization
B. Duplicate-event handling and idempotency
C. Dimensional modeling
D. Data residency
Correct Answer: B. Duplicate-event handling and idempotency
Question 7
In the platform score Sp = ∑ᵢ wᵢ rᵢp, what does wᵢ represent?
A. The platform’s storage volume
B. The rating of platform p
C. The normalized importance weight of criterion i
D. The number of data sources
Correct Answer: C. The normalized importance weight of criterion i
Question 8
Which statement best describes a data fabric?
A. A departmental reporting database with no metadata
B. A metadata- and automation-oriented approach to connecting and governing distributed data
C. A replacement for all event brokers
D. A rule requiring all data to be physically centralized
Correct Answer: B. A metadata- and automation-oriented approach to connecting and governing distributed data
Question 9
A regulatory reporting platform fails a mandatory data-residency requirement but receives excellent performance and cost ratings. What is the correct decision?
A. Select it because its weighted score is highest
B. Select it only for sensitive data
C. Reject it as failing a non-negotiable constraint
D. Ignore residency until production deployment
Correct Answer: C. Reject it as failing a non-negotiable constraint
Question 10
What is the purpose of freshness lag in a streaming architecture?
A. To measure elapsed time between observation and usable availability
B. To measure the number of columns in an event
C. To calculate storage compression
D. To identify the owner of a data product
Correct Answer: A. To measure elapsed time between observation and usable availability