collection Commons
Private · saved on this device

Identity & relationships

Data engineering patterns for identity & relationships.

Explore 17 field-guide articles on identity & relationships. Each article develops a concrete problem, explains the design response, and discusses examples and limits.

Curated selection

In this Collection

17 entries · Author-defined order
  1. Data Engineering

    pattern · commons

    Adjacency Lists

    Store each hierarchy node’s immediate parent as a reference, keeping updates compact while reconstructing longer paths through traversal.

  2. Data Engineering

    pattern · commons

    Associative Entities

    Give a many-to-many relationship its own records, identifying the participants and providing a place for the relationship’s attributes, identity, and lifecycle.

  3. Data Engineering

    pattern · commons

    Closure Tables

    Store ancestor–descendant pairs explicitly, including self-links, so hierarchy queries can use direct lookups at the cost of more storage and maintenance.

  4. Data Engineering

    pattern · commons

    Composite Keys

    Use a combination of columns as one identifier, with uniqueness and references checked against the complete combination.

  5. Data Engineering

    pattern · commons

    Document Aggregates

    Group a bounded set of owned data in one document so a meaningful business unit can be read and updated together.

  6. Data Engineering

    pattern · commons

    Entity Resolution

    Decide which records describe the same real-world entity by comparing evidence, managing uncertainty, and retaining the reasons for accepted or rejected matches.

  7. Data Engineering

    pattern · commons

    Golden Records

    Assemble a governed profile from records linked to the same entity, selecting values by explicit authority rules and preserving their sources.

  8. Data Engineering

    pattern · commons

    Graph Relationships

    Represent entities as nodes and meaningful connections as edges, so queries can follow dependencies, relationships, and paths across several steps.

  9. Data Engineering

    pattern · commons

    Identity Crosswalks

    Maintain links backed by evidence between identifiers for the same entity, allowing systems to retain local IDs while supporting reconciliation across boundaries.

  10. Data Engineering

    pattern · commons

    Materialized Paths

    Store each hierarchy node’s ancestry as a path, making branch searches and breadcrumbs direct while requiring descendant paths to change when a branch moves.

  11. Data Engineering

    pattern · commons

    Namespaced Identifiers

    Carry an identifier’s assigning scope with its local value, so matching values from different systems or environments are not mistaken for the same identity.

  12. Data Engineering

    pattern · commons

    Natural Keys

    Identify records using business-recognized attributes whose combinations are unique within a defined scope, while accounting for change and reuse.

  13. Data Engineering

    pattern · commons

    Normalized Relations

    Store facts according to the attributes they depend on, reducing repeated updates and contradictory copies across related records.

  14. Data Engineering

    pattern · commons

    Party–Role Modeling

    Separate a person or organization’s identity from its roles in particular relationships, allowing roles, counterparties, and effective dates to vary independently.

  15. Data Engineering

    pattern · commons

    Relationships with Attributes

    Store roles, quantities, dates, and conditions on the particular relationship they describe, rather than attaching them incorrectly to either participant.

  16. Data Engineering

    pattern · commons

    Supertype–Subtype Modeling

    Share identity and common attributes across related kinds of entity, while giving each subtype the specific attributes and rules it needs.

  17. Data Engineering

    pattern · commons

    Surrogate Keys

    Introduce an internal identifier for an entity or version, keeping references independent of the business attributes used to recognize it.