Skip to main content

Notifications

Microsoft Dynamics AX (Archived)

Dynamics Ax - Identifying Blocks/Locks

Posted on by 120

Hi

 

I am looking forward to implement an automatic email notification process, when such a large BLOCK(S)>>LOCK(S) happens in our Dynamics AX production system.

Also I understand that we should get notified only when the block(s) lasts for long period, not for the REGULAR blocks.

I believe following are the options we have,

· Stored procedure : SP_WHO2 - stored procedure

· SQL Stamtent : SELECT * FROM master..sysprocesses WHERE blocked <> 0

· DynamicsPERF Database (MS Tool) Jobs :

§ DYNPERF_Log_Blocks_Option1_Tracing_Start
§ DYNPERF_Log_Blocks_Option1_Tracing_Stop
§ DYNPERF_Log_Blocks_Option2_Polling
§ DYNPERF_Purge_Blocks

 

My questions are
1) Is there any way we can use DynamicsPERF database tool to alert us proactively if any locks/blocks occurs?
2)  Should I need to write my own stored procedure / job by using the above mentioned SQL query

Either way Could someone please assist us in this regard?

 

Thanks

Jaffar

 

*This post is locked for comments

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Dynamics Ax - Identifying Blocks/Locks

    This is a great question, apparently left unanswered by MS.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Complete!

🔔 Be sure to subscribe to the new forums you are interested in to stay up to date! 🔔

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,134 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 229,928 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans