Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics AX (Archived)

Dynamics Ax - Identifying Blocks/Locks

(0) ShareShare
ReportReport
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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Verified Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,445 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans