SQL Server slow under Windows 11

Stephen Otton 10 Reputation points
2023-09-18T05:09:06.48+00:00

I recently purchased a new Dell XPS 15 with the expectation that I would be able to run some time-consuming SQL Server processes much faster than my old Dell Latitude. However, the new Dell XPS runs the same processes around 5x slower than the old laptop. Both laptops have SQL Server 2017 Developer installed. The only difference and it is a major difference is that the Dell Latitude is running Windows 10 Pro whereas the Dell XPS is running Windows 11 Pro. It appears that SQL Server is simply not using the CPU and memory power of the new Dell XPS laptop.

Is anyone aware of any issue between SQL Server and Windows 11 that causes performance issues?

Are there SQL Server settings that must be adjusted for the new hardware?

I thought that using the latest version of SQL Server might help. So I installed SQL Server 2022 Developer. The results were identical. As a result, my focus has returned to Windows 11.

SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
13,799 questions
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
9,629 questions
{count} vote

4 answers

Sort by: Most helpful
  1. Bruce (SqlWork.com) 65,211 Reputation points
    2023-09-23T15:42:28.21+00:00

    First check if you have anti-virus running on windows 11. If so, you will want to configure to ignore SqlServer.

    You may have disk sector size issues

    https://learn.microsoft.com/en-us/troubleshoot/sql/database-engine/database-file-operations/troubleshoot-os-4kb-disk-sector-size


  2. Yitzhak Khabinsky 25,861 Reputation points
    2023-10-22T20:14:55.46+00:00
    0 comments No comments

  3. Stephen Otton 10 Reputation points
    2023-12-20T00:44:41.6433333+00:00

    Okay. So I just wiped my laptop clean and installed Windows 10 Pro instead of Windows 11 Pro.

    All is well.

    My SQL Server processes run about 15-18x faster under Windows 10.

    Conclusion: Windows 11 is a dog, let out of the kennel before it was potty-trained.


  4. Javier Villegas 900 Reputation points MVP
    2023-12-27T11:54:30.3533333+00:00

    It is weird since I have the same laptop with Windows 11 Insiders and it works great. I am just trying to follow the best practices as much as possible (not ideal having only 1 ssd drive) but in terms of tempdb files,memory and DOP can be adjusted.

    which wait type do you see while running your workload ?

    Regards

    Javier

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.