August 16, 2012 at 11:21 am
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
August 17, 2012 at 3:00 am
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
August 17, 2012 at 10:13 am
Thanks Durai,
I have made the changes and will monitor on Monday and update you on the same.
Regards,
September 13, 2012 at 11:06 am
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.
Viewing 4 posts - 1 through 3 (of 3 total)
You must be logged in to reply to this topic. Login to reply