Database locks across instances (NAV 2017)

Matt_Kirby76
Member Posts: 1
Hi!
I would like to preventively observe and hold long table locks for analysis. In addition, I would like to consider an external monitoring solution in case processes lock tables for a long time.
I can see from my own error log when a process is aborted due to a table lock. Then I would like to check for a certain time at intervals of one minute, for example, whether the original table lock has been released. If the table is still not released after n checks, then I want to send a warning to a monitoring solution.
First of all, the Page Database Locks was the right choice for this. I can write out table locks via table 2000000154 and monitor them for a while. A lock can be easily identified via the Transaction ID field. However, we work with a web service that is connected to a shop solution and most problems with table locks occur between the NAV client instance and the web service instance. However, I only get locks from my own instance via table 2000000154. On the client instance, I don't see whether the web service instance is locking a table. Or any process on other NAS instances.
Does anyone know of a way I can get the same data that table 2000000154 gives me across instances?
I would like to preventively observe and hold long table locks for analysis. In addition, I would like to consider an external monitoring solution in case processes lock tables for a long time.
I can see from my own error log when a process is aborted due to a table lock. Then I would like to check for a certain time at intervals of one minute, for example, whether the original table lock has been released. If the table is still not released after n checks, then I want to send a warning to a monitoring solution.
First of all, the Page Database Locks was the right choice for this. I can write out table locks via table 2000000154 and monitor them for a while. A lock can be easily identified via the Transaction ID field. However, we work with a web service that is connected to a shop solution and most problems with table locks occur between the NAV client instance and the web service instance. However, I only get locks from my own instance via table 2000000154. On the client instance, I don't see whether the web service instance is locking a table. Or any process on other NAS instances.
Does anyone know of a way I can get the same data that table 2000000154 gives me across instances?
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