SHOW CONFIGURATION
The SHOW CONFIGURATION command displays a summary and status of the broker configuration.
The summary lists all members included in the broker configuration and other information pertaining to the broker configuration itself, including the fast-start failover status and the transport lag and apply lag of all standby databases.
Format
SHOW CONFIGURATION [ LAG ] [ VERBOSE ];
SHOW CONFIGURATION <property_name>;
Command Parameters
- property_name
-
The name of the property for which you want to display summary information.
See Oracle Data Guard Broker Properties for complete information about properties.
- verbose
- This command parameter is used to force an immediate health evaluation of the configuration before the health information is shown. It also displays all configuration properties and their values.
Usage Notes
- The
lagcommand option displays the following information about the broker configuration:- transport lag and apply lag for every standby database
- transport lag for every far sync instance
- neither transport nor apply lag is displayed for a Recovery Appliance
-
Use the
SHOW CONFIGURATION VERBOSEcommand (or theSHOW FAST_START FAILOVERcommand) to show the properties related to fast-start failover. -
You can optionally specify either
VERBOSEorproperty_name, but not both. -
The
SHOWCONFIGURATIONcommand displays the status of the configuration and its members as of the last time the health was evaluated. (The health of the configuration and its members is evaluated once a minute.)Specifying the
VERBOSEkeyword forces an immediate health evaluation of the configuration and its members before the health information is displayed. -
During a rolling upgrade done using the PL/SQL package
DBMS_ROLLING, theSHOW CONFIGURATIONcommand showsTransient logical standby databaseas the role of the upgrade target, andROLLING DATABASE MAINTENANCE IN PROGRESSas the configuration status. See Example 3. -
The display highlights the current fast-start failover target with an asterisk (*) when fast-start failover is enabled
Command Examples
Example 1: Showing a Summary of the DRSolution Configuration
The following example provides a summary of the DRSolution configuration for which fast-start failover is disabled. The output shows a far sync instance named FS in the broker configuration. The North_Sales database is shipping to FS, and FS is shipping to South_Sales.
DGMGRL> SHOW CONFIGURATION;
Configuration - DRSolution
Protection Mode: MaxAvailability
Members:
North_Sales - Primary database
FS- Far sync instance
South_Sales- Physical standby database
Fast-Start Failover: DISABLED
Configuration Status:
SUCCESS (status updated 20 seconds ago)Example 2: Showing Detailed Description of the DRSolution Configuration
The following example provides detailed information about the DRSolution configuration, including configuration properties, and fast-start failover-related information:
DGMGRL> SHOW CONFIGURATION VERBOSE;
Configuration - DRSolution
Protection Mode: MaxAvailability
Members:
North_Sales - Primary database
FS- Far sync instance
South_Sales- (*) Physical standby database
(*) Fast-Start Failover target
Properties:
FastStartFailoverThreshold = '30'
OperationTimeout = '30'
TraceLevel = 'USER'
FastStartFailoverLagLimit = '30'
CommunicationTimeout = '180'
ObserverReconnect = '0'
FastStartFailoverAutoReinstate = 'TRUE'
FastStartFailoverPmyShutdown = 'TRUE'
BystandersFollowRoleChange = 'ALL'
ObserverOverride = 'FALSE'
ExternalDestination1 = ''
ExternalDestination2 = ''
PrimaryLostWriteAction = 'CONTINUE'
ConfigurationWideServiceName = 'North_Sales_CFG'
Fast-Start Failover: Enabled in Zero Data Loss Mode
Lag Limit: 0 seconds
Threshold: 30 seconds
Active Target: South_Sales
Potential Targets: “South_Sales”
South_Sales valid
Observer: observer.example.com
Shutdown Primary: TRUE
Auto-reinstate: TRUE
Observer Reconnect: (none)
Observer Override: FALSE
Configuration Status:
WARNINGExample 3: Sample Output During a Rolling Upgrade Performed with the DBMS_ROLLING Package
Configuration - DRSolution
Protection Mode: MaxPerformance
Members:
North_Sales - Primary database
South_Sales - Transient logical standby database
Fast-Start Failover: DISABLED
Configuration Status:
ROLLING DATABASE MAINTENANCE IN PROGRESS
Example 4: Showing Detailed Transport and Apply Lag Information
DGMGRL> SHOW CONFIGURATION LAG VERBOSE ;
Configuration - The SUPER cluster
Protection Mode: MaxPerformance
Members:
dgb6 - Primary database
dgb6c - Physical standby database
Transport Lag: 0 seconds (computed 1 second ago)
Apply Lag: 0 seconds (computed 1 second ago)
dgb6e - Far sync instance
Transport Lag: 0 seconds (computed 1 second ago)
dgb6b - Snapshot standby database
Transport Lag: 48 seconds (computed 2 seconds ago)
Apply Lag: 53 seconds (computed 1 second ago)
dgb6d - Logical standby database
Transport Lag: 0 seconds (computed 1 second ago)
Apply Lag: 0 seconds (computed 1 second ago)
Properties:
FastStartFailoverThreshold = '180'
OperationTimeout = '30'
TraceLevel = 'USER'
FastStartFailoverLagLimit = '300'
CommunicationTimeout = '180'
ObserverReconnect = '0'
FastStartFailoverAutoReinstate = 'TRUE'
FastStartFailoverPmyShutdown = 'TRUE'
BystandersFollowRoleChange = 'ALL'
ObserverOverride = 'FALSE'
ExternalDestination1 = ''
ExternalDestination2 = ''
PrimaryLostWriteAction = 'CONTINUE'
ConfigurationWideServiceName = 'b6_CFG'
Fast-Start Failover: DISABLED