We have a view in SQL Server (2016) DB that uses NOLOCK hints for all the tables it selects from. We're finding that when this view is being consumed, it is actually blocking reads and writes.
According to this, a NOLOCK query issues a Sch-S lock and thus will only block things that, like DDL and re-index jobs. However, we're seeing DML read/write being blocked also, causing our whole app to go down. Why?
Note: the select from View query does not use NOLOCK hint, but not sure this should matter if the view itself is using NOLOCKs.
Note2: apologies for the light-on-facts question--I have limited privileges in the environment, and it's difficult to investigate using queries that require elevated permissions, so hoping for a purely theoretical analysis.
Thanks!