For the complete documentation index, see llms.txt. This page is also available as Markdown.

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

1

Prepare the access

Service account, permissions, and credentials file. See Warehouse compatibilities.

2

Open the Data warehouse menu

In Computing Console, under the Data Store section, open Data warehouse.

3

Select the provider and fill in the properties

Property
Notes

Name

Description

Location

BigQuery only.

Working dataset / schema

The working schema, if you created one.

4

Upload the credentials file

Upload or drag and drop it. If the file contains the correct set of permissions, the data warehouse is created. If not, an error is raised - which makes this step your permission test.

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.

This choice concerns tables the platform reads to feed the datamart. Where the warehouse is the source of truth for the datamart, the platform also writes into it, and the tables it maintains there are described in Run your computation in the warehouse.

Strategy
What it does
Needs a working schema

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.

Strategy
What it does
Needs a working schema

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

If you choose
You accept

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.

Last updated

Was this helpful?