|
|
|
SSC Rookie
      
Group: General Forum Members
Last Login: Thursday, January 17, 2013 4:17 PM
Points: 36,
Visits: 154
|
|
I have seen strange issue pertaining to Retention of Job history on one of the production server.
1. Job is SQL Server Agent Job, this is not created through Maintenance Plan. 2. Limit size of Job History Log (Log Size in rows and rows per job) is set to max 999999. 3. I want to retain for 3 weeks. 4. The history is available for only 2 days. 5. There are only 6 jobs, the total number of rows including all jobs in History are less than 500. 6. Automatically remove agent history is not working properly. Even I set it, when I close SQL Server Agent Properties window and reopen. The setting whatever I set will not remain same. That checkbox will be unchecked automatically.
Thanks in advance.
Regards
|
|
|
|
|
SSC Eights!
      
Group: General Forum Members
Last Login: Today @ 6:23 AM
Points: 852,
Visits: 2,100
|
|
[b]pawana.paul (8/16/2012)2. Limit size of Job History Log (Log Size in rows and rows per job) is set to max 999999.
If you set Log Size in rows and rows per job both to 999999.
If any of the jobs are running regulary every 15 minutes or lesser will have more log that the less frequent jobs.
Reduce rows per job to the level you want and try.
Regards Durai Nagarajan
|
|
|
|
|
SSC Rookie
      
Group: General Forum Members
Last Login: Thursday, January 17, 2013 4:17 PM
Points: 36,
Visits: 154
|
|
Thanks Durai,
I have made the changes and will monitor on Monday and update you on the same.
Regards,
|
|
|
|
|
Grasshopper
      
Group: General Forum Members
Last Login: Tuesday, May 14, 2013 10:04 AM
Points: 24,
Visits: 349
|
|
Also note an interesting quirk-- The option for "Remove agent history" is _NOT_ actually a setting that you're making.
Instead, it's actually just a request, to be executed immediately when you hit OK, to remove "X" days/weeks of agent history.
Really bad UI design on that one, I'd say.
|
|
|
|