Storing sync logs and snapshot tables may incur additional warehouse costs.
Sync logs
RudderStack supports storing Reverse ETL sync logs in your warehouse. These logs are stored in a certain format in the RudderStack schema (used for storing the state of each sync). You can explore these logs using SQL or any BI tool to debug any issues or failures during syncs.
Storing the sync logs in your warehouse will incur additional costs.
Sync log table schema
The sync log table schema is as follows:
Column
Description
connection_id
Connection ID for the sync run.
sync_run_id
Unique identifier for the sync run.
primary_key
Value of the primary key column selected for the sync.
operation
Nature of the operation performed on the row. It can be either insert, update, or delete.
status
Result of the operation. It can be either succeeded or failed.
error_reason
Reason for failure in case status is failed.
sync_started_at
Sync start time in UTC.
sync_finished_at
Sync finish time in UTC.
Snapshot table schema
RudderStack generates a snapshot table in the RudderStack schema for each sync. It contains rows (barring invalid rows like duplicate primary keys and null primary keys) from the data source like a warehouse table, view, SQL model, or audience. It also includes the details of the changes that happened in each row during the sync.
Storing the snapshot tables in your warehouse will incur additional costs.
The snapshot tables are stored in the snapshot_<connection_id>_<sync_run_id> format, where:
Make sure to replace the placeholders in the above queries with the actual values.
Retry failed records
The Retry failed records toggle in the sync settings lets you determine whether RudderStack should continually retry sending the failed records in the previous syncs to the downstream destination.
If a failed record has undergone any changes, RudderStack retries syncing the updated record instead.
This site uses cookies to improve your experience while you navigate through the website. Out of
these
cookies, the cookies that are categorized as necessary are stored on your browser as they are as
essential
for the working of basic functionalities of the website. We also use third-party cookies that
help
us
analyze and understand how you use this website. These cookies will be stored in your browser
only
with
your
consent. You also have the option to opt-out of these cookies. But opting out of some of these
cookies
may
have an effect on your browsing experience.
Necessary
Always Enabled
Necessary cookies are absolutely essential for the website to function properly. This
category only includes cookies that ensures basic functionalities and security
features of the website. These cookies do not store any personal information.
This site uses cookies to improve your experience. If you want to
learn more about cookies and why we use them, visit our cookie
policy. We'll assume you're ok with this, but you can opt-out if you wish Cookie Settings.