Performance issue with 5.0 sp1

fabio78
Member Posts: 37
Hi,
I've upgraded my Navision installation from 4.0 sp3 to 5.0 without performance issue, then from 5.0 to 5.0 sp1 with very very performance issue...
I've read that 5.0 sp1 uses Index Hint by default, but by trace from my Database I don't see any hint.
Can this issue caused by new sql Pre-Processing way to execute queries?
From sys.processes I've also seen that there are a lot of processes waiting for pageiolatch_sh, but with 5.0 I don't have waiting for resource...
I've upgraded my Navision installation from 4.0 sp3 to 5.0 without performance issue, then from 5.0 to 5.0 sp1 with very very performance issue...
I've read that 5.0 sp1 uses Index Hint by default, but by trace from my Database I don't see any hint.
Can this issue caused by new sql Pre-Processing way to execute queries?
From sys.processes I've also seen that there are a lot of processes waiting for pageiolatch_sh, but with 5.0 I don't have waiting for resource...
0
Comments
-
Which version of SQL Server are you using?
32 bit or 64 bit?
How much RAM?David Machanick
http://mibuso.com/blogs/davidmachanick/0 -
Because the "pageiolatch_sh", I suppose that the discs are busy with reading data for some scans. Try to use SQL Profiler and look for queries with many reads...0
-
-
There are known issues with SP1 for slow flowfields. This can cause many reads.
If your server is already on the edge of performance this can cause it to be over the edge.
Pageio means that SQL server has to few HW resources. What is your readqueue on the datadisk?
My advise would be to go back to 5.0 via NAV backup/restore.
If you are on SQL2005, it is even better to go to the last 4.0 SP3 build.0 -
Hi,
well, there could be plenty of reasons for encountering problems with "pageiolatch_sh". How's your disk-subsystem configured? YOu should monitor the disk counters like "avg. read queue length", "avg. write queue length", "% disk time", "avg. sec/transfer" etc. to determine if there are any latencies; in parallel you should monitor several memory counters like "buffer cache hit ratio", "page life expectancy", "free pages", "memory granst pending" etc. to determine if RAM is the problem. (Lacking RAM wil increase pressure on the disks).
As suggested by kine you should use the Profiler to find queries "consuming" lot of Reads (e.g. > 1000). Such queries could "kill" the cache and further screw up the disk perfromance ...
If tables are heavily fragmented, this could also lead to pageiolatch_sh problems. You should run a periodic Index Rebuild (ALTER INDEX REBUILD) at least on tables with a "logical fragmentation" > 30% ... when re-indexing take care about NOT applying wrong fill-factors; if FF can't be set precisely based on table growth, a value of 90 or 95 percent is OK for NAV (caution: in "Maintenance Plan" you define the amount of "Free Space". Hence, to apply a FF of 90% you have to define 10% Free Space!)
Best regards,
JörgJörg A. Stryk (MVP - Dynamics NAV)
NAV/SQL Performance Optimization & Troubleshooting
STRYK System Improvement
The Blog - The Book - The Tool0
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