You can mark databases, tables, and functions for replication using sp_reptostandby, sp_setreptable, and sp_setrepproc.
See the Replication Server Heterogeneous Replication Guide for non-ASE data servers.
When the database is marked by sp_reptostandby:
The RepAgent configuration parameter send warm standby xacts must be true.
User-defined stored procedures are not replicated unless they are marked individually using sp_setrepproc.
RepAgent sends DDL, system procedures, and transactions to the Replication Server. A database replication definition can filter them out at the Replication Server.
And you use table replication definitions and table subscriptions, you can send table data to both replicate databases and warm standby databases by setting the database connection parameter rep_as_standby on.
When the database is not marked by sp_reptostandby, DDL is not replicated for the marked tables and functions.
Table 12-1 summarizes how data is replicated.
Data marked by |
Table and function subscriptions only |
Database subscription only |
Table, function, and database subscriptions coexist |
---|---|---|---|
sp_setreptable and sp_setrepproc |
|
|
|
sp_reptostandby |
|
|
|
sp_setreptable, sp_setrepproc, and sp_reptostandby |
|
|
|