DBA > Job Interview Questions > Microsoft SQL Server FAQs

You have just upgraded your server from a single

More DBA job interview questions and answers at http://dba.fyicenter.com/Interview-Questions/

(Continued from previous question...)

You have just upgraded your server from a single processor by adding 3 additional processors....

You have just upgraded your server from a single processor by adding 3 additional processors. Your settings are as follows:
Cost threshold for parallelism 5
Max Degree of Parallelism 8
Affinity Mask 1
Query Cost Governer Limit 0

What should you change to enable queries to run in parallel and finish quicker?

Answer: Change Affinity Mask to 0

Explanation: The affinity mask determines which processors can be used for parallel queries. A setting of 1 limits queries to processor 0 only. By changing this to 0, all processors can be used. You could also set this to 15 for all 4 processors in a 4 processor system to enable the bitmask for bits 0-3.

(Continued on next question...)

Other Job Interview Questions