need advice on optimizing tables in Nav 3.70

orbitalsalmon
Member Posts: 33
Hi all,
I've searched the forums and have gotten bits and pieces of information regarding best practices when optimizing tables in Navision, but am still unclear about certain things I am hoping to get feedback on. Note I am not very familiar with administering Navision so please excuse any newbish questions. Here goes:
1. Is it okay to optimize tables that come back with errors after running the TEST function (such as missing relations, etc)?
2. It is said that you should avoid optimizing "entry" tables such as G/L Entry, VAT Entry, because optimizing them will cause slow-downs when inserting new data. Is it considered a best-practice to never optimize entry tables, or are there exceptions to the rule? (because most entry tables are very big and we'd like to shrink them)
3. Regarding the slow-down on data insertion after optmizing, is it a permanent slow-down, or does the speed improve gradually over time until the next optimization?
3. Finally, what tables SHOULD be targeted for optimization? Here is a list of some "non-entry" type tables from our database which have considerable size:
G/L Register
Item Register
Sales Shipment Header
Sales Shipment Line
Sales Invoice Header
Sales Invoice Line
Ledger Entry Dimension
Posted Deposit Line
Posted Deposit Application
Would like to know if there are detriments/problems in optimizing any of the tables listed above.
thanks,
Jon
I've searched the forums and have gotten bits and pieces of information regarding best practices when optimizing tables in Navision, but am still unclear about certain things I am hoping to get feedback on. Note I am not very familiar with administering Navision so please excuse any newbish questions. Here goes:
1. Is it okay to optimize tables that come back with errors after running the TEST function (such as missing relations, etc)?
2. It is said that you should avoid optimizing "entry" tables such as G/L Entry, VAT Entry, because optimizing them will cause slow-downs when inserting new data. Is it considered a best-practice to never optimize entry tables, or are there exceptions to the rule? (because most entry tables are very big and we'd like to shrink them)
3. Regarding the slow-down on data insertion after optmizing, is it a permanent slow-down, or does the speed improve gradually over time until the next optimization?
3. Finally, what tables SHOULD be targeted for optimization? Here is a list of some "non-entry" type tables from our database which have considerable size:
G/L Register
Item Register
Sales Shipment Header
Sales Shipment Line
Sales Invoice Header
Sales Invoice Line
Ledger Entry Dimension
Posted Deposit Line
Posted Deposit Application
Would like to know if there are detriments/problems in optimizing any of the tables listed above.
thanks,
Jon
0
Comments
-
Base information we need to know is which server you are using - Native DB or MS SQL?0
-
Native DB, currently 3 GB.0
-
orbitalsalmon wrote:1. Is it okay to optimize tables that come back with errors after running the TEST function (such as missing relations, etc)?
How many of these "Errors" are you getting?
Have you been using Navision for a while with upgrades?
Personally I wouldn't worry too much with a 3GB database. we're upto 17GB and I optimize all the time without problems..BUT I not an expert in the optimizing field.
Here's an old post from me in 2003 discussing Optimizing Tables:
http://www.mbsonline.org/forum/topic.asp?TOPIC_ID=80330 -
Hi,
1. You can optimize irregardless of whether the relation is there or not.
2. Optimizing ANY tables will only increase the performance of it. It will not slow-down the tables at all.
3. You won't experience slowdowns during insertion when you optimize
4. Target all of it.
Don't worry, optimizing is a good thing. The only problem is that it will reset the user settings for all the forms related to that table. But it's not a big deal.
Hope this helpsConfessions of a Dynamics NAV Consultant = my blog
AP Commerce, Inc. = where I work
Getting Started with Dynamics NAV 2013 Application Development = my book
Implementing Microsoft Dynamics NAV - 3rd Edition = my 2nd book0 -
deadlizard wrote:1. You can optimize irregardless of whether the relation is there or not.deadlizard wrote:2. Optimizing ANY tables will only increase the performance of it. It will not slow-down the tables at all.deadlizard wrote:3. You won't experience slowdowns during insertion when you optimizedeadlizard wrote:4. Target all of it.
If your aim is to get better performance, optimization with a Navision-DB is something that won't get you much (on SQL optimization for ALL tables is good for performance).
For performance-gains, you should check all your programs and for example delete indexes that are only used for a report and reprogram the report. Checking the programs if they are using the correct indexes.Regards,Alain Krikilion
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!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