Flushing for multithreaded modules

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.

Connections

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:

Routes

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.

Note 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.