Views:

Applies to Product - Dynamics 365 Supply Chain Management


What’s happening?
The system is taking an excessive amount of time to load bulk data, specifically when importing a large number of records (e.g., 75000+ release products) into a new legal entity.
 

Reason:
The slow performance during the data import process is primarily due to the configuration of the import job, specifically the use of a single batch thread for the import. Additionally, transient database connection issues may occur during the import process.
 

Resolution:

  1. Optimize Thread Configuration:
  2. Configure multiple threads for the data import process to enhance performance. Follow the guidelines provided in the documentation for optimizing data migration for finance and operations apps.
  3. Clear Previous Imports:
  4. If there are issues with previously imported data, clear the imported data in the staging table and the relevant entities before re-importing.
  5. To clear the imported data, write a runnable class as per the instructions in the documentation for running custom X++ scripts with zero downtime.
  6. Re-import Data:
  7. After clearing the previous imports, re-import the data and monitor the performance to ensure that the changes have improved the import speed.
  8. Monitor for Errors:
  9. Keep an eye on any transient database connection errors that may arise during the import process. Transient errors will be retried automatically.