nosql.asyncMaxThreadCount property
Sets the maximum number of asynchronous threads. The threads are used to process
WriteConcern.NONE
and WriteConcern.NORMAL
inserts, in which case
inserts are queued, batched, and inserted with less frequent commits drastically increasing speed,
but also increasing transaction log space requirements on Db2® server
side.
If there are too many threads, each thread has less data to consolidate. If there are too few threads, they become a bottleneck in a system that can otherwise move more data.
The nosql.connPoolSize property limits the number of threads that you can use because each thread needs a connection to work with. If there are not enough connections, some threads wait until one becomes available, and that decreases performance.
Default
10
Example
Set the asynchronous maximum thread
count to 10:
nosql.asyncMaxThreadCount=10