The question is how MaxDop setting is related to the duplicated spids in the sysprocesses view.I am using SQL2014. The MaxDop used to be 8. I ran a large query and got 8 processes running with the same spid. (SELECT SPID ,count(*) FROM SYS.SYSPROCESSES WHERE SPID>50 group by SPID)I got massive CXPacket wait. I updated MaxDop to 3 to see whether it makes a difference. (I have 4 CPUs on the server, 3 physical core for each CPU. But this post is not about MaxDop setting).After the MaxDop change, I confirmed the change taking effect with the sp_configure.After that, I ran the same large query and still got 8 processes running with the same spid, sometime the number dropped to 4. I did not expect that, I thought the number should be 3.Any advice?
↧