首页 > 其他 > 详细

SSIS ->> Package Restartability Fullfilled By Checkoints

时间:2015-08-18 15:30:02      阅读:158      评论:0      收藏:0      [点我收藏+]

Checkpoints are the foundation for restarting packages in SSIS, and they work by writing state information to a ?le after each task completes. This ?le can then be used to determine which tasks have run and which have failed. 

To ensure that the checkpoint ?le is created correctly, you must set 3 package properties and one task property:

CheckpointFilename: This is the ? lename of the checkpoint ? le

CheckpointUsage: 3 options

  • Never: The package will not use a checkpoint ? le and therefore will never restart.
  • If Exists: If a checkpoint ? le exists in the place you speci? ed for the CheckpointFilename property, then it will be used, and the package will restart according to the checkpoints written.
  • Always: The package will always use a checkpoint ? le to restart; if one does not exist, the package will fail

SaveCheckpoints: This is a simple Boolean to indicate whether checkpoints are to be written. 

The one property you have to set on the task is FailPackageOnFailure. This must be set for each task or container that you want to be the point for a checkpoint and restart. If you do not set this property to true and the task fails, no ? le will be written, and the next time you invoke the package, it will start from the beginning again. 

Checkpoints occur only at the Control Flow

If you want a checkpoint ? le to be written, then make sure that the restart point has FailPackageOnFailure set to true.

SSIS ->> Package Restartability Fullfilled By Checkoints

原文:http://www.cnblogs.com/jenrrychen/p/4739219.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!