Slow 2017
Juhl
Member Posts: 724
Hi all
I am upgrading a customer to 2017, and when creating a customer or opening the item or customer card, it is painfully slow.
This seems related to factboxes, and only with customer data, NOT cronus.
So there are many transactions.
CU1 didnt help!
Anyone made it so far and seen the same?
SQL profiler and CPU is showing a lot of activity! But i havent found the cause. Guessing error in flowfield or key.
I am upgrading a customer to 2017, and when creating a customer or opening the item or customer card, it is painfully slow.
This seems related to factboxes, and only with customer data, NOT cronus.
So there are many transactions.
CU1 didnt help!
Anyone made it so far and seen the same?
SQL profiler and CPU is showing a lot of activity! But i havent found the cause. Guessing error in flowfield or key.
Follow me on my blog juhl.blog
0
Best Answer
Answers
-
what were yur upgrade steps?
try to update first to nav 2016, then check performance. if ok, upgrade to nav 2017. check again.best regards
Franz Kalchmair, MVP
Alias: Jonathan Archer
please like / agree / verify my answer, if it was helpful for you. thx.
Blog: http://moxie4nav.wordpress.com/0 -
are these factboxes from standard or custom? maybe to much flowfields.
also when calculating values by using setrange/setfilter always use a suitable key and apply it with setcurrentkey. using the wrong key can lower the performance.best regards
Franz Kalchmair, MVP
Alias: Jonathan Archer
please like / agree / verify my answer, if it was helpful for you. thx.
Blog: http://moxie4nav.wordpress.com/0 -
Check the following:
1.) Are there any keys missing in any of the Ledger tables ?
2.) Check whether there are any missing Views on SQL for those keys used by your FlowFieldsAustrian NAV/BC Dev0 -
how much RAM do you have on your middle tier server? If you go with the 2GB in Microsoft's online statement, you will have terrible performance. I recommend 16GB to be safe for a small number of users. More for more users. The SQL Server should be configured properly with RAM, drives, and file placements.
I am guessing your problem is the RAM for the middle tier.
Publish your server specs and we can give you better advice.
Also, a recent blog recommended bumping up metadata provide cache from the default of 150 - try 5000 instead. It does not have a big cost in memory used but could provide a huge bump in performance.David Machanick
http://mibuso.com/blogs/davidmachanick/0 -
Hi Guys
Just got around to finding out what was going on.
And the problem is with Page 1345 Sales Price and Line Discounts, which is part of the Mini series. But this one is placed on the Customer Card in 2017 as a Part, but outside FactboxArea, so its not even visible and courses a huge calculation. See picture.
If anybody at MS is following, please take a look.
SQL Trace: (4-5 seconds)
exec sp_prepexec @p1 output,N'@0 int',N'SELECT "timestamp","Item No_","Sales Type","Sales Code","Starting Date","Currency Code","Variant Code","Unit of Measure Code","Minimum Quantity","Unit Price","Price Includes VAT","Allow Invoice Disc_","VAT Bus_ Posting Gr_ (Price)","Ending Date","Allow Line Disc_","Pre-Price" FROM "NAV-PREP".dbo."Ib Laursen$Sales Price" WITH(READUNCOMMITTED) WHERE ("Sales Type"=@0) ORDER BY "Item No_" ASC,"Sales Type" ASC,"Sales Code" ASC,"Starting Date" ASC,"Currency Code" ASC,"Variant Code" ASC,"Unit of Measure Code" ASC,"Minimum Quantity" ASC OPTION(OPTIMIZE FOR UNKNOWN, FAST 50)',@0=2
select @p1Follow me on my blog juhl.blog0 -
You can comment this for enhancing performances in onaftergetrecord, too:
//DaysPastDueDate := AgedAccReceivable.InvoicePaymentDaysAverage("No.");0
Categories
- All Categories
- 75 General
- 75 Announcements
- 66.7K Microsoft Dynamics NAV
- 18.8K 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
- 610 NAV Courses, Exams & Certification
- 1.9K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 251 Dynamics CRM
- 103 Dynamics GP
- 6 Dynamics SL
- 1.5K Other
- 991 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 28 Design Patterns (General & Best Practices)
- Architectural Patterns
- 9 Design Patterns
- 4 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1K General Chat
- 1.6K Website
- 77 Testing
- 1.2K Download section
- 23 How Tos section
- 249 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions


