x
login about faq Site discussion (meta-askssc)

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

Ben

more ▼

asked Jul 05 '10 at 06:57 AM in Default

chillw1nston gravatar image

chillw1nston
138 8 10 12

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

1 answer: sort voted first

Ben,

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 '10 at 05:44 AM

WilliamD gravatar image

WilliamD
25.3k 16 18 41

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 '10 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

By RSS:

Answers

Answers and Comments



Facebook logo Follow Ask SSC on Facebook
Find Ask SSC on Google+
linkedin logo Find us on LinkedIn

Topics:

x2

asked: Jul 05 '10 at 06:57 AM

Seen: 468 times

Last Updated: Jul 05 '10 at 06:57 AM

Copyright © 2002-2012 Simple Talk Publishing. All Rights Reserved. If you have any queries, please contact the site administrators.
Ask SQL Server Central is a community service provided by Red Gate.