job log history only is holding 1 item for each job

  • Hi,

    I am on sql 2008 r2 enterprise x64.

    For some reason each job is holding only 1 entry in the job log. The agent settings are default

    limit job history log is set to on

    maximum job log history size (rows) is 1000

    number of rows per job is 100

    remove agent history is set to off

    What is the issue here?

  • Jordan,

    How many rows you have in sysjobhistory?

    select * from msdb.dbo.sysjobhistory

    ----------------------------------------------------------------------------------------------------------------------------------------------------
    Roshan Joe

    Jeff Moden -Forum Etiquette: How to post data/code on a forum to get the best help[/url]

  • 1023 rows

  • Even though you have give 100 rows per job, maximum number of (total) rows(1000) is reaching frequently.

    You can increase this to say 5000 and see whether it is enough for your enviroment

    ----------------------------------------------------------------------------------------------------------------------------------------------------
    Roshan Joe

    Jeff Moden -Forum Etiquette: How to post data/code on a forum to get the best help[/url]

  • thanks mate - I'll try it out!

Viewing 5 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic. Login to reply