Poor performance posting shipments on NAV5 SP1 SQL
cschueller
Member Posts: 6
Hi all,
I'm having a big issue concerning shipments on a NAV5 SP1 on SQL Server 2008. My customer is used to post 100 to 1000 lines for one shipment, and the process takes almost 2 seconds per line ! It's only shipping, no invoicing and don't have much dimensions on lines (maybe from 2 to 6 dimensions max). I have disabled analysis views automatic updates and cost adjustment is set to "Never".
So I think the issue comes from SQL, but I'm not an expert so I'm asking you some help maybe to tune the code in codeunits 80 or 22 or just to set up differently the SQL Server.
Thank you !
Cédric
I'm having a big issue concerning shipments on a NAV5 SP1 on SQL Server 2008. My customer is used to post 100 to 1000 lines for one shipment, and the process takes almost 2 seconds per line ! It's only shipping, no invoicing and don't have much dimensions on lines (maybe from 2 to 6 dimensions max). I have disabled analysis views automatic updates and cost adjustment is set to "Never".
So I think the issue comes from SQL, but I'm not an expert so I'm asking you some help maybe to tune the code in codeunits 80 or 22 or just to set up differently the SQL Server.
Thank you !
Cédric
0
Comments
-
Start by using the "Client Monitor" to determine where the bottlenecks are.There are no bugs - only undocumented features.0
-
Thanks for your idea !
We monitored the process and the time consuming operations comes from a CALCSUMS in the Warehouse Entry table. The MaintainSQLIndex and MaintainSIFTIndex on a key was not checked (it is standard NAV!). So SQL used the primary key, and thats taking, .25 seconds each line.
Now the process is "normal" and takes half the time. Can we diminush this process duration by optimizing something ?
Thank you.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
- 322 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