DeadlockPriority DeadlockPriority DeadlockPriority DeadlockPriority Enum

Definition

Enumerates the priorities used to resolve deadlocks that occur during snapshot generation.

public enum class DeadlockPriority
public enum DeadlockPriority
type DeadlockPriority = 
Public Enum DeadlockPriority
Inheritance
DeadlockPriorityDeadlockPriorityDeadlockPriorityDeadlockPriority

Fields

Eight Eight Eight Eight 8

See the Remarks section.

Five Five Five Five 5

See the Remarks section.

Four Four Four Four 4

See the Remarks section.

High High High High 5

Specifies that the current session will be the deadlock victim if other sessions involved in the deadlock chain have deadlock priority set to an integer value greater than 5, or is eligible to be the deadlock victim if another session has also set deadlock priority to HIGH or to an integer value equal to 5.

Low Low Low Low -5

Specifies that the current session will be the deadlock victim if it is involved in a deadlock and other sessions involved in the deadlock chain have deadlock priority set to either NORMAL or HIGH or to an integer value greater than -5.

MinusEight MinusEight MinusEight MinusEight -8

See the Remarks section.

MinusFive MinusFive MinusFive MinusFive -5

See the Remarks section.

MinusFour MinusFour MinusFour MinusFour -4

See the Remarks section.

MinusNine MinusNine MinusNine MinusNine -9

See the Remarks section.

MinusOne MinusOne MinusOne MinusOne -1

See the Remarks section.

MinusSeven MinusSeven MinusSeven MinusSeven -7

See the Remarks section.

MinusSix MinusSix MinusSix MinusSix -6

See the Remarks section.

MinusTen MinusTen MinusTen MinusTen -10

See the Remarks section.

MinusThree MinusThree MinusThree MinusThree -3

See the Remarks section.

MinusTwo MinusTwo MinusTwo MinusTwo -2

See the Remarks section.

Nine Nine Nine Nine 9

See the Remarks section.

Normal Normal Normal Normal 0

Specifies that the current session will be the deadlock victim if other sessions involved in the deadlock chain have deadlock priority set to HIGH or to an integer value greater than 0, but will not be the deadlock victim if the other sessions have deadlock priority set to LOW or to an integer value less than 0.

One One One One 1

See the Remarks section.

Seven Seven Seven Seven 7

See the Remarks section.

Six Six Six Six 6

See the Remarks section.

Ten Ten Ten Ten 10

See the Remarks section.

Three Three Three Three 3

See the Remarks section.

Two Two Two Two 2

See the Remarks section.

Zero Zero Zero Zero 0

See the Remarks section.

Remarks

Integer values provide fine-grained control over deadlock priority. Priority values specify that the current session will be the deadlock victim if other sessions in the deadlock chain are running at a higher deadlock priority value, but will not be the deadlock victim if the other sessions are running at a deadlock priority value lower than the value of the current session. It also specifies that the current session is eligible to be the deadlock victim if another session is running with a deadlock priority value that is the same as the current session. LOW maps to -5, NORMAL to 0, and HIGH to 5.

Applies to

See also