Skip to main content

Striim for Snowflake Documentation

Connect to Snowflake

If you have already created one or more pipelines, you can select an existing Snowflake connection to write to the same Snowflake database. When you create your first pipeline, or if you want to write to a different Snowflake database, you must enter the following connection details See Configure Snowflake for details on creating the referenced objects in Snowflake.

  • Host: your Snowflake account identifier

  • Username: the Snowflake user ID Striim will use to connect

  • Password: the password for the specified user ID

  • Database: the existing Snowflake database that Striim will write to

  • Role: a role associated with the specified user ID that has the privileges required to use the specified database and warehouse

  • Warehouse: an existing Snowflake warehouse (leave blank to use the default warehouse for the specified user)

  • JDBC URL Params (optional): Specify any additional JDBC connection parameters required to connect to your Snowflake instance (see Docs » Connecting to Snowflake » Connectors & Drivers » JDBC Driver » Configuring the JDBC Driver). Separate multiple parameters with &, for example

    useProxy=true&proxyHost=198.51.100.0&proxyPort=3128&proxyUser=example&proxyPassword=******

How do you want to write continuous changes to Snowflake?

  • Write continuous changes as audit records (default; also known as APPEND ONLY mode): Snowflake retains a record of every operation in the source. For example, if you insert a row, then update it, then delete it, Snowflake will have three records, one for each operation in the source (INSERT, UPDATE, and DELETE). This is appropriate when you want to be able to see the state of the data at various points in the past, for example, to compare activity for the current month with activity for the same month last year.

    With this setting, Striim will add two additional columns to each table, STRIIM_OPTIME, a timestamp for the operation, and STRIIM_OPTYPE, the event type, INSERT, UPDATE, or DELETE. Note: on initial sync with SQL Server, all STRIIM_OPTYPE values are SELECT.

  • Write continuous changes directly (also known as MERGE mode): Snowflake tables are synchronized with the source tables. For example, if you insert a row, then update it, Snowflake will have only the updated data. If you then delete the row from the source table, Snowflake will no longer have any record of that row.

Which method would you like to use to write continuous changes to Snowflake?