Jernin/Suman,
As I mentioned earlier too in our environment time slicing job is creating
the DB locks only on 12 AM of 1st of each month. That is the time when
month roll over happened. Occasionally it does the same behavior on 1st day
of the week.
Today Again, we notice the time slice job is trying to complete the
instance started at 11:59 PM on 4/30/207 and it was not completed until at
5/1/2017 6:40 and later I cancel the process instance. Then I checked the
status of tim,e slice in studio side and it looks like this. Also I ran the
time-slice status query and it returned below result.
(Embedded image moved to file: pic19331.gif)
(Embedded image moved to file: pic38122.gif)
(Embedded image moved to file: pic31913.gif)
Result of time-slice query status:
(Embedded image moved to file: pic25797.gif)
I also ran the below command to find the status of Block ID.
(Embedded image moved to file: pic20124.gif)
DBCC INPUTBUFFER(processid)
SPID 54 is the root blocker. Below are the details. I have killed it.
(Embedded image moved to file: pic22519.jpg)
(@P1 bigint)update inv_investments set odf_ss_labor_variance = @P1 where
odf_ss_labor_variance is null
Please let me know if you see any issue.
Thanks
Sal.