admin show_connections

Displays information about all connections from the Replication Server to data servers and to other Replication Servers.

Syntax

admin show_connections[, 'primary' | 'replicate' | 'logical']

Parameters

Examples

Usage

  • This command displays information about default and alternate database connections and routes from the current Replication Server.

  • Column descriptions for admin show_connections output table describes the output from this command.

Column Descriptions for admin show_connections Output

Column

Description

Connection Name

The name of default, and alternate primary or replicate connections originating from this Replication Server

Server

The name of the data server or Replication Server to which this Replication Server is connected

User

The login name for this client

Database

The name of the database to which this Replication Server is connected (null for routes)

State

The state of this connection

Owner

Indicates the owner of the thread. One of these:

DSI – Data Server Interface (to a database)

RSI – Replication Server Interface (to a Replication Server)

Spid

Unique identifier for this thread

connection state

One of these values:

  • active – the connection is being used

  • already_faded_out – the connection is owned and closed

  • being_faded_out – the connection is owned and is being closed

  • closed – closed connections are not owned by any threads

  • connecting – connecting to a server

  • free – the connection is open and not owned by anyone

  • idle – the connection is owned but is not used

  • limbo – connection handles are in a state transition

  • total – the total number of connections

number

The number of connections of this type

comments

A description of the connection state field

Permissions

Any user may execute this command.

Related reference
alter connection
alter logical connection
alter route
create connection
create logical connection
create route
drop connection
drop logical connection
drop route
resume connection
suspend connection