coolchaitu - Monday, December 4, 2017 10:03 AM
Does the code run fin in UAT when run in SSMS?
I would be more worried about why it has not passed in UAT and yet and yet has been released to production! Has something changed in the UAT environment since the code was released to production?
...
Have you checked if the job is getting blocked by other queries/jobs in UAT.
I also wonder how it is passed UAT if it was not working and released to Prod?
HappyGeek - Monday, December 4, 2017 11:10 AM
+ One bazillion to THAT!
--Jeff Moden
Change is inevitable... Change for the better is not.
coolchaitu - Monday, December 4, 2017 10:03 AM
Step one, of course, would be to define what you mean by "getting stuck". Is it the job that's getting stuck because of something wonky on the server or is it the code in the job that's getting stuck? Did someone mess up and shrink the database which will cause these types of symptoms? Does the code have a "spill to disk" somewhere because the system is underpowered compared to the production box? Like Lynn asked, does the code in the job run correctly if you run it from SSMS without the job? Are stats up to date? Etc, etc, etc. Start somewhere and expand. First thing to do is make sure that the code the job is running runs fine without the job.
--Jeff Moden
Change is inevitable... Change for the better is not.
Arsh - Friday, December 8, 2017 7:37 AM
The versions are different. Could that be a reason. Execution plans vary, correct
coolchaitu - Friday, December 8, 2017 7:42 AM
Versions of what? SQL Server? If so, I strongly recommend that you bring the UAT box up to the same level of SQL Server as the Production box. If the UAT box is at a higher level, then you should either role it back to what the Production box is or, better yet, bring the Production level up to the latest SP and CU (it's important for security, as well).
--Jeff Moden
Change is inevitable... Change for the better is not.
Jeff Moden - Friday, December 8, 2017 7:49 AM
Thanks Jeff
Viewing 10 posts - 1 through 9 (of 9 total)
You must be logged in to reply to this topic. Login to reply