x

Sql Server job syspolicy_purge_history

Hello today when i was checking my sql server agent then i found the job by name syspolicy_purge_history which was not created by me or any other DBA in sql server 2008. i diabled the job as the application was running slow. please suggest is there any dependency on this job.will there be any effect if i stop the syspolicy_purge_history job.

more ▼

asked Oct 15, 2012 at 09:51 AM in Default

avatar image

sand143eep
921 40 50 56

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

1 answer: sort voted first

syspolicy_purge_history is created by default in SQL 2008+ for the Policy Based Management feature. When a policy runs it stores the results in MSDB. Over a period of time, this may will cause unnecessary data piled up in MSDB. So MS added this job by default to delete the data older than the the days defined in HistoryRetentionInDays property of Policy Management. Now it is up to you that you want that data OR may wanted it to be deleted ;)

more ▼

answered Oct 15, 2012 at 10:05 AM

avatar image

Usman Butt
13.9k 6 13 21

(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

SQL Server Central

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

Topics:

x2176

asked: Oct 15, 2012 at 09:51 AM

Seen: 999 times

Last Updated: Oct 15, 2012 at 10:05 AM

Copyright 2017 Redgate Software. Privacy Policy