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

Announcements

News and Announcements icon
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,429 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,429 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,429 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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the April Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Giorgio Bonacorsi Profile Picture

Giorgio Bonacorsi 587

#2
Abhilash Warrier Profile Picture

Abhilash Warrier 552 Super User 2026 Season 1

#3
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 542 Super User 2026 Season 1

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans