Class BatchStart
- Namespace
- ItTiger.TigerQuery.Events
- Assembly
- ItTiger.TigerQuery.dll
Describes a batch execution immediately before it starts.
public sealed class BatchStart
- Inheritance
-
BatchStart
- Inherited Members
Properties
BatchNumber
Gets the one-based logical batch number in parser order.
public int BatchNumber { get; init; }
Property Value
ExecutionCount
Gets the repeat count for the current logical batch.
public int ExecutionCount { get; init; }
Property Value
ExecutionIndex
Gets the one-based execution index within the current logical batch.
public int ExecutionIndex { get; init; }
Property Value
OverallExecutionNumber
Gets the one-based execution attempt number across the whole run.
public long OverallExecutionNumber { get; init; }
Property Value
Remarks
The counter advances as each batch-start callback begins, including for
attempts that subsequently fail. It represents batch execution progress,
not progress within a SQL batch.
SqlText
Gets the variable-expanded SQL text sent for this execution.
public string SqlText { get; init; }
Property Value
TotalExecutionCount
Gets the total scheduled execution attempts in the complete prepared plan,
or null when the total is unknown in streaming mode.
public long? TotalExecutionCount { get; init; }
Property Value
- long?
Remarks
null means unknown, not zero. In prepared mode the value
includes positive
GO n repeat counts and continues to describe the
complete plan when execution stops early. It does not estimate progress
within a SQL batch.TotalLogicalBatchCount
Gets the total number of logical batches in the complete prepared plan,
or null when the total is unknown in streaming mode.
public int? TotalLogicalBatchCount { get; init; }
Property Value
- int?
Remarks
null means unknown, not zero. In prepared mode the value
describes the complete plan even when execution stops early. It represents
batch execution progress, not progress within a SQL batch.