Removal of management data warehouse

Good afternoon all.

I have recently implemented the SQL management data warehouse to monitor a prod sql instance in 2k8. Although it was useful initially I now find that it uses quite a large amount of space and have deactivated it. I have looked around and I cannot seem to find anything about removing the MDW (id like to clean up the agent jobs and ssis packages as well as dropping the db). I had a quick attempt at manually removing it and when i came to delete some of the jobs it failed on a fk constraint from msdb.

Any ideas

Thanks in advance


more ▼

asked Jul 05, 2010 at 06:57 AM in Default

avatar image

138 10 11 15

(comments are locked)
10|1200 characters needed characters left

1 answer: sort voted first


I seem to recall hearing that MDW is a feature that doesn't have an "uninstall" option. I think I heard it at the PASS Summit last year from Kim Tripp or Brent Ozar or someone like that.

I think that you will have to do this manually, or wait until there is an uninstall made by MS in a future version. I think the main problem is the tables being too big, so emptying them should alleviate the problem for you.

Please take a look at this quick-fix from MS. It has to do with a cleanup job that doesn't clean up!

more ▼

answered Jul 19, 2010 at 05:44 AM

avatar image

26.2k 18 38 48

Thanks William. I did try to delete all of the scheduled jobs but was blocked by a foreign key constaint in a related table in msdb (I think that was the error, it was a while ago). I have just left them now but it is a bit messy!

Jul 19, 2010 at 05:52 AM chillw1nston
(comments are locked)
10|1200 characters needed characters left
Your answer
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

SQL Server Central

Need long-form SQL discussion? SQLserverCentral.com is the place.



asked: Jul 05, 2010 at 06:57 AM

Seen: 978 times

Last Updated: Jul 05, 2010 at 06:57 AM

Copyright 2018 Redgate Software. Privacy Policy