web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Suggested Answer

NAV 2017 and SQL Server 2019

(0) ShareShare
ReportReport
Posted on by 5

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?

  • Suggested answer
    Thomas Brownell Profile Picture
    Microsoft Employee on at

    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:

    https://docs.microsoft.com/en-us/dynamics-nav/optimizing-sql-server-performance-with-microsoft-dynamics-nav

    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:

    https://cloudblogs.microsoft.com/dynamics365/no-audience/2012/09/18/example-of-how-to-use-sql-tracing-feature-to-profile-al-code/?source=nav

    Hope this helps,

    Thomas Brownell | | Support Escal Eng | Dynamics NAV/Business Central 

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the August Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 715 Super User 2026 Season 2

#2
YUN ZHU Profile Picture

YUN ZHU 452 Super User 2026 Season 2

#3
AndrewThomas81 Profile Picture

AndrewThomas81 371 Super User 2026 Season 2

Last 30 days Overall leaderboard

Featured topics

Microsoft Training Manuals

Product updates

Dynamics 365 release plans