|
|
|
SSC-Enthusiastic
      
Group: General Forum Members
Last Login: Wednesday, March 13, 2013 7:27 AM
Points: 194,
Visits: 632
|
|
Hi There,
I have a SQL job with 16 steps but it is getting stuck at step 9. All that step 9 does is delete/insert around 2000 records. it usually takes under a minute to finish. And job failure is intermittent for eg : Sunday it fails and Monday to Saturday it runs fine then Sunday and Monday fails again. I don't see any blocks on the database when it is hung. And nothing has changed recently on the Server that I am aware of.
So I am not sure how to investigate this?
thanks in adavance
cheers
|
|
|
|
|
SSCrazy
      
Group: General Forum Members
Last Login: Today @ 8:12 AM
Points: 2,554,
Visits: 7,209
|
|
What do you see in the job history details for step 9 ?
|
|
|
|
|
Mr or Mrs. 500
      
Group: General Forum Members
Last Login: Yesterday @ 11:50 AM
Points: 595,
Visits: 3,896
|
|
I agree - check the job history detail for that step. SQL server is actually pretty good at putting useful messaging in there.
Gonna go out on a limb here, but I'd bet on bad data on days it fails - inserting a string that's too long or a date that won't convert, or something along those lines.
|
|
|
|
|
SSC-Enthusiastic
      
Group: General Forum Members
Last Login: Wednesday, March 13, 2013 7:27 AM
Points: 194,
Visits: 632
|
|
thank you all.
History did not give enough informatiom but Indepth did show bit more about performace of the SP. And development tema is looking at it now.
Thanks again
|
|
|
|