Performance of an NAS 3.7 on SQL Server 2000

Iwan_Jauch
Member Posts: 35
Hi there
I have big problems with the performance of my nas 3.7 in combination with sql server 2000! Does anybody have ideas how to imporve the speed?
What ideas of imporvement do you have for my navision code?
- setting SETCURRENTKEY etc.?
Thanks a lot for your help.
Grettings Iwan
I have big problems with the performance of my nas 3.7 in combination with sql server 2000! Does anybody have ideas how to imporve the speed?
What ideas of imporvement do you have for my navision code?
- setting SETCURRENTKEY etc.?
Thanks a lot for your help.
Grettings Iwan
0
Comments
-
there are some documents available about improving sql server performance manipulating some CAL-Code. Check the newer Product- and Tools-CD, i guess you may find something there.
setcurrentkey is always a good thing for performance, you could also analyze "Maintain SIFT Index" property, but without knowing your database its hard to give some real good hints... try to reduce reads and writes, and you will win a lot speed, sometimes its just stupid code who kills performance, like this
CALCFIELDS(MyField)
... Some Code doing nothing with MyField...
CALCFIELDS(MyField)
or
MyRec.MODIFY(TRUE)
... some code ...
MyRec.MODIFY(TRUE)
Mog0 -
Hi Mog
I know that flowfields are not so fast to read, but is there a better way to sum up the flowfields if i need that data?
Thanks a lot for your help
Greetings Iwan0 -
using flowfields is not that big problem, calculating them twice or more in one function is the cause of all evil0
-
Hi Mog
And reading flowfields in a sequenze is evil too?
Greetings
Iwan0 -
Reading flowfields is not the cause of any evil, unless you read a very large number of them. What Mog is trying to tell you is that there is code that doesn't make sense that you can remove, and one example is to calculate a flowfield, then not doing anything with the value, and then calculating it again.
Most of your performance will come from optimizing the keys and indexes, and then the code.0 -
Do no forget, that best optimalization is to optimize something, what has impact to biggest part of the system.
e.g.: what is better - speed up 50% of the system with gain 0.01sec
- speed up 1% of the system with gain 5sec
:-)
Keys has impact to whole system, your code just to 0.1%... ;-)
And do not forget that your RAM, CPU, HDD have impact to your whole server (more than 100% of Navision... :-))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
- 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