我的TFS DB在几个月内变得非常大并且增长非常快。
查找attachmentTypes的查询给出了以下结果。 查询:
use Tfs_DefaultCollection
select a.attachmenttype, sum(f.compressedlength)/1024/1024 as sizeInMB from dbo.tbl_Attachment as a
inner join tbl_File as f on a.TfsFileId=f.FileId
inner join tbl_testrun as tr on a.testrunid=tr.testrunid
inner join tbl_project as p on p.projectid=tr.projectid
group by a.attachmenttype
order by sum(f.compressedlength) desc
结果:
IntermediateCollectorData:420836
GeneralAttachment:458
TmiTestRunDeploymentFiles:122
BugFilingData:26
CodeCoverage:6
AfnStrip:4
TmiTestResultDetail:0
TmiTestRunSummary:0
TestImpactDetails:0
什么是IntermediateCollectorData?有没有什么方法可以控制TFS创建这么多IntermediateCollectorData,如何删除它?
感谢。