Sql-server – Tempdb log growth 3x as slow on new server, SP does not perform

auto-growthperformancesql serversql-server-2019

We are running into the issue that our stored procedure on our new SQL Server performs a lot slower than on the old server. We looked into the problem and noticed the following on our temp db. The incremental growth takes 3 times as long on the new server. The same happens for the log file of our database. What is causing this?

enter image description here

Best Answer

We are running into the issue that our stored procedure on our new SQL Server performs a lot slower than on the old server.

Use the Session Wait Stats and the Query Store to figure out if there are more waits (like IO) on the new server or if the query plan is worse.

The incremental growth takes 3 times as long on the new server.

Use DISKSPD to benchmark the IO performance on both servers. Log file growth always requires zero'ing the allocated space. Also pre-size the log files and increase the auto-growth increment.