Oracle Output
    • Dark
      Light

    Oracle Output

    • Dark
      Light

    Article Summary

    This article is specific to the following platforms - Snowflake - Redshift.

    Oracle Output

    The Oracle Output component enables users to output the contents of a table (or view) from their cloud data warehouse (CDW) to their Oracle database.

    Using this component, Matillion ETL users can push their data to an on-prem server from the cloud if they so wish.

    Snowflake Data Type Mapping

    Oracle does not support a Boolean data type. In light of this, Boolean values will be converted to a binary "1" or "0". Any Snowflake Booleans with a value of "true" will have a binary value of "1" after the Oracle Output job. Any Snowflake Booleans with a value of "false" will have a binary value of "0" after the Oracle Output job.

    Properties

    Snowflake Properties

    PropertySettingDescription
    NameStringA human-readable name for the component.
    Driver.jar FileUse the Manage Database Drivers dialog to create, browse, and test JDBC drivers. Please upload a .jar file when creating a new database driver—you may upload more than one file if required (for example, if the driver you are uploading is split into multiple packages.
    EndpointStringThe Oracle database endpoint. Typically, this is your Oracle database IP. For example, 10.12.2.15:
    PortIntegerThe port number that follows your Oracle database endpoint. The default value is 1521.
    Database NameStringThe name of your Oracle database.
    UsernameStringThe username of the Oracle account.
    PasswordStringThe password of the Oracle account. Users can store their password within the component, or securely situate their password within the Matillion ETL Password Manager.
    JDBC OptionsParameterA JDBC connection parameter supported by the database driver.
    ValueThe value of the corresponding parameter.
    DatabaseSelectSelect the Snowflake database. The special value, [Environment Default], will use the database defined in the Matillion ETL environment. For more information, read Databases, Tables, & Views.
    SchemaSelectSelect the Snowflake schema. The special value, [Environment Default], will use the schema defined in the Matillion ETL environment. For more information, read Database, Schema, & Share DDL.
    Source TableSelectSelect the source table to be output to the Oracle database. The chosen source schema determines what tables will be available for selection.
    Target TableStringA name for the output table that is to be created in the Oracle database.
    Target SchemaStringThe name of the Oracle schema to output the target table into.
    Load ColumnsColumn SelectorThe columns from the source table to include in the output job. Use the arrow buttons to include or exclude columns. Columns on the right-hand side will be included. Columns on the left-hand side will be excluded.
    Table MaintenanceSelectDefine how the target table is treated.
    Create If Not Exists: if the named target table does not yet exist, it will be created.
    None: assume the Oracle database already has the table defined with the correct structure.
    Replace: if the named target table already exists, it will be dropped and replaced by a newly created table. Please use this setting with care.
    Primary KeyColumn SelectA column or group of columns used to identify a row uniquely in a table.
    Update StrategySelectIn addition to inserting new records based on the primary key(s), this property can instruct Matillion ETL to:
    Ignore: Existing rows with the same primary key values will be ignored.
    Replace: Existing rows with the same primary key values will be replaced.
    The default setting is Ignore. This property is only available after a primary key has been selected.
    Update StrategySelectIn addition to inserting new records based on the primary key(s), this property can instruct Matillion ETL to:
    Ignore: Existing rows with the same primary key values will be ignored.
    Replace: Existing rows with the same primary key values will be replaced.
    The default setting is Ignore. This property is only available after a primary key has been selected.
    Truncate Target TableSelectYes removes all rows from a table or specified partitions of a table, without logging the individual row deletions. For more information, read TRUNCATE TABLE.
    No: does not truncate the target table.
    On WarningsSelectSpecify whether an output load should Continue or Fail if an ANSI Warning message is generated.
    Batch SizeIntegerThe number of rows to load to the target between each COMMIT. The default value is 5000.

    Redshift Properties

    PropertySettingDescription
    NameStringA human-readable name for the component.
    Driver.jar FileUse the Manage Database Drivers dialog to create, browse, and test JDBC drivers. Please upload a .jar file when creating a new database driver—you may upload more than one file if required (for example, if the driver you are uploading is split into multiple packages.
    EndpointStringThe Oracle database endpoint. Typically, this is your Oracle database IP. For example, 10.12.2.15:
    PortIntegerThe port number that follows your Oracle database endpoint. The default value is 1521.
    Database NameStringThe name of your Oracle database.
    UsernameStringThe username of the Oracle account.
    PasswordStringThe password of the Oracle account. Users can store their password within the component, or securely situate their password within the Matillion ETL Password Manager.
    JDBC OptionsParameterA JDBC connection parameter supported by the database driver.
    ValueThe value of the corresponding parameter.
    Source SchemaSelectSelect the source schema. The special value, [Environment Default], will use the schema defined in the Matillion ETL environment.
    Source TableSelectSelect the source table to be output to the Oracle database. The chosen source schema determines what tables will be available for selection.
    Target TableStringA name for the output table that is to be created in the Oracle database.
    Target SchemaStringThe name of the Oracle schema to output the target table into.
    Load ColumnsColumn SelectThe columns from the source table to include in the output job. Use the arrow buttons to include or exclude columns. Columns on the right-hand side will be included. Columns on the left-hand side will be excluded.
    Table MaintenanceSelectDefine how the target table is treated.
    Create If Not Exists: if the named target table does not yet exist, it will be created.
    None: assume the Oracle database already has the table defined with the correct structure.
    Replace: if the named target table already exists, it will be dropped and replaced by a newly created table. Please use this setting with care.
    Primary KeyColumn SelectA column or group of columns used to identify a row uniquely in a table.
    Update StrategySelectIn addition to inserting new records based on the primary key(s), this property can instruct Matillion ETL to:
    Ignore: Existing rows with the same primary key values will be ignored.
    Replace: Existing rows with the same primary key values will be replaced.
    The default setting is Ignore. This property is only available after a primary key has been selected.
    Update StrategySelectIn addition to inserting new records based on the primary key(s), this property can instruct Matillion ETL to:
    Ignore: Existing rows with the same primary key values will be ignored.
    Replace: Existing rows with the same primary key values will be replaced.
    The default setting is Ignore. This property is only available after a primary key has been selected.
    Truncate Target TableSelectYes removes all rows from a table or specified partitions of a table, without logging the individual row deletions. For more information, read TRUNCATE TABLE.
    No: does not truncate the target table.
    On WarningsSelectSpecify whether an output load should Continue or Fail if an ANSI Warning message is generated.
    Batch SizeIntegerThe number of rows to load to the target between each COMMIT. The default value is 5000.


    Video