Skip to main content

Community

Other: Provide Method to avoid truncate or delete's during refresh

Answered

Please sign in to leave a comment.

Comments

2 comments

    Just to mention providing this method of bypassing data truncation would greatly speed up our data copies 

  • Mark Van de Wiel User

    Hi Ali,

    Action Restrict with argument RefreshCondition protects rows on the target that do not match the condition. By providing a condition like "0 = 1" that always  equates to false you can protect all rows in the target.

    With 6.2.5 (or upcoming 6.3) indeed the refresh merge provides an alternative option to avoid deletes on the target. However, like you said it may result in an expensive merge on the destination. Also, before we run the merge we stage the data into a staging table, which is extra work if all you want is append the data to the target table.

    Hope this helps.

    Mark.