Record locking using native database

jnyeholt
Member Posts: 6
We are new to Navision, using version 3.7. One problem we have occurs very often, and that is people getting locked out of screens. It says at the bottom who has the record locked.
Has anybody experienced this, and how did you handle it?
Thanks,
Jim Nyeholt
Stenograph LLC
Has anybody experienced this, and how did you handle it?
Thanks,
Jim Nyeholt
Stenograph LLC
0
Comments
-
1. If you are using Native DB, there is no Recordlocking, but only table locking
2. To have less locking you must make all for speed of the transactions - no confirms after insert or modify in one transaction, using right keys when filtering records, make the database as fast as possible (divide it into more files on more physical disks without RAID 5, have enough RAM on all PC, set cache on database server etc.)
3. In some cases it is good to disable some things which are not used. For example when you are not using the comments on documents, you can rem the section which are locking this table and making the semaphore from it... etc.0 -
It could be very usefull to delay posting actions.
Try to find a way to post documents in batch ones or twice a day. During lunch or maybe at night. You could use the NAS for that.
This should help cut your table locking quite a lot.
If customisations are creating these table locking problems, you should check your code. Try to find a way to ut back the time your code is locking tables.
Don't run batches (reports) that do a lot of record mutations when other people are working.
Search the forum, there should be tons of stuff about this problem."Real programmers don't comment their code.
If it was hard to write, it should be hard to understand."0 -
and thanks for the correction in terminology - I did mean table locking, not record locking.
I will look into the the suggestions.
Jim0
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