navision 4.00 SP1 findfirst, findlast and findset
GoMaD
Member Posts: 313
is it just me or does anybody else have the feeling that the native navision SP1 client is slower than the pre-SP1 client.
Can it be because of the new find keywords (findfirst, findlast and findset)?
It seems that they are reworking the clients to stay closer to the SQL way of working. But this seems to have an opposite effect on the native client.
(if you use the old find('-') or find('+') syntax)
And why is the demo db not altered to use the new find keywords?
or am i just paranoid?
Can it be because of the new find keywords (findfirst, findlast and findset)?
It seems that they are reworking the clients to stay closer to the SQL way of working. But this seems to have an opposite effect on the native client.
(if you use the old find('-') or find('+') syntax)
And why is the demo db not altered to use the new find keywords?
or am i just paranoid?
Now, let's see what we can see.
...
Everybody on-line.
...
Looking good!
...
Everybody on-line.
...
Looking good!
0
Comments
-
1) The new keywords are not used in SP1 in code, because there was no time to use them. They are for future use or when some company need optimalization, than NSC can use this way... or when you are developing something, you can use that...
2) Do not forget, that Navision is developed now only on MS SQL, and you can assume that the performance will be optimized for MS SQL and not optimal for Native DB... :-) they need to sell MS SQL... 8)0 -
Kine, thanks for confirming my assumption.
I've just did a find('_') to findfirst and find('+') to findlast conversion of a test db.
It seems that the performance of the native client improves with this change. AND IT'S SO EASY!Now, let's see what we can see.
...
Everybody on-line.
...
Looking good!0 -
Don't forget that you can't simply replace every instance of FIND('-') with FINDFIRST. You would only do this if you are interested in one record, and you don't have enough information to do a GET. When you intend to loop through data you need to do FINDSET.0
-
as I said 'on a test db'
Meaning, as a first test!Now, let's see what we can see.
...
Everybody on-line.
...
Looking good!0
Categories
- All Categories
- 75 General
- 75 Announcements
- 66.7K Microsoft Dynamics NAV
- 18.8K 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
- 610 NAV Courses, Exams & Certification
- 1.9K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 251 Dynamics CRM
- 103 Dynamics GP
- 6 Dynamics SL
- 1.5K Other
- 991 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 28 Design Patterns (General & Best Practices)
- Architectural Patterns
- 9 Design Patterns
- 4 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1K General Chat
- 1.6K Website
- 77 Testing
- 1.2K Download section
- 23 How Tos section
- 249 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions

