Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2008 Forums
 SQL Server Administration (2008)
 Remove Agent History

Author  Topic 

Peter99
Constraint Violating Yak Guru

498 Posts

Posted - 2012-10-09 : 18:07:45
Hi,

I am working on sql server 2008. In agent properties, i want to set to remove history after 2 days. I can select remove agent history and can select 2 days. Once I click ok. window closed. When I open agent properties again, my setting are not saved and remov agent history box is unchecked. How to save my setting?

Thanks

visakh16
Very Important crosS Applying yaK Herder

52326 Posts

Posted - 2012-10-09 : 23:09:07
Its a one time setting i guess. where exactly are you setting this?

------------------------------------------------------------------------------------------------------
SQL Server MVP
http://visakhm.blogspot.com/

Go to Top of Page

Peter99
Constraint Violating Yak Guru

498 Posts

Posted - 2012-10-10 : 11:30:20
SQL Server Agent properties
Go to Top of Page

Bustaz Kool
Master Smack Fu Yak Hacker

1834 Posts

Posted - 2012-10-10 : 12:13:09
I am seeing the same symptom.

=================================================
We are far more concerned about the desecration of the flag than we are about the desecration of our land. -Wendell Berry
Go to Top of Page

Michael Valentine Jones
Yak DBA Kernel (pronounced Colonel)

7020 Posts

Posted - 2012-10-10 : 15:27:55
I have seen this too, but I am not sure what causes it.

You can remove the history in a maintenance plan "History Cleanup Task".

I usually have a maintenance plan to do a full backup of the system databases every day, and I just add the History Cleanup Task to that.

Or you could setup a maintenance plan just to do the History Cleanup Task.


Edit:
This has been reported on Microsoft Connect.
http://connect.microsoft.com/SQLServer/feedback/details/485232/kjtap-sap-sql-server-agent-remove-agent-history-cannot-be-activated
"...Instead of being a config item that you can save, as one would expect, this is actually a real-time cleanup option..."






CODO ERGO SUM
Go to Top of Page
   

- Advertisement -