HelpDatabase Reference › MH_ICW

MH_ICW Table

The MH_ICW table holds MyHeritage In-Common-With (shared match) relationships. Each row records that two people, id1 and id2, share DNA with each other, along with the size of that shared match.

Gathering status: MyHeritage gathering is currently unavailable in the Client and is expected to return in a future update. This page documents the schema as it exists for data already in your database.

Column Reference

ColumnTypeDescription
Idint (PK)Auto-incrementing primary key
id1stringFirst person in the in-common pair (a matchid value from MH_Match)
id2stringSecond person in the in-common pair (a matchid value from MH_Match)
totalCMdecimalTotal shared DNA in centimorgans between the two people
percent_shareddecimalPercentage of shared DNA between the two people
num_segmentsintNumber of shared segments. The current code stores 0.
triTotalCMdecimalTotal triangulated cM for the pair. Not assigned by the current gather code; left at its default (0).
triSegmentsintCount of triangulated/intersected segments for the pair
GF_SyncstringGedcomFriends sync timestamp; set when the row has been synced.

How It’s Populated

Rows are written by AddMH_ICW during the ICW gather stage, keyed on the id1/id2 pair. Each shared-match relationship is stored bidirectionally: the gather inserts one row as (id1, id2) and a second reversed row as (id2, id1) carrying the same cM, percentage, segment, and triangulation values. Unique indexes exist on both (id1, id2) and (id2, id1), so duplicate pairs are skipped. Both IDs are the matchid halves parsed from MyHeritage match GUIDs, which is what lets the table join back to MH_Match.

Related Tables

  • MH_Matchid1 and id2 both reference MH_Match.matchid.
  • MH_Triangulate — the actual triangulated segments behind triSegments.