Master and Reference Data
Not all data is the same. Some of it describes the core things the business is about, some of it records what happens to them, and some of it only classifies the rest. These categories behave differently, change at different speeds, and need different architecture.
Categories of data
| Category | What it is | Examples | Changes |
|---|---|---|---|
| Master data | The core business entities, shared across many processes and systems | Customers, products, suppliers, employees, tenants | Occasionally |
| Reference data | Values used to classify or categorize other data | Country codes, currencies, units of measurement, product categories | Rarely |
| Transactional data | Records of business events, which refer to master data | Orders, payments, invoices, shipments | Constantly, mostly new records |
| Metadata | Data about data | Schemas, definitions, lineage, classification | With the data landscape |
These categories come from the DAMA Data Management Body of Knowledge (DMBOK), which covers master and reference data management as its own knowledge area. The definition of reference data as data used to classify or categorize other data is widely used.
Getting master data right matters most. Every order, invoice and support ticket refers to a customer and a product. If the systems disagree about who the customer is, every process that crosses them gets harder.
System of record and golden record
Two terms come up in every discussion about master data:
- The system of record is the system where an entity is created and changed, and whose version is authoritative. Ideally, each master data entity has exactly one.
- The golden record is the best, consolidated version of an entity, built when the same entity exists in several systems. For example, one customer record merged from the CRM, the web shop and the billing system.
The architecture repository records the system of record for each data entity. When two systems both claim to master the same entity, that is a conflict to resolve with a decision, often as part of a target architecture.
Master data management styles
Organizations implement master data management in different ways. The commonly used styles, listed for example on Wikipedia, are:
| Style | How it works | When it fits |
|---|---|---|
| Registry | A central index links the records of the same entity in each system, without copying the data | Quick insight across systems, with minimal change to them |
| Consolidation | Data is copied into a central hub and merged into golden records, mainly for reporting and analytics | Analytics needs a single view, while operational systems stay as they are |
| Coexistence | The hub holds golden records and synchronizes them back to the source systems | Several systems keep editing the data, but need to stay consistent |
| Centralized (transaction) | The hub is the system of record. Other systems read from it and do not create the entity themselves | Strong consistency is needed, and the organization can change its processes |
None of these is best in general. Many organizations start with registry or consolidation, and move towards a centralized hub for the most important entities over time.
In event-driven landscapes, a common modern approach is to give each master data entity one owning system, which publishes changes as events. Other systems consume the events and keep local copies. See Event-Driven Architecture.
Reference data
Reference data looks simple, but inconsistent code lists are a classic source of integration problems: one system uses "DE", another "DEU", a third "Germany". Good practice:
- Use international standards where they exist, such as ISO 3166 for countries and ISO 4217 for currencies.
- Keep organization-specific lists, such as product categories or customer segments, in one owned place, and publish them to the systems that need them.
- Treat changes as versioned releases, because adding or removing a value can break reports and integrations.
In the architecture repository
- Each data entity in the repository records whether it is master data, and its system of record.
- Guardrails define the rules, for example each master data entity has exactly one system of record.
- Decisions record which system masters which entity, and why.
- The enterprise data model defines the entities and their identifiers, so that systems can match records of the same customer or product.