Special Handling of DMO Relationships in Data Graphs
Data model object (DMO) relationships can affect how data is processed and reflected in
data graphs, particularly in real-time data graphs. Review DMO relationship types when designing
data graphs to make sure that processing behavior aligns with your expected update patterns.
Real-time data graphs support 1:1 and 1:N DMO relationships. An N:1 relationship occurs when
multiple child records reference a single parent record. For example, consider the
relationship between sale order products and product categories. A sale order can contain
multiple products, and each product in the order is represented as a sale order product
record. Each sale order product is associated with a product category, such as Electronics or
Fashion. A single order might include an iPhone and AirPods, which both belong to the
Electronics category, and a T-Shirt, which belongs to the Fashion category.
In this scenario, multiple sale order product records reference the same product category
record. For example, both the iPhone and AirPods sale order product records reference the
Electronics product category. This relationship represents an N:1 relationship, where many
child records map to one parent record. The child record’s foreign key (product category ID)
points to the parent record’s primary key, allowing multiple child records to reference the
same parent record.
Consider these two scenarios of N:1 relationship support based on when the real-time data
graph was created.
New real-time data graph behavior: Newly created or edited real-time data graphs don’t
support N:1 relationships. If adding a DMO introduces an N:1 relationship, the system blocks
the selection during creation or editing.
Existing real-time data graph behavior: Real-time data graphs that were created before
this restriction was introduced may already include N:1 relationships. These graphs continue
to run for backward compatibility. However, changes to the parent DMO in an N:1 relationship
aren’t immediately reflected in related records within the real-time data graph. Updated
values become available only after the data graph is rebuilt or refreshed according to its
configuration.
This restriction applies only to newly created real-time data graphs. Standard data graphs
continue to support N:1 relationships.
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.