14. Master and reference data: matching, survivorship and hub styles
Master data names the things a business deals with again and again (customers, products, brokers); reference data is the agreed lists that classify them. Managing them means finding the records that describe the same thing, building one trusted record from them, deciding where it lives, and versioning the lists everyone codes against.
The clip takes one customer both insurers know: Harbour Mutual's CRM has her under her maiden name, Kestrel under her married name, with the same email address and birth date. The match rules compare the two records field by field and match them on the email. Survivorship then builds the golden record one attribute at a time: the name from the most trusted source, the email and address from the most recent record, the phone from the record that has one. Finally the four hub styles show where that golden record can live: only as an index, as a read-only copy, as a copy that writes back, or as the one place the record is maintained.
The intuition: one person, two files
Harbour Mutual's CRM knows a customer as Mia Visser, with a birth date and an email address. Kestrel knows a Mia de Jong, born on the same day, with the same email address. Is she one person who changed her surname, or two people? Nobody wants to send her two renewal letters, count her twice in the customer total, or price her motor policy without seeing her Kestrel claims.
Two different jobs hide in that question. First, matching: deciding which records describe the same real-world thing, without a shared key. Second, survivorship: deciding which of their values to trust when they disagree. The result is a golden record: one record per real customer, with the best value for each attribute and a link back to every source record it came from.
The codes those records carry need the same care. Harbour Mutual calls a burst pipe "escape of water"; Kestrel's code is WTR. Unless both map to one managed list, the combined company cannot count its water claims.
The theory: matching, survivorship, hub styles and code lists
Master data is the core entities several processes share and that change slowly: parties (customers, brokers), products, locations. Reference data is the sets of allowed values used to classify other data: loss causes, countries, policy statuses, currencies. Transactions (a claim, a payment) are neither; they refer to both.
Deterministic matching declares two records the same when chosen fields agree exactly, after standardisation (lower case, accents removed, spaces trimmed): the same email, or the same name and birth date. It is easy to explain and to audit, and brittle: a typo or a new surname defeats it. Comparing every pair is expensive, so matchers first group records by a cheap blocking key (here the birth date) and compare only within a block.
SELECT
COUNT(*) AS pairs,
COUNT(*) FILTER (WHERE c.birth_date = k.geboortedatum) AS same_birth_date,
COUNT(*) FILTER (WHERE c.name = k.naam AND c.birth_date = k.geboortedatum) AS same_name_and_birth_date,
COUNT(*) FILTER (WHERE LOWER(c.email) = LOWER(k.email)) AS same_email
FROM customers c
CROSS JOIN klanten kOf 1,200 possible pairs, 11 share a birth date: blocking on it leaves a small fraction to compare in detail. Only 3 agree on name and birth date exactly, and 1 on the email, while the answer key knows 9 people both insurers have. Exact rules alone miss most of them.
Probabilistic matching weighs the evidence instead. Fellegi and Sunter gave it its theory in 1969. For each field, m is the probability that it agrees when the two records are the same person, and u the probability that it agrees by chance when they are not. Agreement adds log₂(m/u) to a pair's score; disagreement adds log₂((1−m)/(1−u)), usually a negative number. Two thresholds split the scores into three zones: above the upper one a match, below the lower one a non-match, and between them a possible match for a steward to review. Their result: for chosen error rates, this rule leaves the fewest pairs to review.
| Field | m | u | Weight if it agrees | Weight if it differs |
|---|---|---|---|---|
| name | 0.350 | 0.002 | +7.4 | −0.6 |
| birth date | 0.950 | 0.002 | +8.8 | −4.3 |
| 0.150 | 0.000 | +8.5 | −0.2 |
For Mia de Jong, the name differs and the birth date and email agree: her pair scores +16.7 bits, far above anything chance produces, although no exact name rule would match her. The weights also describe the data: the name agrees for only 3 of the 9 true pairs, because the two companies spell names differently, so a differing name costs little (−0.6 bits); true pairs almost always share a birth date, so a differing one costs a lot (−4.3 bits).
Reference data adds versioning. A code list changes: Kestrel's codes are mapped to Harbour Mutual's, a cause is split in two, a code is retired. Each list needs an owner, a version with a validity period, and crosswalks (mappings from each source's codes to the managed ones). A claim keeps the code that was valid on its date, so last year's report still adds up after the list changes.
Why it matters
The merger's "one customer" figure, its cross-selling and its pricing all depend on matching the two customer bases well. Too strict, and the same person is two customers; too loose, and Lucas Smit's twin brother inherits his claims history. Precision and recall (chapter 18) make that trade-off visible.
Reference data is smaller and more widespread: one unmanaged code list breaks every report that groups by it.
Where it goes wrong
- Exact rules only. Deterministic matching misses typos, accents and new surnames; the duplicates stay.
- Merging without review. A loose threshold with no steward queue merges twins and namesakes for good.
- Survivorship by accident. "The last load wins" overwrites good values with worse ones.
- Losing the lineage. A golden record with no links to its sources cannot be explained or unmerged.
- Code lists in spreadsheets. A list with no owner and no versions changes silently, and history stops adding up.
Check yourself
Choose an answer to each question, then press Check.
Sources
The works this page draws on, summarised in its own words rather than quoted. Read them for the full argument.
- I. P. Fellegi and A. B. Sunter, "A Theory for Record Linkage", Journal of the American Statistical Association 64(328), 1969The m and u probabilities, log-likelihood weights, and the decision rule with two thresholds and a review zone.
- P. Christen, Data Matching: Concepts and Techniques for Record Linkage, Entity Resolution, and Duplicate Detection (Springer, 2012)Standardisation, blocking, comparison functions and the evaluation of matching by precision and recall.
- DAMA International, DAMA-DMBOK, 2nd edition (2017), chapter 10Master and reference data: definitions, matching, survivorship, and managing code lists and crosswalks.
- A. Dreibelbis et al., Enterprise Master Data Management: An SOA Approach to Managing Core Information (IBM Press, 2008)Hub implementation styles, from a registry to a centralised hub.
- W. E. Winkler, "String Comparator Metrics and Enhanced Decision Rules in the Fellegi-Sunter Model of Record Linkage" (1990)The Jaro–Winkler similarity used for names, as in chapter 18.
Practise it
The chapters that put this theory to work on Harbour Mutual and Kestrel:
- Chapter 18: Master data 1: matching and survivorship
- Chapter 19: Master data 2: running it
- Chapter 20: Reference data
- Chapter 40: Stage 3: One customer
The tools to try it in:
- Match and merge · Tune matching and survivorship on two customer bases and watch precision, recall and the golden records change.
Terms taught here: Master dataMatchingGolden recordSurvivorshipPrecisionRecallHub styleReference dataCrosswalk