QueryThreadWeight


Overview
Sets the thread weight that will be used to calculate the number of threads used for query operations for the session.

Thread count calculation

(threadCount = expectedItemCount / 10000)
The thread count is then capped by the min/max thread count:
(maxThreads = SystemCPUCount * 16.0 * QueryThreadWeight)


Example
round-pushpin Sets the session thread weight for threads calculation to 2.0.
set QueryThreadWeight 2.0

See also:

Related