Oct 08 2020 11:54 PM
We have a RDP server which is running in 2008 version of SSMS and OS. Recently we migrated this server to 2016 version, both the OS(2016) and SSMS(2016).
Configured new machine(with ssms2016) is same to the old one(with ssms2008) in terms of system configuration. It has a 64-bit OS with x64-based processor. RAM memory is 64.0 GB and 2.39 GHz (32 processor).
We are facing severe performance issue while running stored procedures in SSMS 2016 version, as same code base has been migrated from sql server 2008.We are loading data to these servers using SSIS ETL tools.
For example if we are running a stored procedure in old server(with ssms2008) it is taking 1 hour of time but the same SP is taking 10 hours of time in new server(with ssms 2016) sometimes even more.
To identify the root cause we have tried below approaches but so far nothing worked.
Note: is there any solution we can try to get the same execution time in both servers.
Thanks in Advance.
Regards,
Prashant Agrawal
Oct 11 2020 06:42 AM - edited Oct 11 2020 07:21 AM
@prashantagrawalbangalo325 I have been facing the same issue before and solved by enabling query optimizer fix at the database level.
How to steps:-
Right-click on database level then select properties then options then scroll down under database scoped configurations then select "Query Optimizer Fixes" change it to be "ON"
Or by running below:-
USE [DatabaseName]
GO
ALTER DATABASE SCOPED CONFIGURATION SET QUERY_OPTIMIZER_HOTFIXES = On;
GO
I hope that helps you.
Thanks,