Openflow Connector for SQL Server: Set up incremental replication without snapshots¶
Note
This connector is subject to the Snowflake Connector Terms.
You can configure the Openflow Connector for SQL Server connector to immediately replicate incremental changes for newly added tables, bypassing snapshots. Use incremental load to continue replication without snapshotting every table again when you reinstall the connector over previously replicated data.
You can enable incremental replication in a new or existing connector instance.
To enable incremental replication in a new or existing connector instance:
Set up the connector as described in Set up the Openflow Connector for SQL Server.
In the
SQLServer Ingestion Parameterscontext, set theIngestion Typeparameter toincremental.
Enable incremental replication without snapshots¶
To enable incremental replication on an existing connector:
Sign in to Snowsight.
In the navigation menu, select Ingestion » Openflow.
In the Openflow pane select the Runtimes tab.
Select the runtime containing the connector.
Select the connector.
In the
Ingestion Parameterscontext, specifyIngestion Type=incremental.Add new replication tables. These tables immediately switch to their incremental load.
Note
To return to replicating tables with the snapshot load, change Ingestion Type from incremental to full.
Usage notes¶
Changing the value of Ingestion Type does not impact any tables that have begun replicating data. Tables currently in the snapshot phase continue until the snapshot load is complete.
While Ingestion Type is set to
incremental, new tables added to the list of replicated tables bypass the snapshot phase. This includes new tables added to the source database that match theIncluded Table Regexparameter. Ensure that the ingestion type is set toincrementalto bypass the snapshot phase.Note
Connectors should only remain in
incrementalmode as long as required as it bypasses snapshots. Once customer needs for incremental updates have been satisfied the connector should be returned tofullmode.For tables that bypass snapshot load, the connector creates a destination table in Snowflake, by executing
CREATE TABLE IF NOT EXISTS, only if no destination table already exists. Tables going through the snapshot require that no destination table exist.