Data warehouse sync
Declare a warehouse in Computing Console and pick a synchronisation strategy per table.
Your goal
Declare your warehouse in the platform and choose, per table, a synchronisation strategy that matches how that table actually changes.
Expected outcome
A warehouse connection that validates, and synchronisations that bring across the inserts - and the updates and deletes, if that is what you need.
Declare the warehouse
Prepare the access
Service account, permissions, and credentials file. See Warehouse compatibilities.
Select the provider and fill in the properties
Name
Description
Location
BigQuery only.
Working dataset / schema
The working schema, if you created one.
Choose a strategy per table
The strategy decides which changes in your warehouse reach the datamart. It is a per-table decision, not a global one.
Timestamp based
All updates in the source table - insert, update, delete - are reflected in mediarithmics. Requires a timestamp column tracking the last update of each line.
Yes
Hash table
All updates in the source table - insert, update, delete - are reflected. A temporary table is created based on a hash of columns of the source table.
Yes
Full import
Every synchronisation imports the full table. Append-only - it does not handle deletes or updates.
No
Choosing between the two full-fidelity strategies: timestamp based if your table already carries a reliable last-update column, hash table if it does not.
Timestamp based
Imports all events that occurred since the last import. Requires a timestamp column tracking when each event occurred. Append-only - it does not handle deletes or updates.
No
Events are naturally append-only, which is why the event strategy does not need a working schema.
What the strategy costs you
Full import for profiles
Deletions and corrections in your warehouse never reach the datamart.
Timestamp based for profiles
A dependency on the timestamp column being maintained correctly - a row updated without touching it is invisible to the sync.
Hash table
Temporary tables in your working schema, and the write access that implies.
Timestamp based for events
Nothing unusual, provided event timestamps are accurate.
Verify
The warehouse is created without an error, which confirms the permissions.
A first synchronisation imports the row count you expect - allowing for cleaning rules on events.
A test update in the warehouse appears in the datamart, if your strategy handles updates.
A test delete disappears from the datamart, if your strategy handles deletes.
Collection volumes move for the collections concerned. See Monitor collection volume.
Related pages
Last updated
Was this helpful?