on 06-08-2017 3:02 AM
Another Basis admin told me today that every batch job consumes at least one dialog instance and that you must always have at least one dialog process for every batch process. I always thought these were separate and unique processes and they was no relationship between the two. Which is true?
Timothy,
It's not a hard-and-fast rule, but it's a best practice recommendation. Many times a job running in a batch process may not need any additional work processes, but frequently batch processes will temporarily spawn other processes. This could be for generation of a needed program, for instance, or because the batch process is capable of running multi-threaded. When this happens, these child processes always occur as dialog (DIA) processes, not BTC processes.
So, the general recommendation is to have at least one DIA process on the instance for every BTC process. Furthermore, it's not a bad idea to have one DIA process for each of all other kinds of BTC processes; in other words, DIA processes should generally make up at least half of all the processes on the instance.
For an example of this in action that you can see for yourself, try running SGEN on a test server. While it's running, observe the processes in SM50. Typically, you'll see the one BTC process running the main program for SGEN, and anywhere from one to eight (or more -- this is configurable) DIA processes doing the actual program generation.
Cheers,
Matt
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks - I understand the various processes in SAP. I want to know if there is a one-to-one relationship between the dialog processes and the batch processes. For every batch process does the system require a dialog processes. In your screen shot you have 3 batch and 10 dialog. Could you have 10 batch and 3 dialog? Do batch processes require a dialog instance to get work done - or - does can a batch process perform work without using a dialog instance?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
82 | |
10 | |
10 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.