question

jangi avatar image
jangi asked

Index creation blocking user sessions

Hello All,


I have included few column in INCLUDE in my non-clustered index and while creating that with (ONLINE = ON , DROP_EXISTING = ON), I started seeing blocking issues. When I ran Whoisactive history script, I see a session which is below 50 (SYS SPID) is blocked by my index for 2 hours (I killed my index SPID after that) and that sys SPID is blocking other user sessions.

Once I kill index process everything is normal

Any suggestions to avoid this?

Version: 2017

blockingnonclustered-index
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

0 Answers

·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.