Good Morning,
I just started a new position at Sunrise, FL and I need help to clear several things:
1. The company is running NAV 2009 R2 classic with SQL option
We had a NAV VAR and an in-house solution provider!!!!
I am just an IT manager with some NAV background.
2. I was told that MS would not suggest to run under RAID-10 with SQL option
3. I was told that MS suggest to use simple recovery mode with SQL option
4. I was told that Hyper-V is a NO-NO for NAV 2009 R2 classic SQL option
5. I was told that SQL 2009 R2 enterprise is the only option to run 150+ GB database, with 55 users
6. I was told that RAID-1 is the only way to get best performance.
7. I was told ...
Can anyone help me understand if MS actual suggest any of these?
My personal view on any of these are :oops: :oops: :oops:
Please advise.
CouberPu
0
Comments
1. This is an incorrect statement. RAID 10 is the preferred configuration for the drive holding SQL data files. This should also the a dedicated array. RAID 1 (or 10) is recommended for the SQL transaction log. These should be physically separate disk.
2. There is no preferred recovery method. Although I would say that full is the most common. The appropriate recovery method is the one that supports your recovery plan.
3. Hyper-V (or other virtualization) is a very valid solution for NAV. You just have to configure it right. The one thing that often gets overlooked is that the underlying hardware, especially the disk systems, still remain as a critical design point. While dedicated physical hardware is almost always faster, I have seen many successful virtualized installs. But I've also seen disasters. I will also generally not recommend virtualization to a client that has no experience with it.
4. We have plenty of customer running systems of this size of larger on SQL Standard. NAV does not need SQL Enterprise. The only reason to use SQL Enterprise is that you find a need for 1 or more of its exclusive features and can justify the additional cost to get those features.
5. This is a false statement. RAID 10 is the preferred setup as stated above. But this does not mean the server is just a single RAID 10. The RAID 10 is only the dedicated array to hold the SQL data files.
Hope this is helpful.
The "in-houise" solution supporter told me that he started with NAV during 1980s and he knew inside out of every function of NAV. The list of 'what I been told' was from him and system was setup based on those.
I have more questions need help with.
1. Do we need to purchase sql tuning program made just for NAV for size of 150+ GB database or we can just use built in sql maintenance plan? (tables and views)
2. I find out that there is a lot of if else statement instead of case of statement in custom code dealing with dates. One example would be finding which month and update total of sales, which can be done via SIFT but ..., and the custom code would use if month = 1 then ... else if month = 2 then ...... else if month = 12 then ...., etc. Would it be quicker to use case of statement? I found if else code almost everywhere. Would this cause performance issue?
Thanks,
Couber
1. Do you absolutely need one of those "made for NAV" programs? That answer is no. Could they be helpful? Possibly. I don't have enough experience with any "made for NAV" programs to give you any up or down recommendations on them. Perhaps others with more direct experience can comment. I tend to lean toward the more traditional methods. However I do not recommend using the built in maintenance plans for index maintenance. They do too much work. There's a standard SQL script I've used for years and has worked well. Should be in Books Online (I think). It updates only what needs to be.
2. The choice of IF..ELSE versus CASE is more about code readability than performance.
Do you know the name of the script or which chapter in Books Online?
Sorry I don't. I've had it as a saved SQL script for years that I just copy between systems. I'm not totally sure of the exact original source. It was Microsoft but may have been MSDN or TechNet. I'll dig it out and post it here later.
A person who has been around since the very beginning will know a lot of the original features, but unless they have dedicated themselves to keeping up with all the new features, they will fall behind.
Keep learning and finding out for yourself.
There are a number of knowledgeable people contributing to Mibuso, including bbrown who has given you some great feedback - which I fully agree with.
http://mibuso.com/blogs/davidmachanick/
I would say that I agree and I have to be careful dealing with someone been around forever.
Here is the thing:
1. People at work think that they got someone who knew everything about NAV.
2. The system had performance issue when convert to SQL and suggested solution is to use SQL 2008 R2 Enterprise with 128GB of RAM. ](*,)
3. We still have performance issue and suggested solution was to add another 128GB of RAM. ](*,)
4. My experience with NAV SQL option started at end of 2003 and I think we can do better without SQL Enterprise and lots of RAM.
5. I am not a NAV developer but I can read and write code in NAV.
5. I am testing the database with a VM, using Windows 2008 Server,SQL 2008 R2 standard with 8 Cores and 64GB of RAM. I am seeking suggestions that would help me complete the test with acceptable performance by user.
Thanks,
CouberPu
Performance is also rarely a single problem.
Planning on getting my hand dirty and already started.
Still, appreciated for some advise on SQL index vs. NAV key / 2nd key. I saw lots of keys created for sub ledgers to maintain same SIFT calculation. Example would be item ledger table has 17 keys created to maintain SIFT for Quantity, and they all have both maintainSQL and SIFT index checked. Any suggestion? :oops:
I recommend investing in a copy of this book. It will help to answer a lot of questions. The author is also one of the frequent posters to this forum on the subject of performance.
Any chance to get the sql script?
Step 1 handles the index updates. It will selectively process indexes based on the level of fragmentation. Indexes with less than 10% fragmentation are skipped.
Step 2 handles the statistics