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
0
Comments
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)
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 Iwan
And reading flowfields in a sequenze is evil too?
Greetings
Iwan
Most of your performance will come from optimizing the keys and indexes, and then the code.
RIS Plus, LLC
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... :-))
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.