Welcome to MSDN Blogs Sign in | Join | Help

Updating the TFS Warehouse

I think that my next few posts will be about the Team Foundation Server Data Warehouse, so I wanted to do a post about how to update this warehouse on demand.

The Team Foundation Server Data Warehouse updates itself every couple of hours by default.  This process involves running all of the registered data adapters and processing the cube.  As you store more and more data, this can become a very CPU-intensive operation.  That is why the warehouse only updates every couple of hours by default.  In most cases, having your reports current within a couple of hours is sufficient.

However, there are times when you want to update the warehouse on demand.  Maybe you’re giving a demonstration, or maybe you’re debugging an adapter you’ve written or maybe you just need the most up to date method.

Updating the warehouse on demand is pretty straightforward - you can use the corresponding warehouse XML Web Service to kick off a run.  This is an async operation though, so you’ll need to poll on its status.  The two web methods you’ll need are shown below:

Warehouse

What makes this process a little tedious is that you have to keep invoking GetWarehouseStatus until it returns a status of Idle.

To make this a little easier, I thought I would write a small utility to kick off the run and monitor its status for me.  This little utility is shown below:

Update

Once you select the right TFS, press the Update button and the utility should take care of kicking off a run and polling until the warehouse is idle again.  I posted the source here, please give it a try and let me know what you think.

Thanks!

Eric.

Published Sunday, July 09, 2006 7:40 PM by ericlee

Comments

# re: Updating the TFS Warehouse

Monday, July 10, 2006 9:14 AM by paltman
I was reading through the MSDN aggregation of blogs when I saw this post and it reminded me of a post and corresponding tool that I wrote a while back that looks very similiar to what you are doing here.

http://paltman.com/archive/2006/04/12/teamfoundationserverwarehouseupdatetool.aspx

My app is a tray app who's icon changes color with the status and provides context menu options for kicking off an update.

# VSTS Links - 07/10/2006

Monday, July 10, 2006 9:31 AM by Team System News
Eric Lee on be careful of proxy settings when using the Team Foundation Server Object Model, KPI and...

# Updating the Team Foundation Server Warehouse on Demand

Monday, July 10, 2006 1:18 PM by Rob Caron
See Eric Lee’s post on Updating the TFS Warehouse for a quick overview of how Team...

# re: Updating the TFS Warehouse

Monday, July 10, 2006 2:05 PM by ericlee
Nice job on the tray application - good to see another VSTS enthusiast :)  Maybe we can collaborate on a tool sometime.

# I bookmark del giorno #44 - Quasi VSTS only edition...

Monday, July 10, 2006 3:19 PM by Lorenzo Barbieri @ UGIblogs!

# re: Updating the TFS Warehouse

Monday, July 10, 2006 8:44 PM by paltman
Eric, it'd be a lot of fun to collaborate on a VSTS project, maybe make use of CodePlex for it.

# Meeting TechEd Speakers face to face

Tuesday, August 01, 2006 8:45 AM by Anna Liu's Weblog
As developers, the support we receive online is at an unprecedented high… if we’re sick of plowing through...

# Small update

Wednesday, August 02, 2006 3:47 AM by Julien Lavigne
I published a small update of this soft to provide support for autenthification, you can find it here : http://julien.lavigneducadet.com/index.php?2006/08/02/5-tfs-warehouse-update-with-authentification

# List of Tools and Add-ins for TFS/VSTS

Friday, March 09, 2007 12:43 AM by It's Way Too Early For This

I received this from a colleague today and it’s so helpful I thought I’d post it to my blog

# List of Tools and Add-ins for TFS/VSTS

Friday, March 09, 2007 2:08 AM by It's Way Too Early For This

TEAM FOUNDATION SERVER Utilities Capacity planning spreadsheet and tools (Unsupported) Team Foundation

# Team Foundation Server Tools

Sunday, March 11, 2007 6:34 PM by Team Individualism

A dump, of various tools, thanks to Zeeshan Shah. Note: this is not an endorsed list. Utilities Team

# Empty Reports with the eScrum Template

Thursday, July 12, 2007 8:43 AM by But it works on my PC!

After I installed the eScrum template everything seemed fine bar the reports, only the work item report

# Empty Reports with the eScrum Template

Thursday, July 12, 2007 8:52 AM by BM Bloggers

After I installed the eScrum template everything seemed fine bar the reports, only the work item report

# Fun with a DDD6 demo

Saturday, November 17, 2007 5:45 PM by But it works on my PC!

I have been working on my DDD6 demo, I intend to show eScrum at end of my session on Scrum. I thought

# The .Net frog » Mise ?? jour de la Warehouse de TFS, avec authentification

# The .Net frog » TFS Warehouse update, with authentification

Anonymous comments are disabled
 
Page view tracker