MS Dynamics NAV 2017 slowness at database level different for different users

ChrisK
Member Posts: 3
We recently upgraded a client to MS Dynamics NAV 2017 and one user was reporting slowness entering sales orders. The slowness was determined to be a delay at the quantity field validation of approx. 6 seconds. After more testing, this issue appears to affect other users but in different databases. For example, one user experiences the delay in Production database but not in the TEST database, another has the delay in TEST but not in Production database, and yet another has no delay in either database. We have checked object versions, role centers, user setup, config file, and are not able to explain the behavior. Has anybody seen an issue like this or know what could cause a delay at the user/database level?
0
Best Answer
-
It looks like we found the resolution. We set up a SQL Profiler trace (to see if some other activity was running) and ran it while entering a sales order in the database logged in as user who experienced a delay (just at the point where there was a delay) and then ran it again while entering a sales order in the database logged in as user who did not experience a delay. When comparing the trace files, we saw that there were lines under Event Class SQL:Batchcompleted with high duration numbers (>1000) for the user who had the delay.
After more investigation, we found that notifications were set up on the role center for the affected user/database. When the notification options were removed, the performance improved and there was no more delay in entering the sales order. When SQL Profiler trace was run again, the SQL:Batchcompleted lines were gone. It was tested on two different users who experienced the issue and the results were the same.
Thanks again for the suggestions!1
Answers
-
Perhaps the delay is related to some other random or periodic activities going on in the database or on the server or in the network environment.
If your server is virtualized then random activity peaks at different unrelated guests may have an impact.
If server disks are SAN based it could be some periodic activities/maintenance on the SAN
For example in our virtualized environment we have a SAN snapshot running every so often, and it has a visible impact on our NAV - but the impact is only visible when the other guests have a load/activity peak at the same time. So overall it looks like a random issue - from time to time NAV slows down, for one user or another.
Try to setup the some monitring on the SQL and NST server and try to correlate NAV issues with unusual system activity peaks, perhaps this will help you to pinpoint the problem
SlawekSlawek Guzek
Dynamics NAV, MS SQL Server, Wherescape RED;
PRINCE2 Practitioner - License GR657010572SG
GDPR Certified Data Protection Officer - PECB License DPCDPO1025070-2018-030 -
It can also be data related, do the users have identical permissions and setup and are they working on the same test orders with same customer item location etc. Also are there any security filters set up?
David Singleton0 -
Thank you for your input. We will try these suggestions and report back.1
-
It looks like we found the resolution. We set up a SQL Profiler trace (to see if some other activity was running) and ran it while entering a sales order in the database logged in as user who experienced a delay (just at the point where there was a delay) and then ran it again while entering a sales order in the database logged in as user who did not experience a delay. When comparing the trace files, we saw that there were lines under Event Class SQL:Batchcompleted with high duration numbers (>1000) for the user who had the delay.
After more investigation, we found that notifications were set up on the role center for the affected user/database. When the notification options were removed, the performance improved and there was no more delay in entering the sales order. When SQL Profiler trace was run again, the SQL:Batchcompleted lines were gone. It was tested on two different users who experienced the issue and the results were the same.
Thanks again for the suggestions!1 -
We've experienced a related performance issue caused by the 'My Notifications' functionality. To be more specific. We experienced slow performance on multiple pages in NAV, for example opening a service order card. The notification options 'Customer exceeds credit limit' and 'Customer has overdue balance' caused this slow performance. Currently we recommend users to disable these two options on the My Notifications page.
I expect Microsoft has fixed this issue in NAV 2017 Cumulative Update 09 application hotfix. Change on TAB 1518.
I have not tested this fix by Microsoft yet. Lets hope this does the trick.0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions