Domanda

when running a delete query to a table that has many foreign keys I get the following waits.

I noticed that I have both CXPACKETS and CXCONSUMER wait types at the same time during of the execution of my query.

the question is:

what is the relation between these 2 wait types (if any)?

enter image description here

È stato utile?

Soluzione

  • CXCONSUMER occurs when a consumer thread waits for a producer thread to send rows.
  • CXPACKET occurs when trying to synchronize the query processor exchange iterator or getting a required buffer.

CXCONSUMER waits are generally benign, encountered as a normal part of parallel(CXPACKET) execution.

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a dba.stackexchange
scroll top