Last week I had to solve a problem for a customer were the disks of their Team Foundation Server environment were filling up. One thing that can help you prevent this kind of problems is the TFS Best Practices Analyzer, which is a part of the Team Foundation Server 2010 Power Tools.
The Best Practices Analyzer can be used to monitor the health of your Team Foundation Server environment. One of the features it has is the ability to obtain usage data about the volume of data stored or accessed in the past 14 days. This includes specific information about database tables that have a tendency to grow large, and may need to be reduced in size.
To run the BPA, select Start -> All Programs -> Microsoft Team Foundation Server 2010 Power Tools -> Best Practice Analyzer.
To run a scan for the first time, click the “select options for a new scan” link. You can name the scan, and select the type of scan you want to perform:
- Team Foundation Server Complete Health Check
- Team Foundation Server Framework Health Check
- Team Foundation Server Warehouse Health Check
- Team Foundation Build Health Check
- Visual Studio Lab Management Health Check
- Sharepoint Products Health Check
- Team Foundation Server Statistics
Finally, you select the Team Foundation Server you want to run against.