Solved

SQL Agent job history

Posted on 2013-12-02
6
349 Views
Last Modified: 2014-01-14
Does the SQL Agent job history change if there is a modification to the job, and in what cases does an agent job purge its history?
0
Comment
Question by:Steve Samson
6 Comments
 
LVL 75

Expert Comment

by:Aneesh Retnakaran
ID: 39690314
History information can be viewd from SSMS by
right click on sql server agent -> properties -> History
 You can see the default options there, usually we purge the history every 4 weeks
0
 
LVL 10

Expert Comment

by:PadawanDBA
ID: 39690341
If you'd like to play around with the history in a more flexible manner than SSMS, the histories are available in the msdb table: sysjobhistory (http://technet.microsoft.com/en-us/library/ms174997.aspx).  The purge options are rather inflexible, so a lot of places will write their own sp/job to purge the history (or archive it elsewhere).
0
 

Author Comment

by:Steve Samson
ID: 39690351
is there a way to see if or who purged the log history? I do not purge my logs automatically.
0
Control application downtime with dependency maps

Visualize the interdependencies between application components better with Applications Manager's automated application discovery and dependency mapping feature. Resolve performance issues faster by quickly isolating problematic components.

 
LVL 75

Expert Comment

by:Aneesh Retnakaran
ID: 39690372
>is there a way to see if or who purged the log history?
Unless you have some sort of auditing enabled on your server, it wont be really an easy thing to find out.
0
 
LVL 69

Accepted Solution

by:
ScottPletcher earned 500 total points
ID: 39692439
It's very likely that the default settings caused SQL to purge the job history.  The default is to keep a very small total number of rows in history.
0
 

Author Closing Comment

by:Steve Samson
ID: 39780057
Outstanding found the proplenm in the job properties
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction In my previous article (http://www.experts-exchange.com/Microsoft/Development/MS-SQL-Server/SSIS/A_9150-Loading-XML-Using-SSIS.html) I showed you how the XML Source component can be used to load XML files into a SQL Server database, us…
A theme is a collection of property settings that allow you to define the look of pages and controls, and then apply the look consistently across pages in an application. Themes can be made up of a set of elements: skins, style sheets, images, and o…
This video shows, step by step, how to configure Oracle Heterogeneous Services via the Generic Gateway Agent in order to make a connection from an Oracle session and access a remote SQL Server database table.
Via a live example, show how to extract insert data into a SQL Server database table using the Import/Export option and Bulk Insert.

932 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now