The QBMDBQueueSlot table is responsible for communication of the central dispatcher with individual slots. The maximum number of slots available is determined during initializing of the DBQueue Processor. One entry per slot is created in the QBMDBQueueSlot table. The table contains information about each slot and its status as well as currently running tasks.
Status | Meaning |
---|---|
0 |
No activity required. Initial state (set by initializing) or end state (set by process). |
1 |
The process is triggered to prepared central temporary tables, for example. |
2 |
Ready for operation. The process has started but the currently no tasks exist. This is the state in which tasks can be queued. |
3 |
Transfer to the QBMDBQueueCurrent table. The process has received tasks for processing and needs to begin. |
4 |
The process has recognized the tasks and added them. |
5 |
The process is handling the tasks. |
-1 |
The process was prompted to quit. Stop behavior if the process timed out or errors occurred. |
Stop behavior by maximum timeout
Once the maximum runtime has expired, the tasks of slots in the QBMDBQueueCurrent table currently in use are still processed. No new tasks are added from the QBMDBQueue table. In the QBMDBQueueSlot table, all slots with a slot status 2 are set to the -1 status. This prompts the processes to finish and stop themselves. The central dispatcher checks whether all processes have completed.