<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.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>TFS2010: Test Attachment Cleaner and why you should be using it</title><link>http://blogs.msdn.com/b/granth/archive/2011/02/12/tfs2010-test-attachment-cleaner-and-why-you-should-be-using-it.aspx</link><description>[Update: 1 Nov 2011] There is an update available for TFS 2010 SP1 that prevents many of the large test attachments being stored in the database in the first place. You can download it from KB2608743 or read more about it on Annuthra's blog post: Reduce</description><dc:language>en-US</dc:language><generator>Telligent Evolution Platform Developer Build (Build: 5.6.50428.7875)</generator><item><title>re: TFS2010: Test Attachment Cleaner and why you should be using it</title><link>http://blogs.msdn.com/b/granth/archive/2011/02/12/tfs2010-test-attachment-cleaner-and-why-you-should-be-using-it.aspx#10412190</link><pubDate>Thu, 18 Apr 2013 09:32:38 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10412190</guid><dc:creator>Bhav</dc:creator><description>&lt;p&gt;This tool does not do any thing instead filled up logs.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10412190" width="1" height="1"&gt;</description></item><item><title>re: TFS2010: Test Attachment Cleaner and why you should be using it</title><link>http://blogs.msdn.com/b/granth/archive/2011/02/12/tfs2010-test-attachment-cleaner-and-why-you-should-be-using-it.aspx#10368467</link><pubDate>Wed, 14 Nov 2012 11:38:31 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10368467</guid><dc:creator>Grant Holliday - MSFT</dc:creator><description>&lt;p&gt;@Kim - The only change so far in TFS2012, is that most of the binaries aren&amp;#39;t attached as part of the build - therefore eliminating a major source of the bloat.&lt;/p&gt;
&lt;p&gt;You should still run the Test Attachment Cleanup tool that comes with the TFS2012 Power Tools.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10368467" width="1" height="1"&gt;</description></item><item><title>re: TFS2010: Test Attachment Cleaner and why you should be using it</title><link>http://blogs.msdn.com/b/granth/archive/2011/02/12/tfs2010-test-attachment-cleaner-and-why-you-should-be-using-it.aspx#10368453</link><pubDate>Wed, 14 Nov 2012 10:35:44 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10368453</guid><dc:creator>Kim Carlsen</dc:creator><description>&lt;p&gt;We&amp;#39;re running this right now, and I bet there is a lot of data that can be removed.&lt;/p&gt;
&lt;p&gt;And I guess it will have a positivte impact on upgrade-time when we are going to upgrade to 2012.&lt;/p&gt;
&lt;p&gt;Will there be any changes to this in TFS 2012 or do we still need to run this tool?&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10368453" width="1" height="1"&gt;</description></item><item><title>re: TFS2010: Test Attachment Cleaner and why you should be using it</title><link>http://blogs.msdn.com/b/granth/archive/2011/02/12/tfs2010-test-attachment-cleaner-and-why-you-should-be-using-it.aspx#10354739</link><pubDate>Mon, 01 Oct 2012 13:58:01 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10354739</guid><dc:creator>Mike McGettigan</dc:creator><description>&lt;p&gt;@Keith &amp;amp; Others- Make sure to use the /settingsFile: and /teamProject: command line options as the readme document is inaccurated. &amp;nbsp; The document states - /settings: and /project.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10354739" width="1" height="1"&gt;</description></item><item><title>re: TFS2010: Test Attachment Cleaner and why you should be using it</title><link>http://blogs.msdn.com/b/granth/archive/2011/02/12/tfs2010-test-attachment-cleaner-and-why-you-should-be-using-it.aspx#10338298</link><pubDate>Thu, 09 Aug 2012 18:16:53 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10338298</guid><dc:creator>MattWilliams</dc:creator><description>&lt;p&gt;@Grant and @Gabe, we are also having the same problem with tcmpt.exe. &amp;nbsp;Our TFS database has grown to over 250GB. &amp;nbsp;When I run a query, the utility will hang for about 10 minutes and then throw a timeout error.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10338298" width="1" height="1"&gt;</description></item><item><title>re: TFS2010: Test Attachment Cleaner and why you should be using it</title><link>http://blogs.msdn.com/b/granth/archive/2011/02/12/tfs2010-test-attachment-cleaner-and-why-you-should-be-using-it.aspx#10304429</link><pubDate>Sat, 12 May 2012 00:03:52 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10304429</guid><dc:creator>Keith</dc:creator><description>&lt;p&gt;I&amp;#39;ve tried running the tool with the sample settings files but all I ever get is &amp;quot;Unknown parameter settings&amp;quot;. &amp;nbsp;Any suggestions on what I might be doing wrong?&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10304429" width="1" height="1"&gt;</description></item><item><title>re: TFS2010: Test Attachment Cleaner and why you should be using it</title><link>http://blogs.msdn.com/b/granth/archive/2011/02/12/tfs2010-test-attachment-cleaner-and-why-you-should-be-using-it.aspx#10256632</link><pubDate>Fri, 13 Jan 2012 20:15:07 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10256632</guid><dc:creator>Marcus</dc:creator><description>&lt;p&gt;I&amp;#39;ve run the Test Attachment Cleaner &amp;amp; the logs tell me it has deleted lots of stuff, however when I look at the database I see no change in its size. From SQL Server management studio I ran shrink jobs but it reports that only 5GB can be freed - the job deleted ~35GB.&lt;/p&gt;
&lt;p&gt;Am I missing something here? Does the database now need to be re-indexed or something similar to free up the space? Any tips would be much appreciated.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10256632" width="1" height="1"&gt;</description></item><item><title>re: TFS2010: Test Attachment Cleaner and why you should be using it</title><link>http://blogs.msdn.com/b/granth/archive/2011/02/12/tfs2010-test-attachment-cleaner-and-why-you-should-be-using-it.aspx#10218448</link><pubDate>Fri, 30 Sep 2011 04:40:55 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10218448</guid><dc:creator>GrantH</dc:creator><description>&lt;p&gt;@Glenn - This is one approach to keep the test result attachments small: &lt;a rel="nofollow" target="_new" href="http://www.tfsblog.de/2010/06/14/prevent-test-results-blowing-up-your-tfs-databases/"&gt;www.tfsblog.de/.../prevent-test-results-blowing-up-your-tfs-databases&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The other possibility is also to delete the results when build is deleted by changing the Build Retention policy to include “delete of Test Results”. &amp;nbsp;The downside with this is we will delete both the test results (pass\fail of tests) and the test attachments. &amp;nbsp;We do not have a separate knob for just the test attachment.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10218448" width="1" height="1"&gt;</description></item><item><title>re: TFS2010: Test Attachment Cleaner and why you should be using it</title><link>http://blogs.msdn.com/b/granth/archive/2011/02/12/tfs2010-test-attachment-cleaner-and-why-you-should-be-using-it.aspx#10218156</link><pubDate>Thu, 29 Sep 2011 14:44:29 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10218156</guid><dc:creator>Glenn Brown</dc:creator><description>&lt;p&gt;Hi, &lt;/p&gt;
&lt;p&gt;We ran into this issue a few weeks ago and are in the process of using the tool to purge over 100G of old test run attachments. &lt;/p&gt;
&lt;p&gt;Going forward, is there a way to configure TFS to save only specific attachments? At this juncture the main ones we want to keep are the videos and have no interest in the DLL&amp;#39;s etc. &lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10218156" width="1" height="1"&gt;</description></item><item><title>re: TFS2010: Test Attachment Cleaner and why you should be using it</title><link>http://blogs.msdn.com/b/granth/archive/2011/02/12/tfs2010-test-attachment-cleaner-and-why-you-should-be-using-it.aspx#10189730</link><pubDate>Tue, 26 Jul 2011 04:37:31 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10189730</guid><dc:creator>Grant</dc:creator><description>&lt;p&gt;@Gabe - can you contact me via &lt;a rel="nofollow" target="_new" href="http://blogs.msdn.com/b/granth/contact.aspx"&gt;blogs.msdn.com/.../contact.aspx&lt;/a&gt; and we&amp;#39;ll collect some more information from you. We&amp;#39;ve had a couple of people hit a similar issue recently.&lt;/p&gt;
&lt;p&gt;Grant&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10189730" width="1" height="1"&gt;</description></item></channel></rss>