A blocking command that allows a client session in the Replication
Server to wait for the switch to the new active database to complete.
Syntax
wait for switch
for logical_ds.logical_db
Parameters
- logical_ds – The data server name for the logical connection.
- logical_db – The database name for the logical connection.
Usage
After the switch
active operation is complete, wait for switch displays
status information.
wait for switch may be most helpful
when used in scripts.
Permissions
wait for switch requires “sa” permission.