Modern AI systems, operational and analytical workloads, and autonomous agents need more than data; they need continuously updated context. By combining AI and machine learning with real-time data, organizations can build intelligent applications that respond to fresh signals instead of relying on stale batch data.
Today, we’re announcing the general availability of OCI GoldenGate Snowflake Capture with OCI GoldenGate Big Data 26.4.
OCI GoldenGate Snowflake Capture
OCI GoldenGate Snowflake Capture extracts changes from Snowflake tables and replicates them to any other GoldenGate certified target technologies. This helps keep downstream applications, streams, and lakehouses current across hybrid and multicloud environments.
For example, a retailer using Snowflake on Azure could use OCI GoldenGate on Azure to deliver customer-profile changes to Oracle Autonomous AI Lakehouse. Analytics teams could use the updated data to maintain customer segments for applications running on OCI.
Snowflake Capture checks configured tables at regular intervals. Teams can tune capture frequency and batch size to keep downstream applications and analytics up to date while balancing data freshness with the query load on Snowflake.

In this blog, we’ll show you how to configure the Snowflake Capture Initial Load Extract and synchronize real-time change data capture (CDC) from Snowflake.

Before you begin:
- Create the required OCI GoldenGate resources:
– Create an OCI GoldenGate Big Data deployment.
– Create an Oracle AI Database deployment.
– Create a Snowflake connection and assign to source Big Data deployment.
– Create an Oracle Autonomous AI Database connection and assign to the target Oracle AI Database deployment.
– Create a GoldenGate connection to the target Oracle AI Database deployment and assign it to the source Big Data deployment. - Prepare source Snowflake tables for OCI GoldenGate Snowflake Capture:
– In Snowflake, enable CHANGE_TRACKING on every table before the Extract start position. A start time earlier than the table’s tracking history cannot be served. For more details, refer to enable change tracking and plan retention.
– Set DATA_RETENTION_TIME_IN_DAYS so the requested start and any unexpected outage or catch-up period remain within Time Travel retention. See Snowflake Time Travel.
– (Optional) Provide a Snowflake virtual warehouse for Extract queries. A separate warehouse is recommended to isolate capture query load, queueing, credit usage, and monitoring from analytics workloads; it is not separate Snowflake storage and does not need to be a separate account.
– Review required Snowflake roles and privileges. - Prepare target database and tables:
– Use Automatic Schema Evolution to create target tables automatically in Oracle Database. Automatic Schema Evolution is supported with Oracle GoldenGate 23.26.4 and later.
– Alternatively, you can manually create target tables in Oracle Database. - Consider OCI GoldenGate local or cross-region disaster recovery options for production workloads.
Configure the Snowflake Initial Load Extract
A Snowflake Initial Load Extract reads existing rows from selected tables to establish the target baseline. To coordinate the initial load with change data capture (CDC), choose a timestamp, T0. Configure the initial-load Extract’s SQLPREDICATE to read each table as of T0, then set the CDC Extract’s BEGIN TIMESTAMP to T0 + 1 millisecond.
Snowflake documents millisecond resolution for timestamps used with CHANGES and states that the interval’s END marker is inclusive. In this initial-load-to-CDC handoff, the Initial Load Extract reads the table as of T0, and the CDC Extract begins at T0 + 1 millisecond—the next timestamp point available to Snowflake CHANGES. For details, refer to Snowflake CHANGES documentation.
Run this query in Snowflake to generate both timestamps:
ALTER SESSION SET TIMESTAMP_NTZ_OUTPUT_FORMAT ='YYYY-MM-DD HH24:MI:SS.FF3';
WITH point AS (SELECT DATE_TRUNC('MILLISECOND', SYSDATE())::TIMESTAMP_NTZ(3) AS t0)
SELECT t0 AS initial_load_t0,
DATEADD(millisecond, 1, t0)::TIMESTAMP_NTZ(3) AS cdc_begin
FROM point;
Use initial_load_t0 as the timestamp literal in SQLPREDICATE and cdc_begin for the CDC Extract’s BEGIN TIMESTAMP. Do not generate a new T0 between configuring the two Extracts.

Configure the Snowflake Initial Load Extract by following the steps in the OCI GoldenGate documentation. The parameter file should resemble the following. Replace the timestamp with the value returned as initial_load_t0.
EXTRACT <extract_name>
EXTFILE <trail_name>
--- End of auto generated Parameter File ---
SOURCEDB USERIDALIAS dsnw DOMAIN OracleGoldenGate
JVMOPTIONS CLASSPATH $OGG_HOME/ggjava/ggjava.jar:$THIRD_PARTY_DIR/snowflake/*
-- Connection alias:
TRANLOGOPTIONS _CONNECTIONID <snowflake_connection_ocid>
TABLE <database_name>.<schema_name>.<table_name>, SQLPREDICATE "AT (TIMESTAMP => '<initial_load_t0_timestamp>'::TIMESTAMP_NTZ)";
Start the Initial Load Extract. It should enter the running state and stop automatically when the load completes. To review its statistics, open the report and find Run Time Statistics. In the example shown, the Extract wrote 457 rows.

Configure Distribution Path for the Initial Load Extract
Snowflake Capture runs in an OCI GoldenGate Big Data deployment (version 26.4 or later), and you can replicate its captured data to any target technology supported by OCI GoldenGate. Choose a target deployment that matches your target technology. This blog uses an Oracle Database deployment. For more details, see OCI GoldenGate supported technologies.
Create a GoldenGate connection to the Oracle AI Database deployment and assign it to the source OCI GoldenGate Big Data deployment. The source deployment uses the connection to send the trail to the target’s Receiver Service.
This blog covers replication from Snowflake to Oracle Database, so it uses a Big Data deployment for Snowflake Capture and an Oracle Database deployment for the target. After configuring the initial-load Extract on the Big Data deployment, create a Distribution Path to send its output to the Oracle Database deployment. The path connects the source deployment’s Distribution Service to the target deployment’s Receiver Service, where the target-side Replicat can access the data. For more details, see Add a Distribution Path for configuration steps.
Configure the Initial Load Replicat
To apply the initial-load data, create a Replicat in the deployment configured for your target technology. This blog uses Oracle AI Database as the target. Follow the steps in Add a Replicat for Oracle AI Database.
If you want Replicat to create the target tables from the initial-load trail, you can enable Oracle GoldenGate Automatic Schema Evolution (AutoSchema). AutoSchema is available starting with Oracle GoldenGate 26ai (23.26.4). For more details, see the AutoSchema support details and release notes.
AutoSchema supports Classic and Coordinated Replicats, but not Parallel Replicat in this release. This example uses a Coordinated Replicat. For more details, see AutoSchema limitations.
The parameter file should look similar to this:
REPLICAT <replicat_name>
USERIDALIAS <alias_name> DOMAIN <domain_name>
--- End of auto generated Parameter File ---
DDL AUTOSCHEMA INCLUDE ALL
MAP <database_name>.<schema_name>.<table_name>, TARGET <schema_name>.<table_name>;
Start the initial-load Replicat. It should enter the Running state. To review its statistics, select the Replicat and open Statistics. In this example, Replicat applied 16 inserts.

Configure the Snowflake CDC Extract
After the initial load completes, create a Snowflake CDC Extract following the steps in OCI GoldenGate documentation and set its start time to the cdc_begin value calculated in the “Configure Snowflake Initial Load Extract” section. In the Extract Options step, select Custom Time for Begin, then enter cdc_begin in the Date field.
Check the Timezone setting too. Your timestamp query uses Snowflake SYSDATE(), which returns a UTC TIMESTAMP_NTZ. GoldenGate interprets the Begin time in the Extract host’s time zone and converts it to UTC. Select UTC for the time zone, or convert cdc_begin to the time zone selected in the form so it represents the same instant Snowflake SYSDATE().

The Extract polls Snowflake at regular intervals and writes available changes to the GoldenGate trail. The default interval is 30 seconds. Adjust it with TRANLOGOPTIONS FETCHWINDOWSIZE: a shorter interval can reduce latency but increase query overhead; a longer interval can reduce overhead but increase latency. For more details, see Snowflake Capture Configuration Reference documentation.
If you use custom TRANLOGOPTIONS FETCHWINDOWSIZE in Snowflake CDC Extract, the parameter file should look similar to this:
EXTRACT <extract_name>
EXTTRAIL <trail_name>
SOURCEDB USERIDALIAS <alias_name> DOMAIN <domain_name>
JVMOPTIONS CLASSPATH $OGG_HOME/ggjava/ggjava.jar:$THIRD_PARTY_DIR/snowflake/*
TRANLOGOPTIONS FETCHWINDOWSIZE <seconds>
TABLE <catalog_name>.<schema_name>.<table_name>;
Configure Distribution Path for the CDC Extract
After configuring the CDC Extract on the Big Data deployment, create a Distribution Path to send its output to the Oracle Database deployment. The path connects the source deployment’s Distribution Service to the target deployment’s Receiver Service, where the target-side Replicat can access the data. For more details, see Add a Distribution Path for configuration steps.
Configure the CDC Replicat
To apply the CDC data, create a Replicat in the deployment configured for your target technology. This blog uses Oracle AI Database as the target. Follow the steps in Add a Replicat for Oracle AI Database.
Conclusion
Using OCI GoldenGate, you can run an initial load from Snowflake to Oracle AI Database and configure real-time data synchronization.
