System Slow during Posting and Freezing Other Sessions

sgg
Member Posts: 109
Hello All,
Could someone tell what could be done to Speedup the system's Posting routine and Prevent Freezing other Sessions? we have the following settings:
Version : 3.60 SQL Option
Database Size : About 46GB
Observation:
Client Session 1 tries to Post a Sales Invoice.
Other Client Sessions are Prevented from making modifications to Sales Documents (Header and Lines). E.g Adding Dimensions, Adding Sales Lines. Also, Other Clients are prevented from posting Sales Invoices. In fact, other attempts to Post Sales Documents results in the Client Session Freezing until the Session 1 has finished Posting.
After Checking CodeUnit 80, what I saw as possible causes are the COMMITs and the LOCKTABLEs.
Questions:
What could be Done to Improve on the Speed of the Posting Process?
Is it Normal that Other Client Sessions are Frozen Whenever they tried Posting Sales Documents Simultaeneously?
Could someone tell what could be done to Speedup the system's Posting routine and Prevent Freezing other Sessions? we have the following settings:
Version : 3.60 SQL Option
Database Size : About 46GB
Observation:
Client Session 1 tries to Post a Sales Invoice.
Other Client Sessions are Prevented from making modifications to Sales Documents (Header and Lines). E.g Adding Dimensions, Adding Sales Lines. Also, Other Clients are prevented from posting Sales Invoices. In fact, other attempts to Post Sales Documents results in the Client Session Freezing until the Session 1 has finished Posting.
After Checking CodeUnit 80, what I saw as possible causes are the COMMITs and the LOCKTABLEs.
Questions:
What could be Done to Improve on the Speed of the Posting Process?
Is it Normal that Other Client Sessions are Frozen Whenever they tried Posting Sales Documents Simultaeneously?
Sunday, Godwin G
0
Comments
-
Navision during the posting routines makes many tables locks. Newer versions of Navision client have a better optimization of SQL table locking.
During the post Navision will lock the several item ledger entries. If the records are locked no one else can post.
ERP are optimized to reading and create analysis, because most users take most of if time reading and making reports.0 -
Locking and blocking are a fact of life with multi-user systems. The goal is not to eliminate them, but to reduce their duration. Don't guess your way through performance issues. Use the tools available and focus on the problem areas. The Client Monitor & Code Coverage can be useful here along with those available in the "Performance Troubleshooting Guide".
One area that I found can impact posting is the updating of unneeded SiftIndexes. In recent testing (DB: 3.60 SQL ~120GB, 4.03 Clients) turning off a number of SiftIndexes reduced Sales Order posting times by better than 50%. This resulted in a sizable reduction in blocking experienced by other users.There are no bugs - only undocumented features.0 -
bbrown wrote:One area that I found can impact posting is the updating of unneeded SiftIndexes. In recent testing (DB: 3.60 SQL ~120GB, 4.03 Clients) turning off a number of SiftIndexes reduced Sales Order posting times by better than 50%. This resulted in a sizable reduction in blocking experienced by other users.Regards,Alain Krikilion
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!0 -
Thanks Guys,
we are currently cheking the Keys to see if this could be Cleaned up.
Hopefully, the Database Performance will be improved after the unused keys have been Disabled.
Which of this two options will be better (that will result in better Database performance) ?
1. Delete Unused Keys
2. Disable Unused KeysSunday, Godwin G0 -
sgg wrote:Thanks Guys,
we are currently cheking the Keys to see if this could be Cleaned up.
Hopefully, the Database Performance will be improved after the unused keys have been Disabled.
Which of this two options will be better (that will result in better Database performance) ?
1. Delete Unused Keys
2. Disable Unused Keys
Hi!
When using SQL option, then the major issiue are SIFT keys. these are the ones that slows the system down, becouse thy are not support as they are in native database. Disable SIFT key, not the keys itself. It takes some more time to do CALCFIELDS and SUM, but inserting and modifying takes less time, so posting is faster.
"MaintainSIFTIndex" is the property in key wich handles this thing.
C&P from Navision Help:
******************************************************
MaintainSIFTIndex
Applies to
Keys
This property determines whether SIFT structures should be created (when set to Yes) or dropped (when set to No) in SQL Server to support the corresponding SumIndexFields for the Navision key.
SumIndexFields are created in Navision to support, for example, FlowField calculations and other fast summing operations. SQL Server can sum numeric data by scanning the table. If the SIFT structures exist for the SumIndexFields, summing the fields will be faster, especially for large sets of records, but modifications to the table will be slower since the SIFT structures must also be maintained.
In situations where SumIndexFields must be created on a key to allow FlowField calculations, but the calculations are performed infrequently or on small sets of data, you can disable this property to prevent slow modifications to the table.0 -
Don't delete or disable keys. Just disable their MaintainSQLndex property. This requires some testing and experimenting to achieve the right balance between read and write performance.There are no bugs - only undocumented features.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