33.1.2 Relationships among threads used by the adbmergechunk command
The adbmergechunk command uses processing real threads in the following processing:
-
Retrieving and merging table data and creating range indexes
One or more processing real threads are used.
-
Creating temporary work files
One or more processing real threads are used.
-
Sorting records of B-tree and text indexes
One or more processing real threads are used.
-
Creating B-tree and text indexes
One or more processing real threads are used.
-
Deleting merge-source chunks
One or more processing real threads are used.
-
Outputting the progress of command processing
One processing real thread is used.
Steps 1 and 2 are performed at the same time. Then steps 3 to 5 are performed in sequence. Step 6 is always performed while steps 1 to 5 are in progress.
The following two figures show the processing of the adbmergechunk command using processing real threads. The preceding numbers correspond to the numbers in the figure.
The number of processing real threads used by the adbmergechunk command for each step is automatically calculated from the number of processing real threads to be used by the adbmergechunk command. For details about the number of processing real threads to be used by the adbmergechunk command, see the description of the merge chunk option adb_mergechunk_rthd_num in (2) Explanation of specification format in 33.2.2 Format of merge chunk options.