I'm trying to investigate a performance problem at a client site. I've looked through the blocking data for the site and come up with a couple of SPIDs to investigate over a time period. I've then looked at the data from sys.syslockinfo and found that one of the problem SPIDs has a WAIT on an Intent Exclusive Table lock. I tried to find the blocking SPID, but I can't find any GRANT locks before the WAIT in a time period that seems reasonable.
Is there any reason that it might have to WAIT even through no other session had the table locked? Any known bugs around sys.syslockinfo?
I'll have to check with the way that the locking information is grabbed - it may be an every 15 seconds kind of thing, in which case maybe the GRANT simply wasn't captured. In the meantime, if anyone knows of another potential cause I'd greatly appreciate your insight.
Thanks!