Batch Insert Mode - SuperCHANNEL
SuperCHANNEL has two modes it can use to insert records from the source database into the target:
Batch mode - records are inserted in groups.
Classic mode - records are inserted one at a time.
Batch mode is more efficient, but will only be used if the source database meets certain criteria. If SuperCHANNEL is unable to use batch mode, it will automatically revert to classic mode.
Wherever possible, you should design your source or staging database so that batch insertion will be possible.
Batch Mode Feature Support
SuperCHANNEL batch mode currently only supports a subset of SXV4 features:
Supported by Batch Mode... | Not Supported... |
---|---|
|
|
Configure Batch Mode
Batch mode is enabled by default and will be used automatically if the source database meets the above criteria. However, you can disable batch mode by editing config.txt, the SuperCHANNEL configuration file (by default, this file is located in C:\ProgramData\STR\SuperCHANNEL\bin).
The parameter
str.usebatch
controls whether batch mode is available. By default it is set totrue
(SuperCHANNEL will use batch mode if possible), but you can change it tofalse
to turn off batch mode regardless of whether the source database supports it:CODEstr.usebatch=false
The parameter
str.cleansing.printerrors
controls whether or not messages about cleansing actions are output to the logs when using batch mode. By default, this parameter is set totrue
(SuperCHANNEL will output messages about cleansing actions), but you can turn off these messages by changing the value tofalse
:CODEstr.cleansing.printerrors=false