A job I have seen was running since 11 hours but in history its duration is 48 minutes only

SQL Server agent 2008 :
A job I have seen was running since 11 hours but in history its duration is 48 minutes only.is It possible.
Thanks

Check all the steps and how much time each step took...
SELECT sj.name
, sja.*
FROM msdb.dbo.sysjobactivity AS sja
INNER JOIN msdb.dbo.sysjobs AS sj ON sja.job_id = sj.job_id
WHERE sja.start_execution_date IS NOT NULL
AND sja.stop_execution_date IS NULL
http://thomaslarock.com/2012/10/how-to-find-currently-running-long-sql-agent-jobs/
Raju Rasagounder Sr MSSQL DBA

Similar Messages

Maybe you are looking for

  • Unable to retrieve attributes set in session.

    hi iam working on simple shopping cart application where iam using three arraylists to get three different items and then adding the objects of those arraylists to anew arraylist and setting the arraylist object as session attribute......... but ,whe

  • Hosting Website URL with Java dependency

    I have a website URL that requires a certain version of Java that is not supported by Windows 7. My only options are to "virtualize" the IE URL either with Citrix or MedV type of solution. Is is possible to host this URL in Azure with the Java depend

  • Simple file import question

    I just installed Lr4 on my laptop.  When I plug in my Nikon D7000 and try to import photos, I just get a message "The following files could not be imported because they could not be read".  Then it lists the file names of the various files.  Message

  • Cannot import Directory object :(

    Hi mates, I'm beginner in Directory Server v5.2 and LDAP at all, so maybe my error is silly or I have made dumb mistake but if you have any idea why the following error appears, I'll be grateful: Error adding object 'dn: cn=oll11130,ou=USERS,o=corp'.

  • Just reinstalled Windows, Can't restore iTunes backup

    I just reinstalled Windows 7 on my computer, and after installing the latest version of iTunes available from Apple, I can't restore any backup I made prior to the reinstall, with iTunes giving me error code -69. I've tried reinstalling iTunes, but n