You signed in with another tab or window.Reload to refresh your session.You signed out in another tab or window.Reload to refresh your session.You switched accounts on another tab or window.Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/unify/profiles-sync/index.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -110,7 +110,7 @@ Profiles Sync sends profiles to your warehouse on an hourly basis, beginning aft
110
110
111
111
When Segment runs historical backfills:
112
112
113
-
- The`id_graph_updates`and`external_id_mapping_updates` tables sync your entire historical data to your warehouse.
113
+
- The`id_graph_updates`,`external_id_mapping_updates`,and`profile_traits_updates` tables sync your entire historical data to your warehouse.
114
114
- Profiles Sync gathers the last two months of all events, including those from the`identities`,`page`,`screens`, and`tracks` tables, and syncs them to your warehouse.
115
115
116
116
Segment lands the data on an internal staging location, then removes the backfill banner. Segment then syncs the backfill data to your warehouse.
Copy file name to clipboardExpand all lines: src/unify/profiles-sync/tables.md
+12Lines changed: 12 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -147,6 +147,18 @@ The anonymous site visits sample used earlier would generate the following event
147
147
In this table, Segment shows three observed identifiers. For each of the three identifiers, Segment outputs the Segment ID initially associated with the identifier.
148
148
149
149
150
+
###The profile_traits_updates table
151
+
152
+
The`profile_traits_updates` table maps each`segment_id` with all associated profile traits.
153
+
154
+
Segment updates this table:
155
+
- for each identify call that updates one or more traits for a`segment_id`.
156
+
- for any merge where traits from two previously separated profiles are now combined.
157
+
158
+
In the event that two profiles merge, Segment only updates the`profile_traits_updates` table for the`canonical_segment_id`, or the fully merged id.
159
+
160
+
From the`profile_traits_updates` table, use Segment's[open-source dbt models](https://github.com/segmentio/profiles-sync-dbt){:target="_blank"}, or your own tools to materialize the[`profile_traits`](#the-profile-traits-table) table with all profiles and associated profile traits in your data warehouse.
161
+
150
162
###The identifies, page, screens, and track tables
151
163
152
164
These tables show the instrumented events themselves. Entries in these tables reflect payloads that you instrument according to the Segment spec.