Support for import of planning data from M3 in parallel
The SCV M3 Import program now supports importing of planning data from M3 in parallel using multiple threads.
This new SCV configuration parameter is used to control the number of threads used by the import program:
- SCP_MAX_NUMBER_PARALLEL_THREADS
The default value for this parameter is 1. If the parameter value is set more than 1, importing planning data is enabled from M3 in parallel. This is used to execute one M3 API in parallel and import multiple records at a time.
The same configuration parameter is also used to control the number of threads used by the SCV M3 Export program to enable exporting plan results to M3 in parallel.
When used together, the number of parallel calls to M3 APIs is SCP_MAX_NUMBER_PARALLEL_TASKS x SCP_MAX_NUMBER_PARALLEL_THREADS. Therefore, caution is required when setting a new value to these parameters; a large number of parallel calls may cause performance degradation. The parameter values must be a balance between the number of threads and batch size.