The number of threads for a multithreaded module depends on the number of connections and routes Replication Server manages. You can configure flushing for individual threads or groups of threads.
Use the admin stats_config_connection command to enable flushing for threads related to connections. The syntax is:
admin stats_config_connection, { data_server, database | all_connections }, { module_name | all_modules }, [ 'inbound' | 'outbound' ], { ’on’ | ’off’ }
Keyword and parameter descriptions are:
data_server is the name of a data server.
database is the name of a database.
all_connections specifies all database connections.
module_name is dist, dsi, repagent, sqm, or sqt.
all_modules specifies the DIST, DSI, REPAGENT, SQM, and SQT modules.
inbound | outbound identifies SQM or SQT for an inbound or outbound queue.
You can use the admin stats_config_route command to save statistics gathered on routes for the SQM or RSI modules. The syntax is:
admin stats_config_route,{ rep_server | all_routes },{ module_name | all_modules }, {'on'|'off'}
where rep_server is the name of the remote Replication Server, all_routes specifies all routes from the current Replication Server, and module_name is sqm or rsi.
If you configure flushing for a thread, Replication
Server also turns on flushing for the module. This does not turn
on flushing for existing threads of that module, but all threads
will have flushing turned on.