web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

Number sequence database blocking

(0) ShareShare
ReportReport
Posted on by

Dear All,

From few weeks back, we experience a system slowness and also when checking the database we get a database blocking code as follows.

This is related to number sequence table.

SELECT TOP 1 A.NUMBERSEQUENCE, A.TXT, A.LATESTCLEANDATETIME, A.LATESTCLEANDATETIMETZID, A.LOWEST, A.HIGHEST, A.NEXTREC, A.BLOCKED, A.FORMAT, A.CONTINUOUS, A.CYCLIC, A.CLEANATACCESS, A.INUSE, A.NOINCREMENT, A.CLEANINTERVAL, A.DEL_LATESTCLEANDATE, A.DEL_LATESTCLEANTIME, A.ALLOWCHANGEUP, A.ALLOWCHANGEDOWN, A.MANUAL, A.FETCHAHEADQTY, A.FETCHAHEAD, A.MODIFIEDTRANSACTIONID, A.RECVERSION, A.RECID

FROM NUMBERSEQUENCETABLE A WITH ( UPDLOCK) WHERE ((DATAAREAID=@P1) AND (NUMBERSEQUENCE=@P2)) )

 

Can anyone please guide me how can I identify the issue and how to solve these blocking and slowness.

 

Thanks in advance.

Indrachapa.

*This post is locked for comments

I have the same question (0)
  • Verified answer
    Tommy Skaue Profile Picture
    Moderator on at

    I would strongly recommend going through the list of numbersequences and disable "Continuous" on all that does not have this strict business requirement. More often, users think the number sequences MUST be Continuous, while it isn't necessarily so. Any continuous numbersequence can cause degraded performance if not used correctly.

    One clue to what numbersequences are being used the wrong way is to have a look at the table NumberSequenceList grouped by numbersequence. This list contains numbers in use and those waiting to be used in a continuous numbersequence.

  • Community Member Profile Picture
    on at

    Thanks Tommy. I will use your clue to check the issue. Also currently we have more than 180 continuous number sequences per company.

  • Suggested answer
    Samadhi006 Profile Picture
    35 on at

    Hi,

    it is also possible that the number sequence ran out of numbers.
    You Need to check the number sequences if the next number is higher than the next number.

    Best regads,

    Petra

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Martin Dráb Profile Picture

Martin Dráb 4 Most Valuable Professional

#1
Priya_K Profile Picture

Priya_K 4

#3
MyDynamicsNAV Profile Picture

MyDynamicsNAV 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans