5.3 Repository Architectures

Key Takeaways

  • A Metadata Repository stores, integrates, and manages business, technical, and operational metadata across the enterprise.
  • Centralized metadata architecture replicates all metadata into a single database, offering high search performance and offline availability at the cost of stale risk and high maintenance.
  • Distributed or Federated architecture queries metadata from sources in real-time, guaranteeing fresh metadata and eliminating replication storage, but suffering from poor query speeds.
  • Hybrid architecture centralizes stable schemas and business glossaries while retrieving volatile operational logs dynamically from source systems.
Last updated: July 2026

Metadata Repository Architectures

An organization's metadata is of little use if it cannot be stored, integrated, and accessed effectively. To manage metadata at scale, data architects design and implement a Metadata Repository—a database or system specifically designed to store, manage, and query business, technical, and operational metadata.

Choosing the right repository architecture is a critical decision in enterprise data architecture. The DAMA DMBoK2 defines three primary architectural patterns for metadata repositories: Centralized, Distributed (also known as Federated), and Hybrid. Each pattern represents a different trade-off between metadata freshness, query performance, storage costs, and administrative complexity. Candidates preparing for the Certified Data Management Professional (CDMP) exam must master the structural characteristics, pros, cons, and appropriate use cases for each architecture.


Centralized Metadata Architecture

In a Centralized Metadata Architecture, all metadata from various source systems (modeling tools, database catalogs, ETL tools, BI platforms) is extracted, transformed, and loaded into a single, unified database. The central repository serves as the single source of truth for all enterprise metadata.

graph LR
    subgraph Sources
        S1[DBMS Catalog]
        S2[ETL Mappings]
        S3[Modeling Tool]
    end
    subgraph Centralized Repository
        CR[(Central Metadata DB)]
    end
    S1 -->|Scheduled ETL| CR
    S2 -->|Scheduled ETL| CR
    S3 -->|Scheduled ETL| CR
    CR --> User[Data Catalog Search UI]

Key Characteristics

  • All metadata is copied from its source and stored physically in a centralized schema.
  • Data ingestion processes (harvesters) run periodically to pull updates from source systems.
  • Users query a single, local metadata database.

Advantages (Pros)

  • High Query Performance: Since all metadata is local and consolidated, searches, complex queries, and semantic joins (e.g., linking a business term to a physical table) are extremely fast.
  • Offline Availability: The metadata remains searchable and queryable even if the source systems (e.g., a development database or an ETL tool) are offline.
  • Semantic Integration: It is much easier to resolve naming conflicts, create unified schemas, and maintain cross-system metadata mappings (like horizontal lineage) when all records reside in the same database.

Disadvantages (Cons)

  • Metadata Stale Risk: Because metadata is extracted on a schedule, the central repository may not reflect real-time schema changes made in the sources.
  • High Maintenance Overhead: Setting up and maintaining ETL pipelines to ingest metadata from diverse sources with varying APIs and structures is highly complex.
  • Redundant Storage: Metadata is replicated, requiring additional storage infrastructure.

Distributed / Federated Metadata Architecture

In a Distributed Metadata Architecture (often called a Federated Metadata Architecture), metadata remains resident in the local catalogs of the source systems. No replication or copying to a central database occurs. Instead, a central metadata query portal acts as a federated engine, translating user searches into real-time queries sent directly to the underlying source systems.

graph LR
    User[Data Catalog Search UI] --> FE[Federated Query Engine]
    FE -->|Real-time Query| S1[DBMS Catalog]
    FE -->|Real-time Query| S2[ETL Mappings]
    FE -->|Real-time Query| S3[Modeling Tool]

Key Characteristics

  • No centralized storage of metadata.
  • A query federation layer retrieves and consolidates metadata on-demand.
  • Source systems act as the primary engines for metadata storage and search.

Advantages (Pros)

  • Real-time Freshness: User queries always return the most up-to-date metadata directly from the source systems, eliminating the risk of stale schemas.
  • Low Storage Costs: Eliminates the need to maintain, store, and back up a massive, separate central metadata database.
  • Simpler Deployment (Initial): No complex, scheduled ETL pipeline is required to move metadata.

Disadvantages (Cons)

  • Poor Query Performance: Querying multiple disparate source systems in real-time, translating the queries, and stitching the results together creates significant network and processing latency.
  • Source System Dependencies: If a source system goes offline or is under heavy operational load, its metadata becomes unavailable or query times degrade severely.
  • Mapping Challenges: Building semantic connections and lineage links is incredibly difficult because the data is not co-located, and cross-system mappings must be resolved on the fly.

Hybrid Metadata Architecture

The Hybrid Metadata Architecture combines elements of both centralized and distributed models to balance performance and freshness. Under this model, stable and highly searched metadata (such as the business glossary, data policies, logical schemas, and lineage maps) is centralized. Meanwhile, highly volatile or localized metadata (such as operational execution logs, real-time database row counts, and system performance metrics) remains in the source systems and is retrieved on-demand.

Key Characteristics

  • A centralized database stores core, stable metadata elements.
  • A dynamic query routing engine fetches operational, volatile metadata from source systems as needed.
  • Balances query performance with real-time detail retrieval.

Advantages (Pros)

  • Optimized Performance: Search queries and glossary lookups are executed against the centralized store at high speed, while execution details are pulled from sources only when requested.
  • Reduced Stale Risk: High-frequency operational details are always fresh since they are fetched in real-time, while structural metadata remains highly performant.
  • Efficient Storage: Replicates only the most critical metadata, reducing the central storage footprint.

Disadvantages (Cons)

  • High Complexity: This architecture requires both scheduled harvesting pipelines and real-time query routing engines, making it the most complex model to design, build, and maintain.
  • Difficult Synchronization: Ensuring that the centralized logical models remain synchronized with the distributed physical schemas requires advanced coordination.

Comparative Analysis of Repository Architectures

DimensionCentralized ArchitectureDistributed / FederatedHybrid Architecture
PerformanceExcellent (Local Queries)Poor (Network Latency)Good to Excellent (Balanced)
Data FreshnessLow to Medium (Scheduled)Excellent (Real-time)High (Volatile data is real-time)
Storage OverheadHigh (Full Replication)None (Source Storage Only)Medium (Partial Replication)
ComplexityMedium (Complex ETL/Harvesting)Low to Medium (Federation engine)High (Requires both ETL and Federation)
Lineage ResolutionEasy (Consolidated Tables)Extremely Difficult (On-the-fly joins)Moderate to Easy (Lineage is centralized)

Architectural Selection Criteria

When selecting a metadata repository architecture, organizations must align their choice with business requirements and resource constraints:

  1. Regulatory Compliance: Organizations facing strict audit timelines (e.g., BCBS 239 in banking) typically lean toward Centralized or Hybrid architectures because they need reliable, consolidated lineage maps that can be queried instantaneously.
  2. Agile, Decentralized Enterprises: Organizations with highly independent business units and modern data mesh paradigms may prefer a Distributed or Hybrid model to avoid a central bottlenecks and ensure business units retain control of their local metadata catalogs.
  3. Operational Monitoring: If the primary goal of metadata management is monitoring real-time ETL runs and infrastructure health, a Hybrid model is ideal, as it avoids clogging the central repository with massive, short-lived run logs.

[!TIP] CDMP Exam Hint: If a question asks which architecture offers the best query performance and most reliable semantic integration, the answer is Centralized. If it asks which architecture guarantees real-time metadata accuracy without replication storage, the answer is Distributed/Federated.

Test Your Knowledge

Which metadata repository architecture provides the fastest search and query performance for complex semantic joins, but introduces the risk of stale metadata?

A
B
C
D
Test Your Knowledge

Why would an organization choose a hybrid metadata repository architecture over a centralized architecture?

A
B
C
D