Solved

Sql jobs on some servers not saving history

Posted on 2006-07-12
5
362 Views
Last Modified: 2006-11-18
I have multiple SQL servers that all run SQL jobs routinely. The jobs on one of the servers are saving NO job history despite the fact that the jobs were all inserted using the same script. Is there a setting particular to the instances of SQL server that controls this? I am trying to troubleshoot some job issues and without any history it is hard to tell what the issue is. The check box to "append output to step history" in the advanced properties of "edit job step" is not checked for both jobs that are recording history and for those that are not.
Thank You!
0
Comment
Question by:rtjackson
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
5 Comments
 
LVL 12

Expert Comment

by:Einstine98
ID: 17096390
right click on the sql agent and go to job system and you can set the history settings there.
0
 

Author Comment

by:rtjackson
ID: 17096411
The settings are the same for all servers. They are set to "limit size" to 1,000 maximum job history rows and 100 maximum job histroy rows per job.
0
 
LVL 12

Accepted Solution

by:
Einstine98 earned 500 total points
ID: 17096432
if you have more than 10 jobs then maybe some overwriting is taking place, run the job manually and immediately check the history,is it there?
0
 

Author Comment

by:rtjackson
ID: 17096454
I ran one this afternoon and it did create history. This particular server does have 3 databases and thus 3 times the jobs as many others. I have changed the max rows to 4,000 and stopped/started the agent. I'll know in the morning when all of the jobs have run. It does seem likely to be the issue. More in the morning.
0
 

Author Comment

by:rtjackson
ID: 17098472
Expanding the maximum number of rows allowed for SQL job history did the trick for having history for the jobs. All jobs have history this morning. Thank you for your help!
0

Featured Post

Raise the IQ of Your IT Alerts

From IT major incidents to manufacturing line slowdowns, every business process generates insights that need to reach the people required to take action. You need a platform that integrates with your business tools to create fully enabled DevOps toolchains.

You need xMatters.

Question has a verified solution.

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

This article explains how to reset the password of the sa account on a Microsoft SQL Server.  The steps in this article work in SQL 2005, 2008, 2008 R2, 2012, 2014 and 2016.
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
Familiarize people with the process of retrieving data from SQL Server using an Access pass-thru query. Microsoft Access is a very powerful client/server development tool. One of the ways that you can retrieve data from a SQL Server is by using a pa…
This videos aims to give the viewer a basic demonstration of how a user can query current session information by using the SYS_CONTEXT function

687 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