Root Key is the primary key of the primary data model object (DMO) of the data graph. In
a data graph, a root key is the main identifier. It is also the initial access point for data
retrieval. This is the primary key of the primary DMO.
To add or remove root key indicators in DMO metadata:
Permission set:
Data Cloud Architect
Adding a metadata indicator for objects with a root key simplifies the computation process by
identifying and using the root key in incoming data. This eliminates unnecessary lookups during
refresh runs.
If the metadata indicator is unavailable, the refresh process defaults to the traditional
computation method. For example, in a data graph structure, the primary DMO is Customer DMO,
with Website Engagement and Case Details as child DMOs.The Website Engagement Data Model Object
(DMO) contains the customer ID which happens to be the root key. You can tag this customer ID as
the root key. The Website Engagement DMO uses the metadata directly, specifically the embedded
root key to streamline the data graph computation. However, the Case Details DMO still relies on
the legacy computation process for querying.
When creating or editing a data graph, you can indicate a field as a root key. To manage the
root key indicator in the DMO's metadata, follow these steps:
Navigate to the object that isn’t directly related to the primary DMO and select the
field.
Click Select as Root Key. To later remove the metadata indicator,
select the field and click Remove as Root Key.
Did this article solve your issue?
Let us know so we can improve!
Loading
Salesforce Help | Article
Cookie Consent Manager
General Information
Required Cookies
Functional Cookies
Advertising Cookies
General Information
We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required Cookies
Always Active
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional Cookies
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising Cookies
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.