Search code examples
tfstfs-2005

TFS 2005 history very slow for some branches


When I view history for some branches, it takes over 20 minutes for it to come up. However the root of this branch works fine, and not all branches have this problem. The children to this branch is also very slow.

Running TFS 2005 SP1.

Running the command line tf history gives the same issues.

I've rebooted the server and it does have enough CPU and memory. Any ideas on what is causing the slowness?


Solution

  • TFS repository and services are based on SQL server. Without a proper maintenance plan, the SQL database gets fragmented and over time endures performance degradation.

    Consider Restoration-Based Move to start your TFS server on a fresh database while keeping the same repository.