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
These materialized tables provide a snapshot of your Segment profiles, batch updated according to your sync schedule.
267
+
These materialized tables provide a snapshot of your Segment profiles, batch updated according to your sync schedule.
268
+
269
+
### Switching to materialized Profile Sync
270
+
271
+
If you're not using materialized views for Profile Sync and would like to switch, follow these steps:
267
272
268
-
Visit the [selective sync](/docs/unify/profiles-sync/#using-selective-sync) setup page to enable the following materialized tables, which Segment disables by default.
273
+
1. Enable Materialized Views through Selective Sync:
274
+
- Navigate to **Unify** on the sidebar and select **Profiles Sync**.
275
+
- Ensure you are viewing the Engage space you would like to enable materialized views for.
276
+
- Go to **Settings** → **Selective Sync** and enable the following tables:
277
+
-`user_traits`
278
+
-`user_identifiers`
279
+
-`profile_merges`
269
280
270
-
You can also use [historical backfill](/docs/unify/profiles-sync/profiles-sync-setup/#using-historical-backfill) with tables Segment materializes.
281
+
2.**Request a Full Profiles and Events Backfill**
282
+
- After enabling the materialized views, you'll need to ensure historical data is populated in the materialized tables.
283
+
- Write to [friends@segment.com](mailto:friends@segment.com) and request:
284
+
- A full **Profiles Backfill** to populate historical profiles data.
285
+
- An **Events Backfill** to include any relevant historical events, including a date range for Segment to pull data in for the events backfill.
286
+
287
+
3.**Verify Your Data**
288
+
- Once the backfill is complete, review the data in your warehouse to confirm all necessary historical information has been included.
271
289
272
290
> warning ""
273
291
> For materialized view tables, you must have delete permissions for your data warehouse.
274
292
293
+
### Why materialized views?
294
+
295
+
Materialized views offer several advantages:
296
+
-**Faster queries:** Pre-aggregated data reduces query complexity.
297
+
-**Improved performance:** Access enriched profiles and historical events directly without manual joins.
298
+
-**Data consistency:** Automatically updated views ensure your data stays in sync with real-time changes.
0 commit comments