Announcements
We recently had to upgrade (full database migration to fresh MSSQL install) to SQL Server 2019 and we're now running into issues with the G_L Entry table. When shipping posts a shipment, it runs very slow, and any queries against the table are made to wait until the order shipment is finished with it. My question is, are there specific optimizations that are done to the NAV code and queries that are specific to the SQL version? If so, what do I need to do in order to optimize our NAV for MS SQL 2019?
Hello,
There isn’t specific optimization between SQL versions alone. I would recommend reviewing the following Optimizing SQL Server Performance with Microsoft Dynamics NAV documentation to see if this helps:
Beyond this you may want to run a SQL Profiler trace to with ‘Full SQL Tracing’ enabled to help isolate if additional keys might be needed or modified. The below document also has an example of this as well:
Hope this helps,
Thomas Brownell | | Support Escal Eng | Dynamics NAV/Business Central
André Arnaud de Cal... 291,359 Super User 2024 Season 2
Martin Dráb 230,370 Most Valuable Professional
nmaenpaa 101,156