Closes the route to another Replication Server.
drop route to SYDNEY_RS
drop route to RS_LON with primary at NY_DS.pdb1 go
drop route closes the route from the Replication Server where it is entered to the specified Replication Server.
You must drop the dedicated route before you drop a shared route.
After you drop a dedicated route, transactions from the specified primary connection to the destination Replication Server go though the shared route.
See Replication Server Administration Guide Volume 2 > Performance Tuning > Multi-Path Replication > Dedicated Routes.
For example, in this figure, route I-1 is an indirect route from the primary Replication Server (PRS) to the replicate Replication Server (RRS) via the intermediate Replication Server (IRS). It uses direct routes D-1 and D-2.
Before you can drop direct route D-2, you must drop all subscriptions at the replicate Replication Server for replication definitions at the primary or intermediate Replication Server, then drop indirect route I-1.
The clause forces Replication Server to drop a route even if the route contains transactions in the outbound queue of the route. As a result, Replication Server may discard some transactions from the primary connections. The clause instructs Replication Server to drop the dedicated route even if the route cannot communicate with the destination Replication Server.
After you use the with nowait clause, use the sysadmin purge_route_at_replicate command to remove all references to a primary Replication Server such as subscriptions and route information, from the system tables at the replicate Replication Server.
After dropping a route using with nowait, you can use sysadmin purge_route_at_replicate at the (former) destination site to remove subscriptions and route information from the system tables at the destination.
If the Replication Server from which the route is to be dropped is an intermediate site for another Replication Server, the route cannot be dropped. See the Replication Server Administration Guide Volume 1 for more information.