Hi all,
I have a performance issue for a Navision 3.6 SQL option database.
The details are as follows.
1. server Nec 5800 120 lh, 4 GB Ram, raid 5 (5 hdd on 10000 rpm) - recently full updated will drivers and others
2. database on raid 5 and t-log on different sata hdd.
3. 30 concurent users on 13 gb database (9 months of activity).
4. index defrag and statistics updated
5. performance indicators checked and half of them are bad.
The application performance is not acceptable for the customer and I need to do something. I did almost all I found on documentation.
What else can I do, but not to change the server?
thanks
0
Comments
This allows you to play more with the SQL stuff.
Then, if server, network and clients are OK you need to analyse which transactions perform bad. You need to make a plan per transaction what to do about it.
If I read correctly the Logfiles are not on the Raid 5?
Is not possible to make update, at least 6 month from now on.
The database is on raid 5 together with so and the t-log is on single sata driver.
4. statistics must be done every night ; index rebuild once a week
Like Mark Brummel said : tech upgrade to 4.0SP2 and then you need a finetuning of the SQL-indexes and SIFT-fields.
Search also Mibuso for a lot of other tips on SQL-option-performance
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!
Physical disk READ
Avg. disk read queue len. (database partition): Average = 0,9 Maxim=13
Physical disk WRITE
Avg. disk write queue len. (so partition): Average = 5,8 Maxim=11
Avg. disk write queue len. (database partition): Average = 15,8 Maxim=249
MSSQL
Pages split/sec Average = 0,6 Maxim = 10,6
Full scan/sec Average = 0,15 Maxim = 2,13
Lock Request/sec Average = 5200 Maxim = 160000
Lock waits/sec Average = 0.013 Maxim = 0.66
Should be nice to be raid the only problem but I don't think so.
Thanks
Why is changing the RAID system and upgrading ro 4SP2 such a problem? Don't you have a weekend that you can use for that?
With small numbers of users (up to 10 maybe 15 users) and a really good machine, RAID 5 will be your friend. You go over that, all of a sudden RAID 5 becomes your problem. It has something to do with the parity calculations slowing down database write operations. Check any documentation, and you will find that RAID 5 is not recommended for wite intensive database applications, such as ERP systems.
RIS Plus, LLC
And unfortunatelly this server is said that have some automatic tools to configure as raid 5 (maybe for commercial purposes). This is the reason the customer received the server with raid 5.
I suppose I'll convince to convice to change the raid and all the problems will go away.
Given their number of users and their system usage RAID 5 might not be the cause of the performance problems. Up to a certain system load it doesn't matter much which RAID level you have. It's when you start really working on the machine that it will start affecting performance.
RIS Plus, LLC
Are you using simple or full recovery on the logs? Full on the SATA drives doesn't sound like such a good idea.
Funny thing with RAID 5, is that I see it often suggested in a lot of SAN installations. They look at me like I have two heads when I say I would want RAID 1+0.
Check out some of the recommendations in the "Tuning Navision for Better Performance" document. I think it is in the downloads section. I think that some of the other performance tuning stuff from MS is also in downloads.
I believe that 3.6 also had some SQL issues. I would suggest a technical upgrade to at least 3.7. For 30 GB, it shouldn't be too difficult or take too much time, especially on some decent hardware.
RIS Plus, LLC
RAID 5 vs. RAID 10
The two RAID versions have about the same read performance, but RAID 5 has about 1/2 the write performance. RAID 5 does have its uses. It can be useful (and cost-effective) in systems that see a lot of reads and little writes. An example would be a database used for reporting only.
Considering the small datase size (13 GB) and the number of drives (5), the RAID is probably not a major factor in your performance issue but I expect it is contributing.
Suggestion: Reconfigure as RAID 10. Either use 4 drives and keep the 5th as a hot spare, or add another drive and do 6 drives.
Transaction Log
An often over-looked issue is the write performance of the transaction log.
When a user makes a change to the database (insert, modify, delete, etc.), the change is immediately written to the transaction log and also held in memory. Once the change is written to the transaction log, the users connection is released and may continue with the next task.
I have no direct experience with using SATA drives in these systems so I cannot comment on them. However the following quote fro the HP website raises questions in my mind.
Auto-expansion of data/Log files
This can create performance issues if it is occurring during high system activity.
Navision code issues (key selection, etc.)
I would expect this to be most of your issues. Upgrade to the new executables to gain access to the new commands (FindFirst, FIndLast, and FindSet).
Also use the Performance Toolkit to track issues with specific functions and look into locking and blocking issues.