Click or drag to resize

QueryOptionsMaxServerParallelism Method

Specifies the maximum parallelism for the query. A zero or negative value means the number of logical cpus will be used as the parallelism for the query. There is also a server wide max_parallelism parameter which defaults to 1. If a request includes max_parallelism, it will be capped by the server max_parallelism. If a request does not include max_parallelism, the server wide max_parallelism will be used.

Namespace:  Couchbase.Query
Assembly:  Couchbase.NetClient (in Couchbase.NetClient.dll) Version: 3.0.0-local-202004010202+047adc0837bfc29c0b8cce4322194a09afd8ea18
Syntax
C#
public QueryOptions MaxServerParallelism(
	int parallelism
)

Parameters

parallelism
Type: SystemInt32

[Missing <param name="parallelism"/> documentation for "M:Couchbase.Query.QueryOptions.MaxServerParallelism(System.Int32)"]

Field Value

Type: QueryOptions
The maximum server parallelism.

Return Value

Type: QueryOptions

[Missing <returns> documentation for "M:Couchbase.Query.QueryOptions.MaxServerParallelism(System.Int32)"]

See Also