What is match and merge in EBX?
Match and merge is how EBX® handles the uniqueness dimension of data quality. Matching compares records and groups the ones that represent the same customer, product, supplier or location, on a single table or across a whole business object and its related tables. Merging combines each group into one golden record, choosing every value by rules you set and keeping the link to each source record. Both run inside EBX, so they follow the same dataspaces, workflows, permissions and history as every other change to master data.
From scattered source records to golden records
Most matching projects consolidate data from several systems. EBX keeps each stage in its own data zone, so you can see what every record looked like at each step.
- Landing: records arrive from each source system close to their original format, tagged with the source they came from.
- Staging: values are translated, standardized and validated so matching compares like with like.
- Mastering: records are matched and merged into golden records, and published to the applications that use them.
The MDM Factory accelerator generates these zones, their feeds, rules and match policies for you, with a person approving each step.
Matching rules you can read, as a decision tree
Each matching policy is a decision tree that you draw in the EBX user interface, with no code. Every node compares one or more fields and branches on the result:
- All fields match: every field must reach its minimum score.
- At least N fields match: for example, any one of email, phone or birth date.
- Average: a weighted average of field scores must reach a minimum score.
- Predicate: a condition you write yourself.
Each branch ends in one of three outcomes: Match (the records are duplicates), Suspect (they may be duplicates and a person should decide) or No match.
Tips from our implementation teams: put the most certain test first, give certain fields a higher weight, and exclude records that should never be compared, such as expired products. If no branch leads to Suspect, matching never needs a steward.
The right comparison for each field
Each field in a node is scored from 0 to 100 with the algorithm that suits its data.
| Algorithm | Best for | Example |
|---|---|---|
| Exact | Identifiers, codes, normalized values | Tax ID, country code, GTIN |
| Levenshtein (edit distance) | Short text with typos | A SKU typed by hand |
| Hybrid fuzzy | Short text with typos and synonyms | "Bob" and "Robert" |
| Jaro-Winkler | Personal names where the start matters | "Jon" and "Jonathan" |
| Phonetic: Beider-Morse, Soundex | Names across spelling and transliteration | "Stefan" and "Stephan" |
| Full text: exact, fuzzy or phonetic | Multi-word text in any word order | "Acme Corp Ltd" and "Ltd Acme Corp" |
| Range | Numbers and dates within a tolerance | Birth date within a few days, price |
| Operator | An explicit comparison or test value | Status equals "Active" |
You also decide how empty values count (match, no match or ignore). A search strategy set in the data model, such as Levenshtein, n-gram, Jaro-Winkler, Double Metaphone or Soundex, narrows which pairs are compared at all, so matching stays fast on large tables. Combine a high-recall test (a phonetic name) with a high-precision one (an exact postal code) rather than loosening every field.
Match and merge whole business objects, not single rows
A customer, product or supplier is rarely one row. Addresses, contacts, bank accounts, packaging or plant data live in related tables, and two records only describe the same entity when those details agree too. EBX matches at two levels.
Matching on relationships (any table). A matching field can take its value from an associated table, reached through a foreign key or a link table, so a Person policy can compare the city held in the Address table without copying it onto the Person record.
Business object matching. A business object is a main table and its related tables, defined once in the EBX data model. You register the business object with Match and Merge instead of a single table, and then:
- One decision tree across tables: each node can compare fields from the main table and from any related table, for example the name on Person, then street, postal code and city on Address, then the date of birth back on Person.
- Policies per table: keep one configuration on the main table, or give each related table its own matching and merge policy, for example addresses that match on the same address and type, where the first one acquired survives.
- Depth: matching up to three levels (main, child and grandchild; two are recommended for performance), and merging down to the grandchild level.
- Golden records keep their relationships: when a golden record is created on the main table, golden records are created in the related tables and linked to it. Foreign keys are realigned to the golden records automatically, and the merged source records stay unchanged for lineage.
- Golden creation options: duplicates and singletons (every record gets a golden record), only duplicates on the main table, or any duplicates on child tables, where children of the same parent can merge even when the parents don't.
- Runs from the main table: matching is launched on the main table and can run automatically after a record is created or updated.
Example from a test configuration on our own instance: a Person business object with a related PersonAddress table. The Person policy checks the name with Jaro-Winkler (last name at least 90, first name at least 85), then the address from the related table (line 1 and city at least 85, postal code exact), then the exact date of birth. When all three agree the result is Match, and a different birth date gives Suspect. PersonAddress has its own policy (same address and address type), and its merge policy keeps the first address acquired.
Good to know: a table used in a single-table matching configuration can't also be activated inside a business object, related-table decision trees have no Suspect outcome, and business objects use automatic foreign-key alignment. Details are in the Match and Merge administrator guide.
Matching at the point of entry, on demand and in workflows
- Search before create: users search for an existing record before creating a new one.
- Inline matching: when a user saves a new or updated record, EBX shows likely duplicates straight away so they can accept, reject or edit.
- On demand: run matching on a whole table or a selection. It runs in the background while people keep working.
- In workflows: start a workflow when a record is created or updated, with a user task for review.
- Evaluate matching: simulate a policy on a few records and see the exact path through the decision tree before you run it for real.
People decide the uncertain cases
Every record carries a matching state: Unset (not matched yet), Golden, Merged, Pending approval (after an unmerge) or Deleted (an automatic golden record that is no longer needed). Data stewards work from:
- the consolidated view: records with their group, state and target golden record;
- group management: confirm or split suspects and duplicates;
- the merge view: compare records side by side and choose values;
- workflow inboxes, so review follows your approval process and permissions.
Merges happen in dataspaces like every other change, so a batch can be reviewed and validated before it reaches shared master data.
Survivorship rules choose every value in the golden record
A merge policy decides what the golden record looks like, in two layers:
- Record selection picks the baseline record: most trusted source, most complete, last update, first acquired, most recently acquired, or the record that was already golden.
- Field survivorship picks each value independently: most trusted source, longest, most frequent, max, min, last update, a constant, or no merge.
Each is an ordered chain, so a second rule breaks ties left by the first, and a condition can stop a blank or placeholder value from winning. Trusted sources rank your systems per table and, where needed, per field: for example, HR wins on job title and Finance wins on bank details. A steward's manual correction is itself a source, "Data Steward decision", which you can rank like any other.
You choose what merging covers: only duplicates, duplicates and singletons (every record gets a golden record), or merging switched off. What are survivorship rules? →
Every golden record is explainable and reversible
- Lineage: see which source records and which values formed each golden record, as a list or as a golden-record hierarchy.
- Decision tree execution: see the path and scores that led any pair to Match, Suspect or No match.
- Unmerge and undo: take records back out of a golden record. They return in Pending approval for a steward to decide.
- Supersede survivorship: override a survivorship decision by hand. The value is recorded as a Data Steward decision.
- History and metadata: EBX keeps matching metadata for every table (record states, process runs, steward decisions) next to the standard record history. A purge service clears old matching metadata to keep later runs fast.
Example: a conservative customer matching policy
A Person policy built by the MDM Factory on a 100,000-record test project (synthetic data) compares a name key, email, phone (E.164), birth date and address keys. Every positive path ends in Suspect, so no customer is merged without a steward:
- same name and birth date;
- same email;
- same phone;
- same name with at least one of birth date, phone, email or address;
- same address.
Golden values come from the most trusted source (CRM, ERP, e-commerce, loyalty, in that order), then the longest value. The source field is set to "MDM", and source identifiers are never merged.
Results from our test runs
- MDM Factory on EBX 6.3: 1.47 million rows to golden records in 68 minutes of processing, with 0 false merges across 180,746 merged groups and 99.71% recall.
- EBX 6.3 matching performance: on 9 million records, a full match ran 3.3 to 4.2 times faster than on EBX 6.2.3, golden records re-matched 5.0 to 7.7 times faster, and a single record matched in 64 to 73 ms.
Automate matching with APIs
Java APIs run and simulate matching (on a table, a record or field values), read match processes and groups, change record states, merge and unmerge groups, and register custom field-merge functions. AI agents connected to EBX through MCP can read and configure matching policies within their EBX permissions.
Where match and merge is used
From customer identity to products and suppliers.
ACCELERATOR
MDM Factory →
Generate data zones, rules and match policies with a person approving each step.
GLOSSARY
What are survivorship rules? →
How the best value is chosen for each field of a golden record.