Quantcast
Channel: CodeSection,代码区,SQL Server(mssql)数据库 技术分享 - CodeSec
Viewing all articles
Browse latest Browse all 3160

What are checkpoints in SSIS?

$
0
0

This write-up in actual is continuation with the previous one where we had explained “transaction in SSIS” written by a candidate who attended MSBI classroom training in Mumbai. This write-up will deal with checkpoints used in SSIS.

Issue:

Now the concept of Checkpoint is different from Transaction. According to the definition Checkpoint starts from the last failed point whereas in Transaction it is All Fail or All Success. From the below figurethe error shown from the Progress tab which says that “The system cannot find the file specified” here we are using Checkpoint.


What are checkpoints in SSIS?

Here the error occurred because the Checkpoint Usage property is set to “Always” as shown in the figure down below.


What are checkpoints in SSIS?
Solution:

The solution is very simple; we just have to change the Checkpoint Usage Property. Now there are three types of Checkpoint Usage property “Never, If Exists & Always”.


What are checkpoints in SSIS?

“Never” means the application doesn’t care whether there is a Checkpoint file present in the system or not.

“If Exists” means if the checkpoint file exists in the system then the application will provide all the details of the checkpoint there.

“Always” means the application sees to it that there should always be a checkpoint file in the system otherwise it will give us the error like the above one.

To solve this error we are selecting the checkpoint usage option as “If Exists”.


What are checkpoints in SSIS?
What are checkpoints in SSIS?

And set the path ofthat created empty text “checkpoint file”name under Properties as shown down below.


What are checkpoints in SSIS?

Now if we try to run the program it will run smoothly.


What are checkpoints in SSIS?

Here the error is detected at State Master. So now after resolving the error the checkpoint will start from State Master and continue to execute ahead.


What are checkpoints in SSIS?

With this practical hope that checkpoint is understood along difference between transaction and checkpoint. Excuse us in case if found some mistake in above write-up as it is written by candidate who attended recent MSBI training in Mumbai.


Viewing all articles
Browse latest Browse all 3160

Trending Articles