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/tables.md
+8-8Lines changed: 8 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -113,8 +113,8 @@ The `Timestamp` column will be empty for backfilled data because, during backfil
113
113
114
114
The `id_graph_updates` table maps between the following:
115
115
116
-
-`segment_id`: the profile ID that Segment appends to an event or an identifier at the time it was first observed
117
-
-`canonical_segment_id`: the fully-merged segment ID (that is, the profile Segment now understands any events or identifiers to map to)
116
+
-`segment_id`: the profile ID that Segment appends to an event or an identifier at the time it was first observed.
117
+
-`canonical_segment_id`: the fully-merged segment ID (the profile Segment now understands any events or identifiers to map to).
118
118
119
119
As a result, this table contains information about the creation and merging of profiles, as well as the specific events that triggered those changes.
120
120
@@ -130,14 +130,14 @@ Using the events from the profile merge case study, Segment would generate three
130
130
131
131
</div>
132
132
133
-
In this example, the table shows `profile_2` mapping to two places: first to itself, then, later, to `profile_1` after the merge occurs.
133
+
In this example, the table shows `profile_2` mapping to two places: first to itself, then to `profile_1` after the merge occurs.
134
134
135
135
136
136
#### Recursive entries
137
137
138
138
Segment shows the complete history of every profile. If, later, `profile_1` merges into a different `profile_0`, Segment adds recursive entries to show that `profile_1` and `profile_2` both map to `profile_0`. These entries give you a comprehensive history of all profiles that ever existed.
139
139
140
-
If you’ll use Profiles Sync to build models, refer to the `id_graph` model, which can help you put together a complete view of a customer.
140
+
If you use Profiles Sync to build models, refer to the `id_graph` model, which can help you put together a complete view of a customer.
141
141
142
142
### The external_id_mapping_updates table
143
143
@@ -196,7 +196,7 @@ Event type tables provide a complete history for each type of event. Segment syn
196
196
Identity Resolution processes these events, and includes a `segment_id`, enabling the data to be joined into a single Profile record.
197
197
198
198
> success ""
199
-
> Event type tables have 2 months of historical data on backfill. Contact support if you need access to data beyond this period.
199
+
> Event type tables have two months of historical data on backfill. Contact [Segment support](https://segment.com/help/contact/){:target="_blank"} if you need access to data beyond this period.
200
200
201
201
Event type tables includes the following tables:
202
202
@@ -213,7 +213,7 @@ These event tables are similar to the tables landed by Segment warehouse integra
213
213
- Events are combined in a single schema. For example, if you have three sources going into a single space, Segment produces one schema, not three.
214
214
- These tables have two extra columns:
215
215
*`segment_id`: the profile ID at the time the event came through. That profile may have since merged.
216
-
*`event_source_id`: the specific source ID of the incoming event
216
+
*`event_source_id`: the specific source ID of the incoming event.
217
217
218
218
The previous result would generate two entries in the `pages` table:
219
219
@@ -305,7 +305,7 @@ If you're not using materialized views for Profile Sync and would like to switch
305
305
- Once the backfill is complete, review the data in your warehouse to confirm all necessary historical information has been included.
306
306
307
307
> warning ""
308
-
> For materialized view tables, you must have delete permissions for your data warehouse.
308
+
> For materialized view tables, you must delete permissions for your data warehouse.
309
309
310
310
### Why materialized views?
311
311
@@ -317,7 +317,7 @@ Materialized views offer several advantages:
317
317
318
318
### The user_traits table
319
319
320
-
With the `user_traits` table, you'll see all traits that belong to a profile, represented by the `canonical_segment_id`. Use this table for a complete picture of your Profiles Sync data with external data sources such as customer purchase history, product usage, and more.
320
+
The `user_traits` table lists all traits that belong to a profile, represented by the `canonical_segment_id`. Use this table for a complete picture of your Profiles Sync data with external data sources such as customer purchase history, product usage, and more.
321
321
322
322
- This view is a fixed schema, and contains a row for each trait associated with the profile.
323
323
- As new traits are added to the profile, new rows are added to the table.
0 commit comments