SQL Server 2017 Express Edition only recognizes one CPU in AUTO when four are assigned. I can reassign the affinity so that it recognizes the rest, but the affinity type changes to MANUAL and it does not dynamically distribute the processes, but only does so in one. My SQL server is on Linux 20.04.
I tried to replicate it in a virtual machine but when I see which ones it assigns by AUTO, all of them are reflected, not just one.
1 Answer 1
Express edition only supports the lesser of 1 socket or 4 cores. You didn't post the VM configuration but I'd venture a guess it's setup at 4 socket/4 cores instead of 1 socket 4 cores.
-
No, the server is configured as 4 socket, 4 cores and the vm is 1 socket, 4 cores,Alejandro Cortes– Alejandro Cortes2023年12月14日 19:21:30 +00:00Commented Dec 14, 2023 at 19:21
-
If the VM was configured for 1 socket and 4 cores then it'd use 1 socket up to 4 cores. That's the Express edition limitations.Sean Gallardy– Sean Gallardy2023年12月14日 19:57:30 +00:00Commented Dec 14, 2023 at 19:57
-
Exactly, you said it, 4 cores but the server only takes 1Alejandro Cortes– Alejandro Cortes2023年12月14日 20:54:25 +00:00Commented Dec 14, 2023 at 20:54
-
1Then you'll need to post the sys.configurations output, startup errorlog, and sys.dm_os_schedulers outputSean Gallardy– Sean Gallardy2023年12月15日 16:29:38 +00:00Commented Dec 15, 2023 at 16:29