문제

If an update statement's query plan does go parallel, does it guarantee a communication buffer resource deadlock, or is that determined by whether the parallel plan is using all cores?

도움이 되었습니까?

해결책

From the documentation:

The update and delete operators in a parallel query execution plan are executed serially, but the WHERE clause of an UPDATE or a DELETE statement may be executed in parallel. The actual data changes are then serially applied to the database.

As to your second question,

does it guarantee a communication buffer resource deadlock

Any deadlock is predicated on the query / queries being run and how they are structured and executed, SQL Server does not inherently guarantee any deadlocks on its own.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 dba.stackexchange
scroll top