{"id":743,"date":"2011-03-18T21:28:26","date_gmt":"2011-03-18T21:28:26","guid":{"rendered":"https:\/\/blogs.msdn.microsoft.com\/buckh\/2011\/03\/18\/managing-tfs-2010-how-to-clean-up-test-attachment-data\/"},"modified":"2011-03-18T21:28:26","modified_gmt":"2011-03-18T21:28:26","slug":"managing-tfs-2010-how-to-clean-up-test-attachment-data","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/buckh\/managing-tfs-2010-how-to-clean-up-test-attachment-data\/","title":{"rendered":"Managing TFS 2010: How to clean up test attachment data"},"content":{"rendered":"<p>Test attachment data generated by the new testing features in VS 2010 can add a large amount of data to your TFS server.&nbsp; In fact, we discovered on our own &ldquo;dogfood&rdquo; server that test data was taking up more space than the version control data.&nbsp; You can read more about it in Grant&rsquo;s post <a href=\"http:\/\/blogs.msdn.com\/b\/granth\/archive\/2011\/02\/12\/tfs2010-test-attachment-cleaner-and-why-you-should-be-using-it.aspx\">here<\/a>.<\/p>\n<p>You can use the <a href=\"http:\/\/visualstudiogallery.msdn.microsoft.com\/3d37ce86-05f1-4165-957c-26aaa5ea1010\/\">Test Attachment Cleaner for Visual Studio Ultimate 2010 &amp; Test Professional 2010<\/a> to delete old test data to reduce the size.&nbsp; Here&rsquo;s the description from that page.<\/p>\n<blockquote>\n<p><strong>Overview:<\/strong><\/p>\n<p>In Visual Studio 2010, with the introduction of Visual Studio Test Professional 2010 &amp; Visual Studio Premium\/Ultimate 2010 SKUs, testers can author manual and automated Test cases, configure the different diagnostic data collectors (as part of Test Settings), associate the Test Settings with Test Plan\/Suites and then execute these test cases as part of Test Runs. The execution of a Test Run (whether automated or manual) generates a bunch of diagnostic data, which may be captured either automatically by the system or manually by the tester. This diagnostic data is critical in eliminating the &ldquo;no repro&rdquo; bug scenarios between the testers and developers.<\/p>\n<p>However, the downside of this rich diagnostic data captures is that the system\/user generated diagnostic data, over a period of time, can grow at a rapid pace and start taking up database space. With Visual Studio 2010, the database administrator has little or no control over what data gets attached as part of Test Runs &ndash; i.e., there are no policy settings he can control to limit the size of the data capture OR no retention policy to determine how long to hold this data before initiating a cleanup. In such scenarios, the Admin has no mechanism to:<\/p>\n<p>1. Determine which set of diagnostic captures is taking up how much space AND<\/p>\n<p>2. Reclaim the space for runs which are no longer relevant from business perspective.<\/p>\n<p>The &ldquo;<a href=\"http:\/\/visualstudiogallery.msdn.microsoft.com\/3d37ce86-05f1-4165-957c-26aaa5ea1010\/\">Test Attachment Cleaner<\/a>&rdquo; powertool fills this void by serving both the above points.<\/p>\n<\/blockquote>\n","protected":false},"excerpt":{"rendered":"<p>Test attachment data generated by the new testing features in VS 2010 can add a large amount of data to your TFS server.&nbsp; In fact, we discovered on our own &ldquo;dogfood&rdquo; server that test data was taking up more space than the version control data.&nbsp; You can read more about it in Grant&rsquo;s post here. [&hellip;]<\/p>\n","protected":false},"author":94,"featured_media":10268,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[1],"tags":[8,11],"class_list":["post-743","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-uncategorized","tag-team-foundation","tag-tfs-2010"],"acf":[],"blog_post_summary":"<p>Test attachment data generated by the new testing features in VS 2010 can add a large amount of data to your TFS server.&nbsp; In fact, we discovered on our own &ldquo;dogfood&rdquo; server that test data was taking up more space than the version control data.&nbsp; You can read more about it in Grant&rsquo;s post here. [&hellip;]<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/buckh\/wp-json\/wp\/v2\/posts\/743","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devblogs.microsoft.com\/buckh\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devblogs.microsoft.com\/buckh\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/buckh\/wp-json\/wp\/v2\/users\/94"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/buckh\/wp-json\/wp\/v2\/comments?post=743"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/buckh\/wp-json\/wp\/v2\/posts\/743\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/buckh\/wp-json\/wp\/v2\/media\/10268"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/buckh\/wp-json\/wp\/v2\/media?parent=743"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/buckh\/wp-json\/wp\/v2\/categories?post=743"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/buckh\/wp-json\/wp\/v2\/tags?post=743"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}