Quantcast
Channel: www.oaktable.net - PX
Viewing all articles
Browse latest Browse all 4

Limiting the Degree of Parallelism via Resource Manager and a gotcha

$
0
0

This might be something very obvious for the reader but I had an interesting revelation recently when implementing parallel_degree_limit_p1 in a resource consumer group. My aim was to prevent users mapped to a resource consumer group from executing any query in parallel. The environment is fictional, but let’s assume that it is possible that maintenance operations for example leave indexes and tables decorated with a parallel x attribute. Another common case is the restriction of PQ resource to users to prevent them from using all the machine’s resources.

This can happen when you perform an index rebuild for example in parallel to speed the operation up. However the DOP will stay the same with the index after the maintenance operation, and you have to explicitly set it back:

read more


Viewing all articles
Browse latest Browse all 4

Latest Images

Trending Articles



Latest Images