<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://sqlblog.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Search results matching tag 'checkpoint files'</title><link>http://sqlblog.com/search/SearchResults.aspx?o=DateDescending&amp;tag=checkpoint+files&amp;orTags=0</link><description>Search results matching tag 'checkpoint files'</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP2 (Build: 61129.1)</generator><item><title>Microsoft advocates checkpoints - proceed with caution [SSIS]</title><link>http://sqlblog.com/blogs/jamie_thomson/archive/2013/01/04/microsoft-advocates-checkpoints-proceed-with-caution.aspx</link><pubDate>Fri, 04 Jan 2013 13:28:15 GMT</pubDate><guid isPermaLink="false">21093a07-8b3d-42db-8cbf-3350fcbf5496:47000</guid><dc:creator>jamiet</dc:creator><description>&lt;p&gt;In December 2012 Microsoft published a whitepaper entitled SSIS Operational and Tuning Guide which you can download by &lt;a href="http://ow.ly/gwJZc" target="_blank"&gt;clicking here&lt;/a&gt;.&lt;/p&gt;  &lt;blockquote&gt;   &lt;p&gt;&lt;a href="http://sqlblog.com/blogs/jamie_thomson/image_3929A24D.png"&gt;&lt;img style="background-image:none;border-bottom:0px;border-left:0px;padding-left:0px;padding-right:0px;display:inline;border-top:0px;border-right:0px;padding-top:0px;" title="image" border="0" alt="image" src="http://sqlblog.com/blogs/jamie_thomson/image_thumb_22F386FB.png" width="349" height="322" /&gt;&lt;/a&gt;&lt;/p&gt; &lt;/blockquote&gt;  &lt;p&gt;I have skimmed through the whitepaper and it appears to be a compelling read however a couple of sentences caught my eye that I want to draw attention to here. These sentences refer to the use SSIS checkpoint files:&lt;/p&gt;  &lt;blockquote&gt;   &lt;p&gt;&lt;em&gt;Some of the most common challenges with SSIS packages are in how to handle unexpected failures during execution, and how to minimize the amount of time required to finish the execution of an ETL process when you must resume processing after a failure. For control flow tasks such as file system tasks, checkpoints can be used to resume execution without reprocessing work that has already been completed.        &lt;br /&gt;When designing packages, one of the largest concerns is designing so that in the event of failure, you do not lose all of the progress the package has made up to this point. For items in the control flow of a package, this is accomplished by the use of checkpoints. &lt;/em&gt;&lt;/p&gt; &lt;/blockquote&gt;  &lt;p&gt;In blog post &lt;a href="http://sqlblog.com/blogs/jamie_thomson/archive/2011/03/10/why-i-don-t-use-ssis-checkpoint-files.aspx" target="_blank"&gt;Why I don't use SSIS checkpoint files&lt;/a&gt; from March 2011 I explain my experiences of SSIS checkpoint files and why I choose not to use them. In addition there are a number of Connect submissions that speak to the problems associated with SSIS checkpoints:&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;&lt;a href="https://connect.microsoft.com/SQLServer/feedback/details/684346/ssis-checkpoint-file-object-type-issue-with-complex-data-types" target="_blank"&gt;SSIS Checkpoint File Object Type issue with complex data types&lt;/a&gt;&lt;/li&gt;    &lt;li&gt;&lt;a href="https://connect.microsoft.com/SQLServer/feedback/details/302952/peculiarity-using-checkpoint-files-and-the-onpostexecute-event-handler" target="_blank"&gt;Peculiarity using CheckPoint files and the OnPostExecute event handler&lt;/a&gt;&lt;/li&gt;    &lt;li&gt;&lt;a href="https://connect.microsoft.com/SQLServer/feedback/details/124541/the-values-of-object-variables-do-not-get-stored-in-checkpoint-files" target="_blank"&gt;The values of Object variables do not get stored in checkpoint files&lt;/a&gt;&lt;/li&gt;    &lt;li&gt;&lt;a href="https://connect.microsoft.com/SQLServer/feedback/details/269556/checkpoints-within-containers" target="_blank"&gt;Checkpoints within containers&lt;/a&gt;&lt;/li&gt;    &lt;li&gt;&lt;a href="https://connect.microsoft.com/SQLServer/feedback/details/126488/make-it-easier-to-configure-restartability" target="_blank"&gt;Make it easier to configure restartability&lt;/a&gt;&lt;em&gt;       &lt;br /&gt;        &lt;br /&gt;Full disclosure – two of those were submitted by myself&lt;/em&gt;&lt;/li&gt; &lt;/ul&gt;  &lt;p&gt;Microsoft have not (as far as I know) publicly acknowledged any issue with SSIS checkpoints however I am certain that internally the SSIS product team know the current implementation is inadequate for many scenarios. With this in mind I am disappointed that a Microsoft whitepaper openly advocates the use of them without at least acknowledging their deficiencies.&lt;/p&gt;  &lt;p&gt;Designing for restartability is hard. I personally choose not to use checkpoints and instead implement my own custom restartability solution; I am not saying steer clear at all costs but I hope that if you choose to use them that you both understand the implications of doing so and test that they behave as you expect.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://twitter.com/jamiet" target="_blank"&gt;@Jamiet&lt;/a&gt;&lt;/p&gt;</description></item><item><title>Why I don't use SSIS checkpoint files</title><link>http://sqlblog.com/blogs/jamie_thomson/archive/2011/03/10/why-i-don-t-use-ssis-checkpoint-files.aspx</link><pubDate>Thu, 10 Mar 2011 16:27:00 GMT</pubDate><guid isPermaLink="false">21093a07-8b3d-42db-8cbf-3350fcbf5496:34048</guid><dc:creator>jamiet</dc:creator><description>&lt;P&gt;In a recent discussion in regard to general ETL best practises the subject of checkpoint files as a means for package restartability came up and I stated that I was dead against using them. For anyone that may care, here is why:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;A href="http://consultingblogs.emc.com/jamiethomson/archive/2005/04/20/SSIS_3A00_-Checkpoint-clarification-_2D00_-Recovering-failed-packages.aspx" target=_blank&gt;Configuring them is distinctly unintuitive &lt;/A&gt;(that's a matter of opinion but if you follow the link I'll wager that you will agree)&lt;/LI&gt;
&lt;LI&gt;they don't make any allowance for loop iterations&lt;/LI&gt;
&lt;LI&gt;they cannot store variables of type Object&lt;/LI&gt;
&lt;LI&gt;they are &lt;A href="https://connect.microsoft.com/SQLServer/feedback/details/126489/execute-a-container-regardless-of-checkpoint" target=_blank&gt;limited in ability&lt;/A&gt;. There are many scenarios where you may want to execute certain containers regardless of whether the package is started from a checkpoint file but the current usage model does not allow for this.&lt;/LI&gt;
&lt;LI&gt;they are ignored by eventhandlers, which wouldn't be so bad if there were a way to toggle this behaviour&lt;/LI&gt;
&lt;LI&gt;in certain scenarios they dont work properly&lt;/LI&gt;&lt;/UL&gt;
&lt;P&gt;I'll expand on the last bullet point. I have encountered situations where the behaviour for tasks executing concurrently is unpredictable.&amp;nbsp;That is,&amp;nbsp;sometimes&amp;nbsp;the completion of a task that executes concurrently with a failed/failing task&amp;nbsp;will make it into the checkpoint file and sometimes it won't. This is near-impossible to reproduce but it does happen&amp;nbsp;as my good friend&amp;nbsp;&lt;A href="http://agilebi.com/jwelch/2007/03/08/welcome/" target=_blank&gt;John Welch &lt;/A&gt;will hopefully concur (if he is reading).&lt;/P&gt;
&lt;P&gt;Is anyone out there making successful use of checkpoint files within SSIS? I would be interested in knowing about that if so.&lt;/P&gt;
&lt;P&gt;&lt;A href="http://twitter.com/jamiet" target=_blank&gt;@Jamiet&lt;/A&gt;&lt;BR&gt;&lt;/P&gt;</description></item></channel></rss>