mibuso.com

Microsoft Business Solutions online community
It is currently Thu May 23, 2013 9:27 pm

All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: Locking Error
PostPosted: Sat Apr 14, 2012 8:06 am 
Offline

Joined: Sat Apr 14, 2012 7:58 am
Posts: 17
Country: India (in)
Hi Everyone,

We are running on NAV 2009 and users work from near about 9 locations. We have a customization(Load IN/OUT) which practically posts a transfer order and sales invoice in the backend. any time of the day there will be 70 users working on the system and atleast 30 users always posts the (LOAD IN/OUT) transactions. It works very smooth but now and then we see the Locking error in the system. ](*,) (The abc table is locked by another user.......). Please share me your ideas on how to over come this issue and what are all the possibilities of this occurence.

Thanks and Regards.

_________________
Cheers,
Prashanth.


Top
 Profile E-mail  
 
 Post subject: Re: Locking Error
PostPosted: Sat Apr 14, 2012 10:54 am 
Offline
Moderator
MVP Microsoft Dynamics NAV
NAV TechDays 2013 attendee

Joined: Wed Jul 02, 2003 10:13 am
Posts: 7501
Location: Milan
Country: Italy (it)
First question:native of SQL DB?

_________________
Regards,Alain Krikilion
Use the SEARCH,Luke! || No PM,please use the forum. || May the <SOLVED>-attribute be in your title! || Read Forum Rules before making a posting


Top
 Profile  
 
 Post subject: Re: Locking Error
PostPosted: Sat Apr 14, 2012 11:06 am 
Offline

Joined: Sat Apr 14, 2012 7:58 am
Posts: 17
Country: India (in)
Hi Kriki...

Here are few specifications.

Database : SQL (2008)
RAM : 18GB
HD : 700GB

_________________
Cheers,
Prashanth.


Top
 Profile E-mail  
 
 Post subject: Re: Locking Error
PostPosted: Sun Apr 15, 2012 9:04 pm 
Offline
Moderator
MVP Microsoft Dynamics NAV
NAV TechDays 2013 attendee

Joined: Wed Jul 02, 2003 10:13 am
Posts: 7501
Location: Milan
Country: Italy (it)
-Classic or RTC?

A few things you can do:
-Make sure your transactions are as fast as possible. So have a good maintenance plan for your DB (rebuilding indexes).
-Make sure you don't have RAID5 (especially for the transactionlog file).
-Dedicate a disk (RAID1) for the transactionlog. Nothing else may be on that disk
-You have a lot of memory, so you can use "Rowlocks"=Yes (File=>Database=>Alter=> Tab Advanced). You can also increase the Lock timeout duration from the standard 10 seconds to 30 seconds (or even more).
-Your users must work on fast computers because it are the client-computers that do all the processing.
-Make sure your network is fast enough.
-You can do some index/SIFT tuning so the writing is faster.


Something you can't do a lot about it:
-If you have 10 users that post at the same second, they posting will be handled serially by NAV. So the only thing you can do about this is speed up the process as much as possible.

_________________
Regards,Alain Krikilion
Use the SEARCH,Luke! || No PM,please use the forum. || May the <SOLVED>-attribute be in your title! || Read Forum Rules before making a posting


Top
 Profile  
 
 Post subject: Re: Locking Error
PostPosted: Mon Apr 16, 2012 8:00 am 
Offline

Joined: Sat Apr 14, 2012 7:58 am
Posts: 17
Country: India (in)
yeah we are on Classic also we have a dedicated disk for transaction log file(RAID1). Few points in your post are being implemented here and I will also try rest of the points are covered and then lets hope for the best.

Thanks for the valuable points.

.

_________________
Cheers,
Prashanth.


Top
 Profile E-mail  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: Google [Bot] and 8 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum


Search for:
Jump to: