Slow compilation

Belias
Member Posts: 2,998
i have 2 questions: 1 now, when you import some objects in nav2009, they will be automatically compiled...after that you usually receive a message with the number of errors...in my case 1663...it's my record...anyway, nav does not mark the entries and you have to recompile everything another time.
now, the bigger problem: can someone explain to me why i've been waiting about 20 minutes to compile 933 tables?
maybe because indexed views are recreated everytime?if so, i don't like it...i can't waste my life compiling objects!! ](*,)
now, the bigger problem: can someone explain to me why i've been waiting about 20 minutes to compile 933 tables?
maybe because indexed views are recreated everytime?if so, i don't like it...i can't waste my life compiling objects!! ](*,)
0
Answers
-
In case you have a DB you use ONLY with the classic client (and NEVER with the RTC), you can change an DB-option:File=>Database=>Modify=>tab options=>Enable for Microsoft Dynamics NAV server to FALSE. This avoids that the objects are compiled when importing them.Regards,Alain Krikilion
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!0 -
Belias wrote:i have 2 questions: 1 now, when you import some objects in nav2009, they will be automatically compiled...after that you usually receive a message with the number of errors...in my case 1663...it's my record...anyway, nav does not mark the entries and you have to recompile everything another time.
now, the bigger problem: can someone explain to me why i've been waiting about 20 minutes to compile 933 tables?
maybe because indexed views are recreated everytime?if so, i don't like it...i can't waste my life compiling objects!! ](*,)
Because all code is translated into C#, it means writes into the new "system" tables, it means modify on the Blob, etc... it means that it take longer time than before... Try to use SQL profiler to check if there is something you can make faster.0 -
kine wrote:Belias wrote:i have 2 questions: 1 now, when you import some objects in nav2009, they will be automatically compiled...after that you usually receive a message with the number of errors...in my case 1663...it's my record...anyway, nav does not mark the entries and you have to recompile everything another time.
now, the bigger problem: can someone explain to me why i've been waiting about 20 minutes to compile 933 tables?
maybe because indexed views are recreated everytime?if so, i don't like it...i can't waste my life compiling objects!! ](*,)
Because all code is translated into C#, it means writes into the new "system" tables, it means modify on the Blob, etc... it means that it take longer time than before... Try to use SQL profiler to check if there is something you can make faster.
you're right!!c# objects! #-o
BTW...
it's sad to say this, but i'm not so skilled...to use sql profiler and improve things...maybe in the future...
thanks anyway...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