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.
asked Oct 15, 2012 at 09:51 AM in Default
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 ;)
answered Oct 15, 2012 at 10:05 AM