TableRequestOptions.TableQueryMaxDegreeOfParallelism Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the degree of parallelism for execution of a cross-partition query. 0 is serial with no pre-fetching, 1 is serial with pre-fetching, and higher values increase the rate of parallelism. Default is -1, which lets Azure Cosmos DB dynamically determine the value at runtime.
public int? TableQueryMaxDegreeOfParallelism { get; set; }
member this.TableQueryMaxDegreeOfParallelism : Nullable<int> with get, set
Public Property TableQueryMaxDegreeOfParallelism As Nullable(Of Integer)
Property Value
The maximum number of concurrent operations during parallel execution. Defaults to -1.
Remarks
0 is serial with no pre-fetching, 1 is serial with pre-fetching, and higher values increase the rate of parallelism. -1 lets Azure Cosmos DB dynamically determine the value at runtime. Only supported in Direct Mode.
Applies to
Azure SDK for .NET