Queries are running Slow on new windows server 2019

NickK 176 Reputation points
2023-02-07T11:28:47.76+00:00

we have sql server 2017 RTM on windows server 2012

we migrated to SQL SERVER 2017 RTM on windows server 2019

our queries started running slow .. did run update stats with full scan, rebuilded the indexes, tweaked MAX DOP and COST of threshold , Tempdb are same based on CPU, autogrwoth is same too for all dBs, added more memory , added more CPU to windows server 2019

tried sp with recompile- did not help

the same query run fast in sql server 2017 RTM on windows server 2012 but SLOW in SQL SERVER 2017 RTM on windows server 2019

Any idea experts ? please help

SQL Server Other
{count} votes

2 answers

Sort by: Most helpful
  1. Seeya Xi-MSFT 16,586 Reputation points
    2023-02-08T02:18:57.27+00:00

    Hi @NickKhoo-7526 ,

    Since you are using SQL Server 2017 RTM, you can try to install the latest cumulative update (CU31).

    https://www.microsoft.com/en-us/download/details.aspx?id=56128

    Best regards,

    Seeya


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    0 comments No comments

  2. Zahid Butt 961 Reputation points
    2023-02-08T16:01:55.4+00:00

    Hi NickK,

    Till now what I have explored, there is nothing to do with SQL server version. Windows 2019 server has some known performance issues.

    According to a friend of mine, use latest type of Hard drives i.e. NVME & secondly you may have to change file system configurations. If its a VM you may have to play with VM configurations.

    Here is a link just to get an idea of windows 2019 issues & solutions:

    https://techcommunity.microsoft.com/t5/windows-server-for-it-pro/slow-server-2019-disk-performance/m-p/653049

    Regards,

    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.