admin logical_status

Displays status information for logical connections.

Syntax

admin logical_status [, logical_ds, logical_db]

Parameters

Examples

Usage

  • Use admin logical_status to find the status of logical connections for an active database and a standby database in a warm standby application.

  • If you do not specify logical_ds and logical_db, admin logical_status displays information about all logical connections controlled by this Replication Server.

  • Column descriptions for admin logical_status output table describes the output columns.

Column descriptions for admin logical_status output

Column

Description

Logical Connection Name

The DBID (database ID) for the logical connection and the logical data server and database names.

Active Connection Name

The DBID, the data server, and the database name for the current active database.

Active Connection State

A description of the status of the active connection. Can be active, suspended, or suspended by error.

Standby Connection Name

The DBID, the data server, and the database name for the current standby database.

Standby Connection State

A description of the status of the standby connection. Can be active, suspended, suspended by error, or waiting for marker.

Controller RS

The RSID (Replication Server ID) and name of the Replication Server that manages the logical, active, and standby databases.

Operation in Progress

A description of the operation in progress. Can be None, Switch Active, or Create Standby.

State of Operation in Progress

The current step in the operation.

Spid

The process ID for the server thread that is executing the operation.

Permissions

Any user may execute this command.

Related reference
abort switch
admin sqm_readers
admin who
create connection
create logical connection
switch active
wait for create standby
wait for switch