Omar Villarreal's WebLog

(2 L's and 2 R's)

Team Foundation Server and Visual Studio 2005 Beta 2 Must-do's

Must-Do #1
 
If you are running TFS and Visual Studio 2005 on the same machine (or VPC) you, after a little while of it being up you should notice that evrything is running slow (if you don't, you are probably spending too much money in hardware) and if you check, you will see high CPU utilization, primarily from msmdsrv.exe (SQL Server Analysis Services). The reason for this is that (apparently for demo purposes) the updates interval for the reporting warehouse database was set too low and the process takes a long time, therefore causing it to run almost constantly.
 
You can change the interval but keep in mind that doing so will delay the availability of the TFS data for reporting purposes, Buck Hodges posted the solution here, but I'm copying it here just so that it appears in one more place, since people appear to keep facing this problem (hopefully it will be easier to find since it is in one more place out there on the 'net). After the instructions on how to change the interval setting, you will find instructions on how to force the Data Warehouse refresh in case you need the data and the automatic refresh has not taken place.
 
If you are not executing the following steps from the TFS Server machine in question, use the machine name instead of 'localhost'

Change the run interval on the app tier as follows.

  1. Stop TFSServerScheduler using 'net stop TFSServerScheduler'.
  2. Go to http://localhost:8080/Warehouse/warehousecontroller.asmx using a browser on the app tier.  Click on ChangeSetting and enter the following values and then press the 'Invoke' button (3600 seconds = run once per hour).
    1. settingID: RunIntervalSeconds
    2. newValue: 3600
  3. Restart TFSServerScheduler using 'net start TFSServerScheduler'.

Note: It is important to restart TFSServerScheduler, as the interval is cached and will not take effect until the next run.

To manually kick off the data warehouse refresh follow these steps:

  1. Go to http://localhost:8080/Warehouse/warehousecontroller.asmx using a browser on the app tier.
  2. Click the ‘Run’ link.
  3. Press the ‘Invoke’ button.

 

Must-Do #2

Having no internet connectivity (more common if you are running on a VPC) will cause the Visual Studio help to run slow if you have it configured to check the online documentation. Make sure you set it to local-only. To do so, in the Visual Studio main menu select Tools > Options then in the treeview navigate to Environment > Help > Online

 

Comments

weblogs.asp.net said:

406748.. Tiptop :)

# June 28, 2011 5:20 PM

Hixson said:

We absolutely love your blog and find a lot of your post's to be exactly I'm

looking for. can you offer guest writers to write content for you?

I wouldn't mind writing a post or elaborating on a number of the subjects you write in relation to here. Again, awesome weblog!

# August 9, 2012 2:37 AM