Create Materialized Views
Translation reference to convert Oracle Materialized View to Snowflake Dynamic Table
Description
In Snowconvert, Oracle Materialized Views are transformed into Snowflake Dynamic Tables. To properly configure Dynamic Tables, two essential parameters must be defined: TARGET_LAG and WAREHOUSE. If these parameters are left unspecified in the configuration options, Snowconvert will default to preassigned values during the conversion, as demonstrated in the example below.
For more information on Materialized Views, click here.
For details on the necessary parameters for Dynamic Tables, click here.
Sample Source Patterns
Oracle
Snowflake
Refresh Modes
Snowflake dynamic tables support an equivalent to Oracle's materialized view refresh modes. The corresponding modes are as follows:
Oracle:
FAST: Refreshes only the rows that have changed.
COMPLETE: Refreshes the entire materialized view.
FORCE: Uses FAST if possible, otherwise uses COMPLETE.
Snowflake:
AUTO: Automatically determines the best refresh method.
FULL: Refreshes the entire table, equivalent to Oracle's COMPLETE mode.
INCREMENTAL: Refreshes only the changed rows.
Default Refresh Mode
When using SnowConvert, the dynamic table's default refresh mode is AUTO.
Mode Mappings
Oracle FAST and FORCE -> Snowflake AUTO
Oracle COMPLETE -> Snowflake FULL
For more details, refer to the official documentation on Oracle Refresh Modes and Snowflake Refresh Modes.
Oracle
Snowflake
Known Issues
No known errors detected at this time.
Related EWIs
SSC-FDM-0031: Dynamic Table required parameters set by default
Last updated