Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase

SQL SERVER AGENT->JOBS ->JOB ACTIVITY MONITOR Expand / Collapse
Author
Message
Posted Thursday, January 3, 2013 2:13 AM
Grasshopper

GrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopper

Group: General Forum Members
Last Login: Thursday, July 10, 2014 8:46 AM
Points: 11, Visits: 177
Dear Expert,
i can't find some jobs in SQL SERVER AGENT->JOBS ->JOB ACTIVITY MONITOR. but job exists in the system. and performed successfully.

when i run 'select * from sysjobs_view order by name' or 'select * from msdb.dbo.sysjobs order by name' it shows all jobs. but in JOB ACTIVITY MONITOR panel can't show all jobs. i have total 127 jobs. but JOB ACTIVITY MONITOR shows only 117 jobs. 10 jobs doesn't show.

my current server version is 2008, previously i run SQL 2000 version. two month before i upgraded my server from 2000 to 2008. system runs ok. is any issue causes by server upgradation?

please show me the way..

regards

Neaz


Post #1402238
Posted Thursday, January 3, 2013 3:56 AM


SSChampion

SSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampion

Group: General Forum Members
Last Login: Yesterday @ 6:53 AM
Points: 13,890, Visits: 28,285
That is not something I've run into during any of the upgrades I've done. Have you looked to see which specific jobs are missing? Is there anything unique about them?

----------------------------------------------------
"The credit belongs to the man who is actually in the arena, whose face is marred by dust and sweat and blood..." Theodore Roosevelt
The Scary DBA
Author of: SQL Server Query Performance Tuning
SQL Server 2012 Query Performance Tuning
SQL Server 2008 Query Performance Tuning Distilled
and
SQL Server Execution Plans

Product Evangelist for Red Gate Software
Post #1402275
Posted Thursday, January 3, 2013 12:51 PM
Grasshopper

GrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopper

Group: General Forum Members
Last Login: Thursday, July 10, 2014 8:46 AM
Points: 11, Visits: 177
dear Grant Fritchey,
thank you 4 your prompt reply. i found the issue what i mention in my query. when my server was 2000 and i was creating jobs and define a category which ID was 4. but after upgrading to 2012, there is not any category ID of 4. that's way in JOB ACTIVITY MONITOR can't retrieve those jobs name which category ID was 4.

solution...

'';,''
USE msdb
GO
SELECT * from dbo.syscategories ORDER BY category_id ASC
GO

in 2000, category_id = 4 exists but in 2008, category_id = 4 doesn't exist.

just i updated dbo.sysjobs table

USE msdb
GO
-- SELECT * from dbo.sysjobs
GO
UPDATE dbo.sysjobs
SET category_id = 10
WHERE job_id = '<JOB_ID>'
AND category_id = 4
GO

thanks and regards,
Neaz
imneaz@yahoo.com
Post #1402517
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse