DrainTimeout

The DrainTimeout configuration property specifies the time to wait for sessions to drain before a switchover.

Category Description

Broker default

0 seconds

Configuration Type

Data Guard only

Datatype

Integer

Property Type

Configurable

Scope

Broker configuration. This property will be consumed by broker on all databases in the configuration

Valid Role

Primary and standby

Valid value

CONFIGURED, or integer values >= 0

The DrainTimeout configuration property specifies the number of seconds you want to wait for sessions to drain before the broker proceeds with switchover, including switchovers performed as part of a database rolling upgrade using DBMS_ROLLING.

Usage Notes:
A value of zero indicates that you do not want to wait for sessions to drain before a switchover operation.
A value of CONFIGURED indicates that you want to use the Clusterware configured drain time for the database services.
This property replaces the value specified for the WAIT option of SWITCHOVER because that option has been deprecated in 26ai.
Note that if the WAIT option is specified for a SWITCHOVER command, the specified wait value will override the value specified for the DrainTimeout property.