December 4, 2017 at 10:03 am
December 4, 2017 at 10:59 am
coolchaitu - Monday, December 4, 2017 10:03 AM- Good Morning Experts
- One of our jobs is getting stuck everytime it is triggered in UAT. The same ,job is running fine in prod. The job runs sql code.Could you please let me know how to approach this issue,why is job getting stuck each time it is being triggered in UAT
Does the code run fin in UAT when run in SSMS?
December 4, 2017 at 11:10 am
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?
...
December 5, 2017 at 6:40 pm
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?
December 5, 2017 at 8:07 pm
HappyGeek - Monday, December 4, 2017 11:10 AMI would be more worried about why it has not passed in UAT and yet and yet has been released to production!
+ One bazillion to THAT!
--Jeff Moden
Change is inevitable... Change for the better is not.
December 5, 2017 at 8:14 pm
coolchaitu - Monday, December 4, 2017 10:03 AM- Good Morning Experts
- One of our jobs is getting stuck everytime it is triggered in UAT. The same ,job is running fine in prod. The job runs sql code.Could you please let me know how to approach this issue,why is job getting stuck each time it is being triggered in UAT
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.
December 8, 2017 at 7:37 am
December 8, 2017 at 7:42 am
Arsh - Friday, December 8, 2017 7:37 AMIs the infrastructure(Memory/Processors etc.) for UAT at the same level as for production ? If at lower level , this can also be an issue.
The versions are different. Could that be a reason. Execution plans vary, correct
December 8, 2017 at 7:49 am
coolchaitu - Friday, December 8, 2017 7:42 AMArsh - Friday, December 8, 2017 7:37 AMIs the infrastructure(Memory/Processors etc.) for UAT at the same level as for production ? If at lower level , this can also be an issue.The versions are different. Could that be a reason. Execution plans vary, correct
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.
December 8, 2017 at 8:03 am
Jeff Moden - Friday, December 8, 2017 7:49 AMcoolchaitu - Friday, December 8, 2017 7:42 AMArsh - Friday, December 8, 2017 7:37 AMIs the infrastructure(Memory/Processors etc.) for UAT at the same level as for production ? If at lower level , this can also be an issue.The versions are different. Could that be a reason. Execution plans vary, correct
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).
Thanks Jeff
Viewing 10 posts - 1 through 9 (of 9 total)
You must be logged in to reply to this topic. Login to reply