<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	
	>
<channel>
	<title>Comments on: Truncate SSIS Catalog Database Operation Log Tables</title>
	<atom:link href="http://thinknook.com/truncate-ssis-catalog-database-operation-log-tables-2012-11-03/feed/" rel="self" type="application/rss+xml" />
	<link>http://thinknook.com/truncate-ssis-catalog-database-operation-log-tables-2012-11-03/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=truncate-ssis-catalog-database-operation-log-tables</link>
	<description>Because the world needs another Business Intelligence blog!</description>
	<lastBuildDate>Fri, 14 Sep 2018 19:30:18 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>https://wordpress.org/?v=4.1.41</generator>
	<item>
		<title>By: vishal dandge</title>
		<link>http://thinknook.com/truncate-ssis-catalog-database-operation-log-tables-2012-11-03/#comment-3521</link>
		<dc:creator><![CDATA[vishal dandge]]></dc:creator>
		<pubDate>Fri, 14 Sep 2018 19:30:18 +0000</pubDate>
		<guid isPermaLink="false">http://thinknook.com/?p=789#comment-3521</guid>
		<description><![CDATA[Thanks for the script. It is very helpful. Do i need to add extra step for this stored procedure in cleaning job? thanks again it was helpful]]></description>
		<content:encoded><![CDATA[<p>Thanks for the script. It is very helpful. Do i need to add extra step for this stored procedure in cleaning job? thanks again it was helpful</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Murugan</title>
		<link>http://thinknook.com/truncate-ssis-catalog-database-operation-log-tables-2012-11-03/#comment-3477</link>
		<dc:creator><![CDATA[Murugan]]></dc:creator>
		<pubDate>Wed, 21 Jun 2017 13:12:30 +0000</pubDate>
		<guid isPermaLink="false">http://thinknook.com/?p=789#comment-3477</guid>
		<description><![CDATA[Hi - 

I ran this script in our dev environment - it was successful, after that I ran ssis packages as well to test. However in Production this was taking long time so I stopped and ran it one by one, the operation_permission table was not getting deleted and it was taking a long time. any clues?]]></description>
		<content:encoded><![CDATA[<p>Hi &#8211; </p>
<p>I ran this script in our dev environment &#8211; it was successful, after that I ran ssis packages as well to test. However in Production this was taking long time so I stopped and ran it one by one, the operation_permission table was not getting deleted and it was taking a long time. any clues?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Raju</title>
		<link>http://thinknook.com/truncate-ssis-catalog-database-operation-log-tables-2012-11-03/#comment-3470</link>
		<dc:creator><![CDATA[Raju]]></dc:creator>
		<pubDate>Thu, 27 Apr 2017 13:56:54 +0000</pubDate>
		<guid isPermaLink="false">http://thinknook.com/?p=789#comment-3470</guid>
		<description><![CDATA[Hi, 
 The job is getting failed some times due to below error

Executed as user: ##MS_SSISServerCleanupJobLogin##. The DELETE statement conflicted with the REFERENCE constraint &quot;FK_EventMessage_Operations&quot;. The conflict occurred in database &quot;SSISDB&quot;, table &quot;internal.event_messages&quot;, column &#039;operation_id&#039;. (Error 547)

We are able resolve the issue temporarily by deleting data manually but it is failing frequently after few runs. Could you please suggest permanent solution to us.

Thanks &amp; Regards
Raju]]></description>
		<content:encoded><![CDATA[<p>Hi,<br />
 The job is getting failed some times due to below error</p>
<p>Executed as user: ##MS_SSISServerCleanupJobLogin##. The DELETE statement conflicted with the REFERENCE constraint &#8220;FK_EventMessage_Operations&#8221;. The conflict occurred in database &#8220;SSISDB&#8221;, table &#8220;internal.event_messages&#8221;, column &#8216;operation_id&#8217;. (Error 547)</p>
<p>We are able resolve the issue temporarily by deleting data manually but it is failing frequently after few runs. Could you please suggest permanent solution to us.</p>
<p>Thanks &amp; Regards<br />
Raju</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Links Naji</title>
		<link>http://thinknook.com/truncate-ssis-catalog-database-operation-log-tables-2012-11-03/#comment-3465</link>
		<dc:creator><![CDATA[Links Naji]]></dc:creator>
		<pubDate>Sun, 02 Apr 2017 09:58:25 +0000</pubDate>
		<guid isPermaLink="false">http://thinknook.com/?p=789#comment-3465</guid>
		<description><![CDATA[U should just use this script to truncate them cleanly. If you do a straight up truncate on these tables there will be some objects that will stick around and bloat your db.]]></description>
		<content:encoded><![CDATA[<p>U should just use this script to truncate them cleanly. If you do a straight up truncate on these tables there will be some objects that will stick around and bloat your db.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ijaz</title>
		<link>http://thinknook.com/truncate-ssis-catalog-database-operation-log-tables-2012-11-03/#comment-3463</link>
		<dc:creator><![CDATA[ijaz]]></dc:creator>
		<pubDate>Thu, 30 Mar 2017 06:11:40 +0000</pubDate>
		<guid isPermaLink="false">http://thinknook.com/?p=789#comment-3463</guid>
		<description><![CDATA[Hi, 
I am new to the SQL server world. Currently using 2014 sql server. SSISDB is growing a lot. 
There are few tables like 
internal.event_messages
internal.opertaion_messages
internal.event_message_context
Can i truncate them directly. 
As in truncate table internal.event_messages
please suggest,]]></description>
		<content:encoded><![CDATA[<p>Hi,<br />
I am new to the SQL server world. Currently using 2014 sql server. SSISDB is growing a lot.<br />
There are few tables like<br />
internal.event_messages<br />
internal.opertaion_messages<br />
internal.event_message_context<br />
Can i truncate them directly.<br />
As in truncate table internal.event_messages<br />
please suggest,</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tejdeep</title>
		<link>http://thinknook.com/truncate-ssis-catalog-database-operation-log-tables-2012-11-03/#comment-3458</link>
		<dc:creator><![CDATA[Tejdeep]]></dc:creator>
		<pubDate>Thu, 16 Mar 2017 20:49:10 +0000</pubDate>
		<guid isPermaLink="false">http://thinknook.com/?p=789#comment-3458</guid>
		<description><![CDATA[Help me guys, Could anyone help me with this error, I tried to drop the foreign key constraint and add it again after truncating the table

The ALTER TABLE statement conflicted with the FOREIGN KEY constraint &quot;FK_EventMessageContext_EventMessageId_EventMessages&quot;. The conflict occurred in database &quot;SSISDB&quot;, table &quot;internal.event_messages&quot;, column &#039;event_message_id&#039;.]]></description>
		<content:encoded><![CDATA[<p>Help me guys, Could anyone help me with this error, I tried to drop the foreign key constraint and add it again after truncating the table</p>
<p>The ALTER TABLE statement conflicted with the FOREIGN KEY constraint &#8220;FK_EventMessageContext_EventMessageId_EventMessages&#8221;. The conflict occurred in database &#8220;SSISDB&#8221;, table &#8220;internal.event_messages&#8221;, column &#8216;event_message_id&#8217;.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tejdeep</title>
		<link>http://thinknook.com/truncate-ssis-catalog-database-operation-log-tables-2012-11-03/#comment-3457</link>
		<dc:creator><![CDATA[Tejdeep]]></dc:creator>
		<pubDate>Thu, 16 Mar 2017 20:48:20 +0000</pubDate>
		<guid isPermaLink="false">http://thinknook.com/?p=789#comment-3457</guid>
		<description><![CDATA[Could anyone help me with this error, I tried to drop the foreign key constraint and add it again after truncating the table

The ALTER TABLE statement conflicted with the FOREIGN KEY constraint &quot;FK_EventMessageContext_EventMessageId_EventMessages&quot;. The conflict occurred in database &quot;SSISDB&quot;, table &quot;internal.event_messages&quot;, column &#039;event_message_id&#039;.]]></description>
		<content:encoded><![CDATA[<p>Could anyone help me with this error, I tried to drop the foreign key constraint and add it again after truncating the table</p>
<p>The ALTER TABLE statement conflicted with the FOREIGN KEY constraint &#8220;FK_EventMessageContext_EventMessageId_EventMessages&#8221;. The conflict occurred in database &#8220;SSISDB&#8221;, table &#8220;internal.event_messages&#8221;, column &#8216;event_message_id&#8217;.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kerem</title>
		<link>http://thinknook.com/truncate-ssis-catalog-database-operation-log-tables-2012-11-03/#comment-3455</link>
		<dc:creator><![CDATA[Kerem]]></dc:creator>
		<pubDate>Wed, 15 Feb 2017 10:18:07 +0000</pubDate>
		<guid isPermaLink="false">http://thinknook.com/?p=789#comment-3455</guid>
		<description><![CDATA[Hi,

Some foreign keys are missing. You must create that foreign key. You can check the sp, and copy&amp;run missing foreign keys.

e.g.:
ALTER TABLE [internal].[event_message_context]  WITH CHECK ADD  CONSTRAINT [FK_EventMessageContext_EventMessageId_EventMessages] FOREIGN KEY([event_message_id])
        REFERENCES [internal].[event_messages] ([event_message_id])
        ON DELETE CASCADE]]></description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>Some foreign keys are missing. You must create that foreign key. You can check the sp, and copy&amp;run missing foreign keys.</p>
<p>e.g.:<br />
ALTER TABLE [internal].[event_message_context]  WITH CHECK ADD  CONSTRAINT [FK_EventMessageContext_EventMessageId_EventMessages] FOREIGN KEY([event_message_id])<br />
        REFERENCES [internal].[event_messages] ([event_message_id])<br />
        ON DELETE CASCADE</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: yoga</title>
		<link>http://thinknook.com/truncate-ssis-catalog-database-operation-log-tables-2012-11-03/#comment-3447</link>
		<dc:creator><![CDATA[yoga]]></dc:creator>
		<pubDate>Mon, 12 Dec 2016 01:37:57 +0000</pubDate>
		<guid isPermaLink="false">http://thinknook.com/?p=789#comment-3447</guid>
		<description><![CDATA[hi,
I have the same issue with my SSIS. when i try to execute your sp, i&#039;ve got some errors like this,

Msg 3728, Level 16, State 1, Procedure cleanup_server_retention_window_truncateall, Line 102
&#039;FK_EventMessageContext_EventMessageId_EventMessages&#039; is not a constraint.
Msg 3727, Level 16, State 0, Procedure cleanup_server_retention_window_truncateall, Line 102
Could not drop constraint. See previous errors.

i&#039;m new btw in this job, hopefully you could help me.. am I miss something?]]></description>
		<content:encoded><![CDATA[<p>hi,<br />
I have the same issue with my SSIS. when i try to execute your sp, i&#8217;ve got some errors like this,</p>
<p>Msg 3728, Level 16, State 1, Procedure cleanup_server_retention_window_truncateall, Line 102<br />
&#8216;FK_EventMessageContext_EventMessageId_EventMessages&#8217; is not a constraint.<br />
Msg 3727, Level 16, State 0, Procedure cleanup_server_retention_window_truncateall, Line 102<br />
Could not drop constraint. See previous errors.</p>
<p>i&#8217;m new btw in this job, hopefully you could help me.. am I miss something?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Links Naji</title>
		<link>http://thinknook.com/truncate-ssis-catalog-database-operation-log-tables-2012-11-03/#comment-3437</link>
		<dc:creator><![CDATA[Links Naji]]></dc:creator>
		<pubDate>Sun, 04 Sep 2016 15:09:02 +0000</pubDate>
		<guid isPermaLink="false">http://thinknook.com/?p=789#comment-3437</guid>
		<description><![CDATA[Hey Haritha,

I&#039;ve written this a while ago, so am not sure how relevant/needed this is today, but at the time of writing, this would truncate log tables only, and not the entire catalog db, which contains execution configuration that this script should leave untouched.]]></description>
		<content:encoded><![CDATA[<p>Hey Haritha,</p>
<p>I&#8217;ve written this a while ago, so am not sure how relevant/needed this is today, but at the time of writing, this would truncate log tables only, and not the entire catalog db, which contains execution configuration that this script should leave untouched.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!--
Performance optimized by W3 Total Cache. Learn more: https://www.w3-edge.com/products/


Served from: thinknook.com @ 2026-04-04 03:18:02 by W3 Total Cache
-->