Locking problems

ironluc
Member Posts: 11
I have some locking problems with a NAV 5 database. A lot of Clients (about 40 to 60) and 5 NAS are connected to the database. Since few days from time to time the users can not work because the table "Sales Shipment Header" is locked (sometimes other tables also affected but most of the time it is table 110). The fastest way to remove the locking is to delete all sessions.
I am still not able to identify which session causes the locking. I used some reports of the SSMS, but they did not helped me.
What can I do?
I am still not able to identify which session causes the locking. I used some reports of the SSMS, but they did not helped me.
What can I do?
0
Comments
-
That's odd. Using SQL server a deadlock should never occur unless someone layed hands on the table and "modified" something. You can always see the deadlock in the activity monitor in SSMS.0
-
An easy way to find out who is locking who is to run the database sessions (File=>DataBase=>Information=>Tab sessions=>click on the "Current sessions" to show the form.
It shows who is blocking who. But if you want also the resource that is blocked, you need to use sql server profiler. But at least you have an easy start to see who is blocking who.Regards,Alain Krikilion
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!0 -
This the same problem that i am also facing with my sql . So plz provide me the solution for thies problem.0
-
Check out this one:
http://dynamicsuser.net/blogs/stryk/archive/tags/Locking/default.aspx
I hope this could help you to identify the blocking and deadlocking issues.
Cheers,
JörgJörg A. Stryk (MVP - Dynamics NAV)
NAV/SQL Performance Optimization & Troubleshooting
STRYK System Improvement
The Blog - The Book - The Tool0
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