Table Locking

hugoisti
Member Posts: 26
Hello, I'm having a table locking problem. I have a job witch runs every 15 minutes and post orders. Navision Users reports about table locking while they are working with order management.
is there any solution to this problem?, is this normal?.
thanks. best regards
Hugo
is there any solution to this problem?, is this normal?.
thanks. best regards
Hugo
0
Comments
-
-
NAV DB0
-
Ok.
1) You need to make the posting as fast as possible - it means check the hardware, mainly the HDDs
2) You need to post the orders one by one in separate transactions with some small delay between (sleep) to let others do what they need...0 -
ok, thank you very much.
Hugo0 -
Also check if the commit-cache is enabled.Regards,Alain Krikilion
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!0 -
Thank you for the help, another thing, what if we start using SQL Server Option for Navision?, how could I prevent the locking issue?. thank in advance.
Hugo0 -
hugoisti wrote:Thank you for the help, another thing, what if we start using SQL Server Option for Navision?, how could I prevent the locking issue?. thank in advance.
Hugo
You cannot prevent locking (or you can but in most cases the locking have some purpose...), you can just optimize the system to have the locks as short period as possible which leads into situation that users do not know that there were some locking... :-) (e.g. when posting one order took just 2sec, nobody will register that his process waited 2 seconds because locking...)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