admin stats_config_connection

Description

Controls flushing of metrics to the RSSD for connections.

Syntax

admin stats_config_connection, { data_server, database | all_connections } , 
	{module | all_modules } , [ ‘inbound’ | ‘outbound’ ] {‘on’ | ‘off’ }

Parameters

data_server, database

The name of the data server and database to which the connection is made. Identifies the connection.

all_connections

All connections from the current Replication Server.

module

The name of a module: cm, dist, dsi, repagent, sgm, or sqt.

all_modules

All modules: dCM, DIST, DSI, REPAGENT, SQM, and SQT.

inbound | outbound

Identifies the SQM or SQT threads as inbound or outbound.

on | off

Specifies whether flushing has been turned on or off for the connection and modules.

Examples

Example 1

Enables flushing for all connection/module combinations. This command does not generate output.

admin stats_config_connection, all_connections,
    all_modules, 'on'

Usage

To enable flushing for several but not all modules and several but not all connections, it may be more efficient to turn flushing on for all modules and all connections and then turn off those modules or connections for which you do not want flushing.

Permissions

Any user can execute this command.