I am looking for syntax. Actually I need to check of query uses multiple processor by doing parallelism but have single processor machine. I read couple of places -P switch but could not find how to use it….
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
There is a full walk through of how to use it in this article.
Simply add
;-P16to the end of the list of Startup Parameters in the SQL Server Configuration Manager and restart the service.Upon restart
SELECT cpu_count FROM sys.dm_os_sys_infoshould indicate that SQL Server thinks you have 16 processors.You might also consider
As a less intrusive (but equally undocumented) way of achieving the same end. More details on that one here.