Data Destination - Microsoft SQL Server
    • PDF

    Data Destination - Microsoft SQL Server

    • PDF

    Article summary

    summary

    Help Page for ETL Configuration of Data Setting to SQLServer.

    constraints

    • none in particular

    Setting items

    STEP1 Basic settings

    item nameindispensabledefault valueContents
    Microsoft SQL Server Connection ConfigurationYes-Select the previously registered Connection Configuration that has the necessary permissions for this ETL Configuration.
    Database NameYes-Specify the Database Name for Data Destination.
    schemaNo-Specify the name of the Data Destination schema.
    tableYes-Specify the name of the Data Destination table
    Custom Variables can also be used to dynamically determine the value of a setting during ETL Configuration of TROCCO's data.
    transfer modeYesinsertSelect the appropriate transfer mode among insert, insert_direct, truncate_insert, replace, and merge.
    For details on the mode, see About Transfer Mode below.
    merge keyNo-If the transfer mode is merge and the primary key does not exist in the Data Destination table, specify the key column name of the data to be transferred.

    About transfer mode

    mode nameContents
    insertFirst, intermediate tables are created and data is transferred. After all intermediate tables have been created, insert data into the target tables.
    If the target table does not exist, it will be created automatically.
    insert_directInserts rows directly into the target table.
    If the target table does not exist, it will be created automatically.
    However, when the transfer fails, data may have been inserted into the target table.
    truncate_insertIn insert mode, all contents of the target table are deleted before data is inserted into the table.
    replaceFirst, intermediate tables are created and data is transferred. Once the intermediate table has been created, delete the target table and rename the intermediate table to the target table name.
    However, when a transfer fails, the target table may be deleted.
    mergeFirst, intermediate tables are created and data is transferred. After all intermediate tables have been created, an update is performed if the merge key for the data in the intermediate tables already exists in the target table, otherwise an insert is performed.
    If the target table does not exist, it will be created automatically.

    STEP2 Detailed settings

    item namedefault valueContents
    Maximum number of retries12The maximum number of retries can be specified.
    Retry wait time (ms)1000You can specify the waiting time for retries.
    Maximum retry wait time in milliseconds1800000You can specify the maximum time to wait for a retry.
    batch size16777216Batch size can be specified.
    Default time zoneUTCYou can specify a default time zone.
    Connection timeout (seconds)300You can specify a timeout in seconds before the driver connects.
    When set to 0, the default for Microsoft SQL Server is 15 seconds.
    Socket timeout (seconds)1800You can specify a timeout in seconds before the query is executed.
    When set to 0, there is no timeout.

    Was this article helpful?