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 :
Finance | Project Operations, Human Resources, ...
Suggested Answer

Batch job is executing slower in the batch mode than in the manual mode

(0) ShareShare
ReportReport
Posted on by 15

We have the custom batch job that runs slower in the batch mode than not in the batch mode. Also somehow the process (only in batch mode) hangs in different find\exists methods (each run - different method) for a few minutes, and then continues with execution.

From the screenshots you can see that it was 13889 calls of the InventTable::find method, and just one of the call took all the time. Thank you for your help in advance!Screenshot-2021_2D00_01_2D00_28-at-20.38.13.png

Screenshot-2021_2D00_01_2D00_28-at-20.38.34.png

I have the same question (0)
  • Suggested answer
    Gunjan Bhattachayya Profile Picture
    35,423 on at

    Hi Bohdan,

    We had the same issue with one of our clients recently. The issue turned out to be with CIL. You can try to force a CIL re-generation following the steps provided in this post.

  • Bohdan Bilous Profile Picture
    15 on at

    Hi Gunjan! Thank you for your response! Unfortunately Full CIL didn't help.

  • Gunjan Bhattachayya Profile Picture
    35,423 on at

    Hi Bohdan,

    Did you delete the contents of the XPPIL folder and do a full CIL?

  • Bohdan Bilous Profile Picture
    15 on at

    Yes, we do this every night

  • Gunjan Bhattachayya Profile Picture
    35,423 on at

    How many AOS servers do you have in place?

  • Bohdan Bilous Profile Picture
    15 on at

    Just 1 AOS

  • Bohdan Bilous Profile Picture
    15 on at

    Also want to add that there is no issues or locks in the database. For me it looks like the system trying to get the record from the cache (in the find\exists method) but it hangs somehow. But then the question is why it's not happening not in the batch mode.

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 > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Martin Dráb Profile Picture

Martin Dráb 646 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 529 Super User 2025 Season 2

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 285 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans