HelpDatabase Reference › Computed_CommonAncestors

Computed_CommonAncestors Table

The Computed_CommonAncestors table caches the results of pairwise tree comparison. Each row is a common ancestor found between the user’s assigned tree (see Kit_TreeAssignment) and a specific match’s tree. Caching these results avoids re-running the comparison every time the People views are opened.

A match may produce several rows — one per common ancestor found. Rows are written for a kit only when at least one common ancestor is found for a given match.

Column Reference

ColumnTypeDescription
Idint (PK)Auto-incrementing primary key
KitGuidstringThe user’s DNA kit whose assigned tree was compared
MatchGuidstringThe match whose tree was compared against the assigned tree
CompanystringWhich service the kit and match belong to
AncestorNamestringDisplay name of the common ancestor
AncestorBirthYearstringBirth year of the ancestor, if known (nullable)
AncestorDeathYearstringDeath year of the ancestor, if known (nullable)
AncestorGenderstringGender of the ancestor, if known (nullable)
GenerationintGeneration of the ancestor within the tree (distance up from the root individual)
MatchLevelintName-matching strictness level used by the comparison engine to identify the shared ancestor
IsMRCAboolTrue if this ancestor is a Most Recent Common Ancestor for the pair
ComputeDateDateTimeWhen this row was computed (UTC)

How It’s Populated

The common-ancestor compute service iterates over each match that has tree data for the kit. For each match it loads the match’s tree (or its Match_TreeOverride tree if set), compares it against the kit’s assigned tree at the chosen MatchLevel, and inserts one row per common ancestor found, stamping each with the current ComputeDate. Before a new run, the previous results for the kit are cleared. The companion Computed_AncestorStatus row records the overall run.

Related Tables